Commit Graph

274 Commits (2e21c26b18a1019cfe6a63a05ac53aa015b47791)

Author SHA1 Message Date
Kieran R. Prasch 57df8069a4 use random worker private key in manual worker fixture; remove stale script. 2019-12-03 21:05:25 -08:00
Kieran R. Prasch aa2c6b191e Fixes #1343 - Move StakeHolder to blockchain Actors. 2019-12-02 18:28:02 -08:00
Kieran R. Prasch 6105ffe235 Accommodate inter-test-module transacting power unlocking where needed (eth-test =>0.3.0b0). 2019-11-25 13:32:04 -08:00
David Núñez 377eb0dcf9 Test IndividualAllocationRegistry. Fix some broken stuff. 2019-10-19 23:59:37 +02:00
szotov dd0be915c4 Rename UserEscrow in python 2019-10-19 22:48:47 +02:00
Michael Egorov f365c82627
Blockchainy RPC tests pass 2019-10-01 12:14:38 -07:00
Michael Egorov 1c5b579ef0
ursulas -> handpicked_ursulas 2019-10-01 12:14:38 -07:00
Michael Egorov baf964e83e
Test started being fixed (unfinished yet) 2019-10-01 12:14:38 -07:00
szotov 390bf0ba46 Remove unused import 2019-09-18 18:23:06 +03:00
szotov 800876638f Reset chain using block hash 2019-09-15 18:22:27 +03:00
szotov f58eb7a090 Monkey patch to prevent gas estimates 2019-09-12 11:09:00 +03:00
szotov c0a4f976c6 Reset state in testerchain 2019-09-12 11:08:59 +03:00
David Núñez 7b8b31df22 Getting rid of old `session_agency` fixture. Use `agency` instead. 2019-09-10 22:14:29 +02:00
David Núñez 812349ffd5 Reduce probability of skewed stake distribution in stakers fixture 2019-09-10 22:14:29 +02:00
Kieran Prasch 3b3c2f2f1c
Respond to RFCs in PR #1157 Pt. II. 2019-09-10 12:35:51 -07:00
Kieran R. Prasch fa3285a310
Use session-based deployment secrets for testing upgrades; Adjustments for ownership CLI tests. 2019-09-09 14:51:11 -07:00
Kieran R. Prasch 562e5c6b2d
Working ownership inspection and status commands. 2019-09-09 14:50:46 -07:00
Kieran Prasch f210ce0688
Details nucypher status output; Passing nucypher transfer-ownership tests; Deploy UserEscrowProxy in agency fixture. 2019-09-09 14:50:44 -07:00
Kieran R. Prasch 6bdfc6c331 Re-implements some ursula mocking via pytest-mock spy. 2019-09-06 11:59:01 +02:00
szotov e9d2b1f3c7 Combine TokenEconomics and SlashingEconomics 2019-09-04 13:24:02 +03:00
szotov a36bf80dc8 Fix after rebasing 2019-09-04 13:24:02 +03:00
szotov 44717dcca6 Split TokenEconomics into two classes 2019-09-04 13:24:01 +03:00
Kieran R. Prasch 64d40a7f80 Whoops! Restores 'address' and respectively 2019-08-27 09:56:41 -07:00
szotov 72f8b49501 Monkey patch to prevent gas adjustment in tests 2019-08-27 09:56:41 -07:00
Kieran Prasch 58f34dac7b Checkpoint #4 - Fixes policy sampling bugs - continue reflow fixes. 2019-08-27 09:56:41 -07:00
Kieran Prasch 2a299aaca1 Checkpoint #3 - Reflow StakeHolder, Stake and Wallet Management. 2019-08-27 09:56:36 -07:00
Kieran Prasch 324c2805f5 Checkpoint #2 - Refactor Policy, and Blockchain / Registry Reflow. 2019-08-27 09:54:14 -07:00
Kieran Prasch 69aea3f725 Checkpoint: Refactors lifecycle of Blockchain and Registry. 2019-08-27 09:54:13 -07:00
David Núñez 88c6309369 Add a log entry during tests to mark begin and end of each test 2019-08-04 02:41:04 +02:00
David Núñez 031ba817f1 Setting download_registry=False in test fixtures 2019-08-03 21:49:01 +02:00
David Núñez 8dcf5a799d
Remove second stamp substantiation. Fix #1091 2019-07-29 11:27:14 -07:00
Kieran Prasch c4f14cb1f0
Deprecates funding account and account creation options. Touch up stake CLI. 2019-07-25 15:18:29 -07:00
Kieran Prasch 1b3e3e45e5
Respond to RFCs in PR #1111: Remove deployment transaction gas limit. 2019-07-25 15:18:29 -07:00
David Núñez 2d383ba41c
Once per module, session_testerchain restores balance of accounts, at expense of coinbase ¯\_(ツ)_/¯ 2019-07-25 15:18:29 -07:00
David Núñez 1e431741e3
Reusable, session-scoped testerchain PoC: Deployers test time down 37% 2019-07-25 15:18:29 -07:00
Kieran Prasch f947e6f747
Extracts manual staker and worker fixtures, Fixes incorrect address in to/from UrsulaConfiguration; Attempting to fix reward collection CLI integration tests. 2019-07-25 15:18:29 -07:00
Kieran Prasch 4b9b5f0559
Respond to RFCs in PR #1056; Test and CLI touch-ups. 2019-07-25 15:18:29 -07:00
Kieran Prasch 2e70aebd01
Bug Fix: Functional inflation reward collection; Refactors internal stakeholder stake tracking 2019-07-25 15:18:29 -07:00
Kieran Prasch 2e26f5753f
Respond to further RFCs in PR #1092.
Apply suggestions from code review

Co-Authored-By: David Núñez <david@nucypher.com>
2019-07-15 12:21:12 -07:00
Kieran Prasch 118262a9f4
Make accomodations for geth managed wallets (#1117) in TransactingPower. 2019-07-15 12:06:44 -07:00
Kieran Prasch f1cabadd8c
Improves TransactingPower unit and integration test coverage + Adjustments and touch ups to suit. 2019-07-15 12:06:44 -07:00
Kieran Prasch 688572d5d3
Allows CLI-made characters to connect their blockchain interface through consuming the TransactingPower. 2019-07-15 12:06:44 -07:00
Kieran Prasch e9a3fe7878
Powerups can be 'activated' - Returning to a single-account-based TransactingPower. 2019-07-15 12:06:44 -07:00
David Núñez afbcff6b04 Introduce make_ursula_for_staker test utility, instead of activate_idle_staker fixture 2019-07-04 11:23:51 +02:00
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