Commit Graph

230 Commits (41064ce194c18803fd9b0aba1547a502be048f0a)

Author SHA1 Message Date
David Núñez 31a40ab86c Deploy Adjudicator and instantiate AdjudicatorAgent singleton in agency fixture 2019-07-04 11:23:51 +02:00
David Núñez 3cdeba3c0b First stub of non-staking staker and worker fixtures. Closes #1035 2019-07-04 11:23:50 +02:00
David Núñez 28eb4a16f1 Use blockchain_ursulas in test_adjudicator 2019-07-04 11:23:50 +02:00
David Núñez 1fbd679ff7 Include Ursula's identity evidence in WorkOrder and Evidence for slashing 2019-07-04 11:23:50 +02:00
Kieran Prasch 46e424d49d Pretending to consume BlockchainPower in actor and agent tests. 2019-07-04 11:23:50 +02:00
Kieran Prasch 68b8a2735d Returning to a single-account BlockchainPower;TODO annotations for BlockchainPower. 2019-07-04 11:23:50 +02:00
Damon C aebac62dd8 remove most other direct blockchain.w3 references 2019-07-04 11:23:50 +02:00
Kieran Prasch cd9b2366c8 Blockchain -> BlockchainInterface 2019-07-04 11:23:50 +02:00
Kieran Prasch 91bc12e06b Routes calls to .transact() through Blockchain via composed BlockchainPower (soon to be TransactingPower). 2019-07-04 11:23:50 +02:00
Kieran Prasch 963edebd74 Refinements for Testerchain, Integration with Capitalism, Touch-ups. 2019-07-04 11:23:50 +02:00
Kieran Prasch 1a2dabd095 Use Condensed Blockchain API in tests. credit to @vepkenez. 2019-07-04 11:23:50 +02:00
Kieran Prasch 8ec8c40727 Optimize StakeTracker read operations, Handle stake tracker as part of UrsulaConfifguration.dynamic_payload 2019-07-04 11:23:49 +02:00
Kieran Prasch 75cd104c59 Extract StakeTracker from Worker/Staker 2019-07-04 11:23:49 +02:00
David Núñez 21bb66d0c3 Fix all network tests and almost all character tests. 2019-07-04 11:23:49 +02:00
David Núñez e1df9a7d1b Use stakers fixture in test_token_and_stake 2019-07-04 11:23:49 +02:00
David Núñez a6e839dfee New stakers fixture, consistent with blockchain_ursulas 2019-07-04 11:22:39 +02:00
Kieran Prasch b7012f607f NodeConfiguration -> CharacterConfiguration 2019-07-04 11:22:38 +02:00
Kieran Prasch 568420a9c6 Refinine NodeConfiguration to handle only common parameters; Dehydration and reorg. Optimize character config production file I/O. 2019-07-04 11:22:38 +02:00
Kieran Prasch d888c60607 Adds BaseConfiguration and Ursula standard configurations tests; Style touchups, Preserving 'checksum_address'. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 877833aaf3 Understand Staker and Staking to be separate ideas. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 3a80eec247 Goodbye, Three Agents. Hello, Agency. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 5551ce950c MinerEscrow -> StakingEscrow, and MiningAdjudicator -> Adjudicator in agency, and in-test 2019-07-04 11:22:38 +02:00
jMyles 189a87399c Resetting side channel between two of the tests. 2019-07-03 16:55:12 -07:00
jMyles afe26661d5 Adding message number to side channel flow. 2019-07-03 13:51:58 -07:00
jMyles ca68ad6e97 Our capsule side channel now tracks past messages. 2019-06-28 20:10:21 -07:00
K Prasch d743e3b791
Respond to RFCs in PR #984; Apply suggestions from code review
Co-Authored-By: David Núñez <david@nucypher.com>
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
2019-06-08 14:32:35 -07:00
Kieran Prasch f90cc4542e
Testing decentralized grant, Adds missing datetime to policy creation tests. 2019-06-08 14:26:05 -07:00
Kieran Prasch 6097c83eb7
Almost all of checksum_public_address -> checksum_address 2019-06-08 14:25:35 -07:00
Kieran Prasch 4a7a881d3e
Realize the Agency metaclass 2019-06-08 14:25:26 -07:00
Kieran R. Prasch 0574cfd908
Ensure alice and bob remember the manually controlled non-staking node in reward integration cli test. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch eca834c00a
Handle non-staking Ursula in-tests; Annotations for failing tests, Make Ursula display name a class attr 2019-06-03 22:52:22 +03:00
Kieran R. Prasch e74ba944f8
Handle geth --dev process as a fixture to stop when finished. Additional test bug fixes, found missing assertions. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 2903c6d3e7
Adjust tests to accomodate new eip 191 and on-chain staking checks. 2019-06-03 22:52:22 +03:00
tuxxy 94f273d70c
Add missing import from rebase 2019-06-03 22:52:22 +03:00
Kieran R. Prasch c7d6696bce
Be a little more gentle with domain-based seeding (Ursulas); Skip and modifiy tests (needs follow-up) 2019-06-03 22:51:37 +03:00
Kieran Prasch 75daa85c20
Picking up the pieces- new --sync/--no-sync deploy flag, dehydrate deployment tests. 2019-06-03 22:50:40 +03:00
Kieran Prasch 6ee4e5fb7a
Another pass on handling published registry fetching. Found ancient stubs! 2019-06-03 22:50:40 +03:00
Kieran Prasch ba996f5d0c
Alter CLI deply tests to tests geth provder, First pass. 2019-06-03 22:50:40 +03:00
Kieran Prasch 577c0c7f8c
Add a fourth deployment threee agents fixture, move secret hash kwarg in fixtures to lazy position. 2019-06-03 22:50:40 +03:00
David Núñez 66aaf328c4 mock_ursula_reencrypts as as global fixture 2019-05-16 16:12:08 +02:00
David Núñez 19d3a8cf14 Touchups to some blockchain-related fixtures 2019-05-16 16:07:34 +02:00
David Núñez 7684bb103c Constructs funded_blockchain fixture from testerchain fixture
Gets rid of deployed_blockchain fixture
2019-05-16 16:07:33 +02:00
David Núñez a11d12a494 Move some local fixtures from CLI blockchain ursula to global fixtures 2019-05-16 16:07:33 +02:00
David Núñez 361c068aad Slashing economics fixture 2019-05-16 16:07:33 +02:00
Kieran Prasch 42a1495047
Handling failed deployment transactions 2019-04-22 23:18:51 +03:00
Kieran Prasch 270c56dcc4
CLI deployment adjustments and post-rebase cleanup. 2019-04-22 23:18:51 +03:00
Kieran Prasch 00eaba0d00
Keep economic coefficients as decimal until explictly cast 2019-04-22 23:18:51 +03:00
Kieran Prasch 2d943e6afb
Refactor stake as a self-validating insnatce; Introduce token economincs via dep. injection throughout tests and blockchain API. 2019-04-22 23:18:49 +03:00
David Núñez 41f60099d3 Use TesterBlockchain's test accounts 2019-04-12 07:52:15 +02:00
David Núñez 01c466554a Don't use TesterBlockchain.ether_airdrop if it's already funded or can be done in the constructor 2019-04-12 07:52:15 +02:00