Commit Graph

2118 Commits (3f3bfb3cba52947a0b01e7e89885a76ce0a6bbc3)

Author SHA1 Message Date
Harry Arjun Hassard 7ebd4cd316 CLI fail: the sequel 2020-05-14 12:33:50 -07:00
Harry Arjun Hassard c700986135 Applied suggestions from code review by @vzotova 2020-05-14 11:23:59 -07:00
Harry Arjun Hassard 8baba568ed global fee range & more edits for consistency 2020-05-13 23:03:27 -07:00
Harry Arjun Hassard dfb9e11a33 1st attempt at clarifying universal fee range and limited service-provider control over their acceptable fee rates 2020-05-13 17:56:33 -07:00
Victoria 7b7198ef79 Apply suggestions from code review #1959
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: MacLane S Wilkison <maclane@nucypher.com>
2020-05-13 23:09:50 +03:00
vzotova 66ac1acb1d Rename detach-worker -> unbond-worker 2020-05-13 20:21:53 +03:00
vzotova c228c388c3 Rename `set worker` to `bond worker` everywhere 2020-05-13 20:21:53 +03:00
vzotova 4a0b79b2ca StakingEscrow: confirmActivity -> commitToNextPeriod, lastActivePeriod -> lastCommittedPeriod 2020-05-13 20:21:52 +03:00
vzotova 28e41c4a21 StakingEscrow: workerToStaker -> stakerFromWorker 2020-05-13 20:21:52 +03:00
vzotova f62765ec97 Issuer: burn -> donate 2020-05-13 20:21:51 +03:00
vzotova 1834ad7569 Renamings: mine -> mint, lastMinedPeriod -> previousFeePeriod 2020-05-13 20:21:51 +03:00
vzotova 6039002408 Rename policy reward to policy fee 2020-05-13 20:21:51 +03:00
K Prasch 364620d900
Merge pull request #1884 from vzotova/two-phases
Two-phase issuance
2020-05-13 10:09:04 -07:00
Victoria 4364b213e7 Apply suggestions from code review #1884
Co-authored-by: MacLane S Wilkison <maclane@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
Co-authored-by: Arjun Hassard <arjunhassard@gmail.com>
Co-authored-by: derekpierre <derek.pierre@gmail.com>
2020-05-13 18:56:36 +03:00
Kieran Prasch bf75d33e3e
Respond to RFCs in PR #1949 2020-05-13 08:08:00 -07:00
Kieran Prasch e2a8ae2360
Respond to RFCs in PR #1949 2020-05-12 10:02:06 -07:00
vzotova a81f8b4edf Updates max allowed stake size in economics 2020-05-12 15:36:30 +03:00
vzotova 79ef05bbbb Fixes rest tests after changes in economics 2020-05-12 15:36:30 +03:00
vzotova 926f942961 Updated `token_supply_at_period` for two phases and fixed some tests
Co-Authored-By: Arjun Hassard <arjunhassard@gmail.com>
2020-05-12 15:36:29 +03:00
vzotova 5ddc2a60db Update list of constructor parameters in deployers and other places 2020-05-12 15:36:29 +03:00
vzotova 98e06c56c2 Update BaseEconomics and draft of StandardTokenEconomics with new two-phase model
Co-Authored-By: Arjun Hassard <arjunhassard@gmail.com>
2020-05-12 15:36:29 +03:00
vzotova c958b52570 Issuer: two-phase issuance 2020-05-12 15:36:28 +03:00
Kieran Prasch 90d4c6ae94 Control mock registry source for mock testerchain; Test touch ups. 2020-05-08 19:20:54 -07:00
Kieran Prasch c177d2dca1 Introduce mock interfaces module 2020-05-08 19:20:54 -07:00
Kieran Prasch 1b49236deb Handle registry source manager via mock testerchain 2020-05-08 19:20:54 -07:00
Kieran Prasch 066f778dda Restore allocation handling in fixtures 2020-05-08 19:20:54 -07:00
Kieran Prasch 0ac64930d9 Exert a bit more control over mock testerchain blocktime in worklock testing 2020-05-08 19:20:54 -07:00
Kieran Prasch e8fbd5956a Handle token economics and mock testerchain compadibility with the larger test suite as a whole. 2020-05-08 19:20:54 -07:00
Kieran R. Prasch ab3e588c1e Setup a mock section in sandbox constants 2020-05-08 19:20:54 -07:00
Kieran R. Prasch bc2564cd36 Reintroduce keystore cli test as an e2e integration via testerchain 2020-05-08 19:20:54 -07:00
Kieran R. Prasch 1164db20f4 Intro MockPolicyManagerAgent 2020-05-08 19:20:54 -07:00
Kieran R. Prasch a58af7daf3 Mock and functional-scoped test grouping (fixtures) 2020-05-08 19:20:54 -07:00
Kieran R. Prasch cab7b1dced Adjust eth tester client to handle the mock backend accounts as well as teserchain accounts. 2020-05-08 19:20:54 -07:00
Kieran Prasch d7f99e7a53 Introduce MockBlockchain; pytestfixture tweaks. 2020-05-08 19:20:54 -07:00
Kieran Prasch 7f67226fe3 Detailing worklock functionality test assertions with new agent mocking API 2020-05-08 19:20:54 -07:00
Kieran Prasch 83d847c4ab Tight spy based test on worklock bidding CLI 2020-05-08 19:20:54 -07:00
Kieran R. Prasch c8bf00cd69 Spy on mocked transactions and calls through mock agents 2020-05-08 19:20:54 -07:00
Kieran R. Prasch 6aec7c634d Mock at the ContractAgent level while preserving agent routing 2020-05-08 19:20:54 -07:00
Kieran Prasch 5c6f2a5e8c Transaction and call mocking scheme implmentation 2020-05-08 19:20:54 -07:00
Kieran Prasch 570e656a17 Complete example of mocking at the agent layer 2020-05-08 19:20:54 -07:00
Kieran Prasch 0c2f684d71 Neat layout for agent mocking and cli unit testing 2020-05-08 19:20:54 -07:00
Kieran R. Prasch cf1c40c919 Proof of Concept fast CLI test. 2020-05-08 19:20:54 -07:00
Kieran Prasch 923832b3c5 Hack and slash with mock web3 backend 2020-05-08 19:20:54 -07:00
Kieran Prasch 2c9467ad7f
Try harder to ensure mixed config tests start with no known nodes... 2020-05-08 18:08:31 -07:00
Kieran R. Prasch 83bfefc9a1
Use pathlib in test mixed configuration cli test 2020-05-08 15:29:40 -07:00
Kieran Prasch 31e3a1afbe
Fixes mixed configuration test innacuracy. 2020-05-08 14:02:04 -07:00
K Prasch 6e1ae2fe8f
Merge pull request #1964 from KPrasch/squash
Bug Fixes: WSS Provider, Keystore file Handling
2020-05-08 09:59:27 -07:00
David Núñez 9c152e68ec Improve preprocessing and code organization in Allocator 2020-05-08 01:07:48 +02:00
Kieran Prasch 8b6e932837
Adjust keyfile reader mock to reflect filesystem walking. 2020-05-07 10:51:30 -07:00
Kieran Prasch 20358ae9a2
Dont add test account twice in tests. 2020-05-07 10:10:34 -07:00