Commit Graph

363 Commits (71d49f3ed3c22bb6dd5701a28eca3cbae08a93e8)

Author SHA1 Message Date
David Núñez 637a750b94 Make this test resistant to environments where the password envvar exists 2020-01-19 02:59:14 +01:00
David Núñez 4ca3ffe6de Adapt `nucypher stake` logic to inclusion of --network option 2020-01-19 02:59:14 +01:00
David Núñez b802af8223 A RegistrySourceManager for tests that only uses a tailored MockRegistrySource
It assumes that the only valid network is TEMPORARY_DOMAIN
2020-01-19 02:59:14 +01:00
David Núñez 0a64d09505 This test destroyed my local alice config file (╬ Ò ‸ Ó) 2020-01-19 02:59:14 +01:00
Kieran Prasch d4cc1bd3c7
Code formatting suggestions; Ensure action period happens early 2020-01-15 11:48:53 -08:00
Kieran Prasch 923b2deb98
Prolong stake API and CLI entry; Deprecate Felix template and landing page 2020-01-15 11:48:53 -08:00
vzotova 06c588476f Fix after rebasing 2020-01-15 12:09:00 +03:00
vzotova 1cf543f0f1 Wind-down parameter for cli 2020-01-15 12:08:59 +03:00
derekpierre fe1a6c8fe4 The recommendation provided after detecting a missing configuration file was incorrect for the StakeHolder configuration.
Fix incorrect message for missing configuration file when default configuration file not found
2020-01-10 16:04:44 -05:00
David Núñez 345a09e2f8
Merge pull request #1459 from vzotova/policy
Policy refactoring
2020-01-10 10:42:33 +00:00
vzotova 3f888c8b51 Fix cli tests with policy creation 2020-01-10 13:14:01 +03:00
Bogdan Opanchuk 8e11c96054 Remove GroupGeneralConfig attributes asignment and replace it with method calls
Attributes don't do anything anymore
2020-01-10 11:10:53 +01:00
Bogdan Opanchuk fa96c4722d global_config: move `mock_networking` option to the characters that actually use it, remove `etherscan` completely 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 9197f302d6 Group CLI options into structures (including the general options, formerly click_config) 2020-01-10 11:10:53 +01:00
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