Commit Graph

5182 Commits (92a7be805ad6425f748ac6864bb97aeb1847c4ea)

Author SHA1 Message Date
jMyles 92a7be805a Passing Ursula class through instead of importing. 2020-01-08 16:43:39 -08:00
jMyles 0c962902e6 Splitting parsing logic from discovery logic. 2020-01-08 16:43:39 -08:00
jMyles c64d09dd12 Switching eager remembering to False by default, but keeping eager for known_nodes to preserve current behavior for the moment. See #1449. 2020-01-08 16:43:39 -08:00
jMyles bc6950dd8f Better tracking of mock verifications. 2020-01-08 16:43:39 -08:00
jMyles 153c9ceea8 More eagerness controls. 2020-01-08 16:43:39 -08:00
jMyles 0555018ff1 Test showing #1450. 2020-01-08 16:43:39 -08:00
jMyles cd29869ac4 Crazy web of patches. These are the minimum mocks required to produce 5000 Ursulas in the timeframe required for a test. 2020-01-08 16:43:39 -08:00
jMyles d329b98293 A fast mock public key. 2020-01-08 16:43:39 -08:00
jMyles 0d532cefb2 A new mock middleware client with a slightly deeper mock of node metadata transmission. 2020-01-08 16:43:39 -08:00
jMyles 7cfe32fa4c Using separated known_nodes bytestring. 2020-01-08 16:43:39 -08:00
jMyles 5a563999c6 Separating construction of bytestring of all known nodes so that it can be used more easily in tests. 2020-01-08 16:43:39 -08:00
jMyles 6a336aecbd Insane monkey patching block. This is how you make several thousand Ursulas in a test. 2020-01-08 16:43:39 -08:00
jMyles a6d3e5841f Need a way to pause all logging for massive Ursula tests. 2020-01-08 16:43:39 -08:00
David Núñez 946282da4d
Merge pull request #1538 from cygnusv/amaranta
Dehydrate PreallocationEscrow deployment
2020-01-04 23:31:55 +00:00
David Núñez 49219169e9 Address RFCs to #1538: add some @validate_checksum_address decorators 2020-01-05 00:16:37 +01:00
David Núñez 966d5d4862 Correct description of calldata layout in receiveApproval() 2020-01-03 12:13:53 +01:00
David Núñez ebb58ae48d Enter the Sidekick: assisting ContractAdministrator to deploy preallocation contracts 2020-01-03 12:13:53 +01:00
David Núñez 8565789f57 ContractAdministrator regains fine-grain control over preallocation deployment steps 2020-01-03 12:13:53 +01:00
David Núñez 37558d0264 Change order of PreallocationEscrow's deployment steps 2020-01-03 12:13:53 +01:00
David Núñez 4e8caac910 Use approveAndCall also when creating a stake in StakingEscrow
* Reduces stake creation to a single TX
2020-01-03 12:13:53 +01:00
David Núñez 187fba171d Remove one deployment step of PreallocationEscrow, using approveAndCall 2020-01-03 12:13:53 +01:00
David Núñez a1a3ea5b90 Detailed documentation of calldata memory structure 2020-01-03 12:13:53 +01:00
vzotova d1cb098d1e receiveApproval method for PreallocationEscrow 2020-01-03 12:13:53 +01:00
K Prasch f3ad49f1b7
Merge pull request #1552 from derekpierre/garnish-rfc
Modify allowed value range for divide cli prompt
2020-01-02 14:53:52 -08:00
derekpierre e3e9f17791 Modify allowed value range for divide cli prompt 2020-01-02 16:50:24 -05:00
K Prasch a00e0d4810
Merge pull request #1536 from KPrasch/garnish
Improves Staking UX via CLI; Many Bug Fixes
2020-01-02 12:57:35 -08:00
Kieran R. Prasch 88386c91f9 Respond to RFCs in PR #1536 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 48a347ade9 ensure --force allows set-worker withput a prompt 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 8cf8397726 Adjustments to config tests to loosen up a little and allow for config versioning to be seperately tested. 2020-01-02 12:41:44 -08:00
Kieran R. Prasch f501f6dedb Remove stale password assertions (UX no longer requires auth for 'view') 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 04072d7ce0 Implements basic log file rotation to curb excessive log file generation. 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 4324618128 Disable hardcoded seednodes in conftest. 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 20146e152b Fixes #1260 - Add enforced versioning to configuration files. 2020-01-02 12:41:44 -08:00
Kieran R. Prasch abb462f69a Use maximum stake value and duration as defaults. Refine interactive stake limits. Further CLI detailing for UX liveliness 2020-01-02 12:41:44 -08:00
Kieran R. Prasch f2aac32023 Fixes #835 - Staged stake consistency check - verify action occours within the same period it started. 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 69cfbe7327 Adds header and labels to interactive client account selection 2020-01-02 12:41:44 -08:00
Kieran R. Prasch b1436a3596 Fixes #1154 - Do not present indivisible stakes to the stakeholder for division via CLI. 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 17746b76b2 Fixes #1233; Also Prevent loading of teacher via CLI commands that do not require it. 2020-01-02 12:41:42 -08:00
Kieran R. Prasch 84db4d3af1 Do not interactively collect staker address during worker init CLI actions. 2020-01-02 12:38:21 -08:00
Kieran R. Prasch 45e5a6341f Allow __eq__ to default definition on Stakes. 2020-01-02 12:38:21 -08:00
Kieran R. Prasch 2fe76ea53a Fixes #1243, #859 - Use JSON dumps indentation to display the user config file contents as pretty JSON string; Do not require authentication to run nucypher ursula view. 2020-01-02 12:38:21 -08:00
Kieran R. Prasch 9a0efc4e12 Fixes #1231 - Reflect worker balances accurately (Not Staker's). 2020-01-02 12:38:21 -08:00
Kieran R. Prasch b4e6f3ca0d Fixes #1375 - Updates CLI painting of Stakes 2020-01-02 12:38:21 -08:00
Kieran R. Prasch a7dc409f65 Fixes #1270 - Shows min and max stake values when collecting them 2020-01-02 12:38:21 -08:00
Kieran R. Prasch 8af0c63a3a Do not show minimum password length if not confirming it. 2020-01-02 12:38:21 -08:00
David Núñez 37e0d22d61
Merge pull request #1542 from vzotova/re-stake-invert
Re-stake flag invert
2019-12-26 10:32:54 +00:00
vzotova 7b089dac11 Apply suggestions from code review #1542
Co-Authored-By: MacLane Wilkison <maclane@nucypher.com>
2019-12-26 13:21:13 +03:00
vzotova e66058530e Fixes #1349, enable re-staking by default 2019-12-26 13:21:12 +03:00
David Núñez 6269ad8619
Merge pull request #1407 from vzotova/new-worklock
WorkLock updates
2019-12-26 10:18:57 +00:00
vzotova 4f0a49ff4a Upgradeability test revision 2019-12-26 13:01:11 +03:00