Commit Graph

349 Commits (32593b432cfbfd7c91dce9ab85a0a2e53df99348)

Author SHA1 Message Date
David Núñez ebb58ae48d Enter the Sidekick: assisting ContractAdministrator to deploy preallocation contracts 2020-01-03 12:13:53 +01:00
Kieran R. Prasch f501f6dedb Remove stale password assertions (UX no longer requires auth for 'view') 2020-01-02 12:41:44 -08:00
vzotova e66058530e Fixes #1349, enable re-staking by default 2019-12-26 13:21:12 +03:00
vzotova 686a977f43 Test flag for StakingEscrow in administrator class 2019-12-26 13:01:10 +03:00
vzotova 98185a99c4 Search using contract version, checking version while deployment 2019-12-24 19:01:04 +03:00
vzotova 24b7fc3539 Versioned contract class, contract version in registry, ability to remove parameters from constructor in deployers (overrides) 2019-12-24 19:01:04 +03:00
David Núñez 9b2d5d2fde Implement `nucypher stake preallocation` subactions as a click argument 2019-12-11 13:32:03 +01:00
David Núñez d3b961f9bd PreallocationEscrowAgent.available_balance returns the balance that can be collected, considering both locked and staked tokens 2019-12-11 13:32:02 +01:00
David Núñez 82b8dbd0d6 Test `nucypher stake preallocation --status` and `--withdraw-tokens` 2019-12-11 13:32:02 +01:00
David Núñez 428c7f2a0e TODOs and housekeeping 2019-12-11 13:27:08 +01:00
David Núñez fe11752e58 Introduce mock_transacting_power_activation fixture 2019-12-11 13:27:08 +01:00
David Núñez da7a572549 Adapt tests to new registry fetching; extract common fixture. 2019-12-11 13:27:08 +01:00
K Prasch e10bcf5647
Merge pull request #1493 from KPrasch/cadmium
Ensure all tests can run in a singe session; Docker adjustments
2019-12-10 00:41:41 -08:00
Kieran R. Prasch 40e5ed7934 Adds optional explicit allocation file output directory; Implement in tests. 2019-12-09 17:04:49 -08:00
Kieran R. Prasch b49636c25c Remove superfluous registry assertion, since it is variable, often in-memory. 2019-12-04 18:53:58 -08:00
Kieran R. Prasch 42ee86b4d2 Ensure fresh mock registry for each module test. 2019-12-04 18:53:05 -08:00
Kieran R. Prasch 5d267e4fa5 Remove test allocation files at the end of deployer tests involving preallocations. 2019-12-04 17:45:50 -08:00
Kieran R. Prasch e814cc464e Include min password length when asking for it. 2019-12-04 17:44:57 -08:00
derekpierre e3acb7788b Remove Moe CLI test. 2019-12-02 10:45:02 -05:00
derekpierre 83ca610c6a Initial separation of Moe crawler vs dashboard 2019-11-25 16:22:50 -08:00
Kieran R. Prasch fede665c49 Fixes for #1463. 2019-11-22 15:08:43 -08:00
vzotova 1dee796bbd Added marker for "light" client to blockchain interface, used "light" parameter for pagination, test for pagination 2019-11-19 16:12:37 +03:00
David Núñez e124fe50e6 Merge remote-tracking branch 'upstream/master' into biznaga
Fix conflicts in nucypher stake and nucypher-deploy
2019-10-22 22:53:23 +02:00
derekpierre e84f3b56a7 RFC changes based on reviews for PR 1417. 2019-10-21 09:27:23 -04:00
David Núñez 0a3683286d RFCs to PR #1402 2019-10-19 23:59:42 +02:00
David Núñez 09591a1a78 Simplify UX of CLI when staking via contract
* Remove --escrow flag
* No account selection; use individual allocation file or explicit addresses
2019-10-19 23:59:37 +02:00
David Núñez d363108661 Stake should be the locked tokens, not locked + rewards. Fix #1369 2019-10-19 23:59:36 +02:00
David Núñez d968cdd848 Add account selection to collect-reward. Complete tests for stake via contract. 2019-10-19 23:59:30 +02:00
David Núñez 8e2bb3e217 Don't use a ContractAdministrator for painting nucypher-deploy inspect 2019-10-19 22:54:24 +02:00
szotov d8621c17be Fixed tests after renaming 2019-10-19 22:48:47 +02:00
szotov dd0be915c4 Rename UserEscrow in python 2019-10-19 22:48:47 +02:00
David Núñez 3515dad296 Fixes to assorted comments: docs, tests, etc. 2019-10-19 22:48:47 +02:00
David Núñez 8433316b0d Better integration of registry when selecting accounts and logging 2019-10-19 22:48:47 +02:00
David Núñez cfe6504393 More tests for staking via contract: set-worker, restake. Assorted fixes 2019-10-19 22:48:47 +02:00
David Núñez 0c4ce00d16 CLI tests for staking via a UserEscrow contract
* Based on tests/cli/ursula/test_stakeholder_and_ursula.py
2019-10-19 22:48:47 +02:00
David Núñez 3c33fe8281 New mock_allocation_registry fixture. Fix mock_allocation_infile and broken tests 2019-10-19 22:48:47 +02:00
David Núñez b726b8ce9d Improve regex in test_status. Solve pytest regex warnings. 2019-10-19 22:48:47 +02:00
David Núñez aed5d14bee Touches to nucypher-deploy 2019-10-19 22:48:46 +02:00
David Núñez 137db286ee Touches to allocation tests 2019-10-19 22:48:46 +02:00
derekpierre b1039a3e78 Added test to ensure that options and parameters for commands match. 2019-10-18 11:16:13 -04:00
derekpierre b9ae88979e Improve cli command help testing 2019-10-18 11:16:13 -04:00
derekpierre 4580a0bcc1 Changed CLI format for "stake" command - improve help and detection of invalid commands
Update unit tests.
2019-10-18 11:16:13 -04:00
derekpierre 802f56d2eb Code cleanup and improvement of test code coverage 2019-10-18 11:16:13 -04:00
derekpierre ae6ac4b2aa Fixed broken CLI tests based on refactor 2019-10-18 11:16:13 -04:00
derekpierre 16bf950020 Changed CLI format for "ursula" command - improve help and detection of invalid commands
Update unit tests.
2019-10-18 11:16:13 -04:00
derekpierre 068f02e2af Changed CLI format for "bob" command - improve help and detection of invalid commands
Update unit tests
2019-10-18 11:16:13 -04:00
Kieran R. Prasch 82c377234b
Respond to RFCs in PR #1344 2019-09-30 11:45:51 -07:00
Kieran R. Prasch c3be5a7854
Basic upgrade and re-target deployer CLI painting. 2019-09-30 09:04:09 -07:00
Kieran R. Prasch 2e7a886391
Clean-up on isle 4... the registries are spraying all over the codebase 2019-09-30 09:04:09 -07:00
Kieran Prasch de61088faa
Extact deployer CLI registry acquisition to actions 2019-09-30 09:04:09 -07:00