Commit Graph

563 Commits (c2408eddce1f7ebba8114b61cc5f66561305ec6d)

Author SHA1 Message Date
jMyles edba3a336d Using to_canonical_address instead of unhexlify. 2018-06-23 14:33:46 -07:00
jMyles cced06514d Catching tests up with federated logic. 2018-06-22 20:28:08 -07:00
jMyles fb8747274a Totally new logic for test_grant for federated case. 2018-06-22 20:27:43 -07:00
jMyles 742a00e799 Deprecating testerchain in favor of three_agents. Using three_agents in ursulas fixture. This fixture now returns a set. 2018-06-22 20:27:15 -07:00
jMyles 2d9d25ab8a Using token airdrop and dropping MockTokenAgent. 2018-06-22 20:23:18 -07:00
jMyles 766acca7bf known_nodes is now private _known_nodes. 2018-06-22 20:18:06 -07:00
jMyles e7375e0d98 Removing is_federated and using federated_only instead. 2018-06-22 20:18:06 -07:00
jMyles b2e5d9958e Evolved tests and fixtures. Mocking some blockchain logic and discovered Ursulas with learning loop. 2018-06-22 20:18:06 -07:00
jMyles 6e3814cee2 token_airdrop as a utility function. 2018-06-22 20:17:57 -07:00
jMyles 6b0e3cf92d We don't even use MockTokenAgent anymore. 2018-06-20 14:57:29 -07:00
szotov 944a9db66b Added constant for policy id length, fixed descriptions of some methods 2018-06-20 10:14:25 -07:00
szotov f6736da2bf Reduces size of variables in contracts 2018-06-20 10:13:47 -07:00
szotov e0139897db Improved the sample method in MinersEscrow and in agent. Some refactoring 2018-06-20 10:13:47 -07:00
szotov 2999110c16 Removes minerIds and datastore 2018-06-20 10:13:44 -07:00
jMyles e4253b6c5d Including Ursula ether address as part of public information. 2018-06-20 10:13:26 -07:00
jMyles 36b86eb6bb Implementing InterfaceInfo. 2018-06-20 10:13:26 -07:00
jMyles 0c7646fa94 Working known_nodes into fixtures and tests. 2018-06-20 10:13:26 -07:00
Kieran R Prasch bdbef9b0d6 Deprecate node contract datastore client methods 2018-06-20 10:13:26 -07:00
szotov eccef48005 Fixes stake division for the actors and agents 2018-06-20 10:12:50 -07:00
szotov 8595355d41 Using index of stake in the divideStake method in the contract 2018-06-20 10:12:50 -07:00
Kieran Prasch 9981847bd6 draft miner divide stake public method 2018-06-20 10:12:50 -07:00
Kieran Prasch 57975f71f5 Keep tests up-to-date; Create convention for test accounts, adds miners fixture, use properties and injected deployer_addresses. 2018-06-20 10:12:50 -07:00
Kieran Prasch c75425615f Fixes miner entity test failure, multi-path fixture resolution issues 2018-06-20 10:12:50 -07:00
Kieran Prasch 1133faa215 Update node contract datastore tests 2018-06-20 10:12:50 -07:00
Kieran Prasch 27ffc557ad Updates tests and utilities with blockchain-representable characters 2018-06-20 10:12:50 -07:00
Kieran Prasch c442d1cd95 Make miner contract datastore methods private 2018-06-20 10:12:50 -07:00
Kieran Prasch 7a35c4b24b Hack together MockRestMiddleware, temp fix until implementing node learning. 2018-06-20 10:12:50 -07:00
Kieran Prasch c1857847d2 Update actor tests with testerchain renaming. 2018-06-20 10:12:50 -07:00
Kieran Prasch 616a3001bb Update miner contract datastore tests with caching ability 2018-06-20 10:12:50 -07:00
Kieran Prasch db5856f932 Lazify reading the miners contract datastore with a cached iterator. 2018-06-20 10:12:50 -07:00
Kieran Prasch 31f07e9ba7 Subclass UmbralPrivate key, Use Umbral keys to make test accounts. 2018-06-20 10:12:50 -07:00
Kieran Prasch 820f41bdc0 Blockchain make arrangement lock periods, and consideration 2018-06-20 10:12:50 -07:00
Kieran Prasch 4af2037bbf Decouple blockchain operations, expand Policy and Arrangement types. 2018-06-20 10:12:47 -07:00
Kieran Prasch e2eb556e10 Middleware -> RestMiddleware 2018-06-20 10:12:27 -07:00
Kieran Prasch 94d94d3407 Additional deprecation of alice DHT usage. 2018-06-20 10:12:27 -07:00
jMyles 00d0e64c7e Goodbye nucypher_test_config. 2018-06-20 10:12:26 -07:00
jMyles 196e2bc0da ArrangementResponse never really made sense. 2018-06-20 10:12:26 -07:00
jMyles a02a252d3d Style fixes. 2018-06-20 10:12:26 -07:00
Kieran Prasch e37de07ec0 Begins deprecation of alice publishing Tmap to DHT; Post rebase cleanup. 2018-06-20 10:12:00 -07:00
Kieran Prasch 44952cd636 Introduces blockchain network elemtns to higher-level character tests; Additional high level blockchain setup fixtures. 2018-06-20 10:12:00 -07:00
Kieran Prasch 078d39df88 Update entity tests and utils to testerchain.interface api 2018-06-20 10:12:00 -07:00
Kieran Prasch 8a65ca14f2 Deprecated compadability fixtures, updates contract tests to testechain.interface api 2018-06-20 10:12:00 -07:00
Kieran Prasch 550a8cc1d7 Refactor Policy and Arrangement methods to play nice with the blockchain client; Remove fake blockchain client 2018-06-20 10:11:58 -07:00
Kieran Prasch 7891588fd0 Keep tests up-to-date; Create airdrop and deploy fixtures; Fix additional stray imports 2018-06-20 10:11:34 -07:00
Kieran Prasch 0f9ddb9763 NucypherConfig actor entry point; Use remaining miner/token constants with sorrow. 2018-06-20 10:11:34 -07:00
Kieran Prasch ff17d1fedb Further integrate TokenActors and Characters with co-op scheme 2018-06-20 10:11:34 -07:00
Kieran Prasch 6e751f6775 Renames(mostly) NetworkyStuff to NetworkMiddleware. 2018-06-20 10:11:28 -07:00
Kieran Prasch 45bf82b033 Removes stale verify corectness params in character tests. 2018-06-19 15:35:36 -07:00
Kieran R Prasch 0117564b4d Add parallelism to contract test steps with circleci cli 2018-06-19 12:04:48 -07:00
Kieran R Prasch 06f7b31fcd Subdivide contract tests; Add parallel step circleci contract workflow 2018-06-17 15:30:16 -07:00