Commit Graph

150 Commits (9bacbab86ce61deaa1390b59c5ffb07917a81482)

Author SHA1 Message Date
Kieran Prasch 9bacbab86c [KMS-ETH]- Extend token lanuch/fetch test with newer api and a more narrative format. 2018-03-27 14:32:37 -07:00
Kieran Prasch ed1f99b011 [KMS-ETH]- Policy author can "make arrangement", and balance method. Privatize contract references. Updates tests to match newer Miner and Escrow API (with fewer requirements). 2018-03-27 14:32:22 -07:00
Kieran Prasch ea32e07282 [KMS-ETH]- Reduces number of injected objects to instantiate contract wrapper types, Fixes miner withdraw bug. 2018-03-27 14:31:13 -07:00
Kieran Prasch 5cce0407a1 [KMS-ETH]- Policy and PolicyManager classes for alice/ursula client. reward collection via policy. Better names for transaction hashes. 2018-03-27 14:28:39 -07:00
Kieran Prasch e33b6e8154 [KMS-ETH]- Enhances the singleton pattern for blockchain, adding a way to retrieve the instance. 2018-03-27 14:27:42 -07:00
Kieran Prasch 2e74fc000a [KMS-ETH]- Moves transient chain class to new test utils module. Renames DHT keys to Miner ID, and small bug fixes. 2018-03-27 14:27:22 -07:00
szotov 0abd5ce739 [KMS-ETH]- Fixed PolicyManager to work with Dispatcher, added some tests 2018-03-27 16:22:20 +03:00
szotov 84ee02359a [KMS-ETH]- Merge branch 'master' into upgradeable-contracts 2018-03-26 22:48:42 +03:00
szotov e7d48a505e [KMS-ETH]- Added MinersEscrow upgrading tests 2018-03-24 19:07:20 +03:00
szotov 852198b0aa [KMS-ETH]- Issuer and MinersEscrow were inherited from Upgradeable, refactored MinersEscrow to fit the max bytecode size 2018-03-24 13:47:30 +03:00
szotov c01531b459 [KMS-ETH]- Added PolicyManger upgrading tests 2018-03-20 13:17:04 +03:00
Michael Egorov 57be14b20d [KMS-ETH]- Installation script improvements:
* No need for root access unless need to install system-wide deps;
* Setting the environment goes to activate script of pipenv;

Ethereum gas estimator made executable
2018-03-18 17:46:48 -07:00
szotov 270ab83565 [KMS-ETH]- Merge branch 'master' into upgradeable-contracts 2018-03-17 18:23:33 +03:00
szotov 08c5310a2c [KMS-ETH]- Added handling multiple nodes in one policy 2018-03-16 21:44:20 +03:00
szotov 459bdd7c27 [KMS-ETH]- Fixed high gas consumption in PolicyManager 2018-03-10 16:04:11 +03:00
szotov acb6741170 [KMS-ETH]- Added verifyState and finishUpgrade methods to PolicyManager 2018-03-07 11:31:55 +03:00
szotov e648143d9c [KMS-ETH]- Added events for contracts and tests for them 2018-03-06 13:14:26 +03:00
szotov dec362fda7 [KMS-ETH]- Fixed bugs and tests with 32 bytes miner id 2018-03-02 20:49:42 +03:00
szotov 67366ce685 [KMS-ETH]- Merge remote-tracking branch 'remotes/origin/master' into timePeriod
Fixed conflicts in scripts/estimate_gas_tester.py
2018-03-02 20:10:49 +03:00
K Prasch 61d0948c01 [KMS-ETH]- Merge pull request #6 from KPrasch/python_api
Python types for NuCypher crypto-entities.
2018-03-02 07:51:25 -08:00
szotov fc5ad0d03f [KMS-ETH]- Forgotten contracts 2018-03-02 15:19:57 +03:00
szotov 164b4e1c77 [KMS-ETH]- Updated zeppelin-solidity libraries, updated solidity code for v0.4.20, fixed small bugs 2018-03-02 15:17:25 +03:00
Kieran Prasch 1d0efeabef [KMS-ETH]- Code review updates with @jMyles; Additional commentary. 2018-03-01 21:16:36 -08:00
Kieran Prasch 571be97d22 [KMS-ETH]- Revert ursula flow to depiction. 2018-03-01 19:26:41 -08:00
Kieran Prasch 5874a43d37 [KMS-ETH]- Resolves conflict by moving and renaming installation scripts. 2018-03-01 19:02:38 -08:00
szotov d8996c37ef [KMS-ETH]- Fixed error with solc v0.4.20 2018-02-28 17:15:04 +03:00
Kieran Prasch a22c4f14b0 [KMS-ETH]- Responds to request for changes: Deprecates threadlocal blockchains, better docstrings and names. 2018-02-27 19:10:53 -08:00
Kieran Prasch 4a71c70b45 [KMS-ETH]- Moves populus config logic to external module and class. 2018-02-27 19:10:10 -08:00
Kieran Prasch bc74ac3f33 [KMS-ETH]- Rollback solidity version. 2018-02-27 19:09:15 -08:00
szotov d611a07690 [KMS-ETH]- Changed payment by ETH in PolicyManager, DHT key was renamed to miner id 2018-02-27 15:50:41 +03:00
Kieran Prasch 4365d8f0e3 [KMS-ETH]- Updates Solidity release version number for install script. 2018-02-26 19:17:28 -08:00
Kieran Prasch a1da20d9f3 [KMS-ETH]- Adds get_swarm method to fetch all miners with an iterator via smart contracts calls. 2018-02-26 19:12:24 -08:00
Kieran Prasch 7f58536a2b [KMS-ETH]- Merge commit '43a781c9ba955cd8404efddd3a19302374b0af13' into python_api_dev 2018-02-25 12:01:34 -08:00
Kieran Prasch 110b071ca2 [KMS-ETH]- Miner methods for DHT management and miner/escrow balance. Names some transaction hashes. 2018-02-24 21:50:06 -08:00
Kieran Prasch bc534c6eff [KMS-ETH]- Test coverage for Miner DHT key publication and retrieval 2018-02-24 21:49:45 -08:00
Kieran Prasch a63bea7091 [KMS-ETH]- Update python crypto entity mining coefficients. 2018-02-24 15:58:12 -08:00
Kieran Prasch 3608b27024 [KMS-ETH]- Reintroduce class based python interface, post-rebase. 2018-02-24 15:57:04 -08:00
Kieran Prasch 234bd5e62e [KMS-ETH]- Organize tests into submodules, reintroduce contract tests from @szotov, modify fixtures. 2018-02-24 15:56:06 -08:00
Kieran Prasch 7a4eef3f27 [KMS-ETH]- Removes stale test modules. 2018-02-24 15:48:18 -08:00
Kieran Prasch 9d9078b090 [KMS-ETH]- Updates tests with contract arm and deploy logic. 2018-02-24 12:52:07 -08:00
Kieran Prasch 1bbe6d0f8e [KMS-ETH]- Miner class and methods, imagined as an Ursula mixin class. 2018-02-24 12:51:40 -08:00
Kieran Prasch 56bc161ad1 [KMS-ETH]- Escrow in-memory miner tracking logic. 2018-02-24 12:50:55 -08:00
Kieran R Prasch a68221a87c [KMS-ETH]- Updates example scripts, code reorg. 2018-02-24 12:49:58 -08:00
Kieran R Prasch 7e5300399a [KMS-ETH]- Transaction timeout via token.transact(); Updates example scripts. 2018-02-24 12:49:24 -08:00
Kieran R Prasch 511812d2ed [KMS-ETH]- Fixes ursula selection; modifies wait_time blockchain method and it's test. 2018-02-24 12:48:04 -08:00
Kieran R Prasch 81c3ab00a6 [KMS-ETH]- Type hints, additional methods to cryptoentities, Smart contract testing. 2018-02-24 12:47:13 -08:00
Kieran R Prasch a147bcc39f [KMS-ETH]- Adds wait_time and unlock methods to blockchain, modifies tests to follow. 2018-02-24 12:46:19 -08:00
Kieran R Prasch fc70e9009d [KMS-ETH]- Methods for python crypto-entities, policy contract tests. 2018-02-24 12:45:49 -08:00
Kieran R Prasch b2ce78ecf4 [KMS-ETH]- Blockchain remains open; deprecates context manager usage for blockchain instances. 2018-02-24 12:45:19 -08:00
Kieran R Prasch 32660a6108 [KMS-ETH]- Adds populus project test, additional readability adjustments. 2018-02-24 12:44:55 -08:00