K Prasch
5fe81dc65d
Merge pull request #1773 from vzotova/worklock-updates-opt4
...
🐳 Worklock updates (option 4)
2020-03-19 10:21:11 -07:00
vzotova
ce6e63171b
Apply suggestions from code review #1773
...
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
Co-Authored-By: K Prasch <kieran@nucypher.com>
Co-Authored-By: David Núñez <david@nucypher.com>
Co-Authored-By: Arjun Hassard <arjunhassard@gmail.com>
2020-03-19 12:27:25 +03:00
vzotova
c3b47eed72
WorkLock: withdrawal pattern for force refund
...
Co-Authored-By: David Núñez <david@nucypher.com>
2020-03-16 18:34:18 +03:00
vzotova
f3831e768e
WorkLock: updates agent, actor and CLI layers to work with bonus part of bid
2020-03-14 13:38:21 +03:00
vzotova
38ddc5e591
WorkLock: force refund at CLI, actor, agent layers
2020-03-13 22:57:39 +03:00
vzotova
41cbd542ee
WorkLock: small refactoring of methods and tests
2020-03-13 22:31:38 +03:00
vzotova
bc618284af
WorkLock: checking all bids to prevent exceeding max allowable stake
2020-03-13 21:51:06 +03:00
vzotova
a2deca9eb8
WorkLock: cancellation window
2020-03-13 21:51:05 +03:00
vzotova
5c719dd1a9
New constraints in WorkLock: minimum allowed bid, cancellation only during bidding, removed unclaimed tokens
2020-03-13 21:51:04 +03:00
Kieran Prasch
eb32902704
Keep missing configuration tests passing; Always use mocked registry source.
2020-03-05 10:02:20 -08:00
David Núñez
7e1dec2950
Merge pull request #1662 from vzotova/rate-range
...
[DO NOT MERGE YET] Reward rate range
2020-02-27 12:05:03 -08:00
David Núñez
0dcdf51fc8
Merge pull request #1738 from cygnusv/activate-network
...
Allow to deploy a network in idle mode. Activate later
2020-02-26 15:40:38 -08:00
David Núñez
c63c754c89
Test showing how a manual deployment of an idle network is done
2020-02-24 15:29:11 -08:00
Kieran R. Prasch
891dd04d2a
Cleanup: No need to pass --staker-address. Support get_worker_config_in_tests.
2020-02-23 19:20:17 -07:00
Kieran R. Prasch
f858ede235
Setup optional bonding timeout and settable poll rate for Workers.
2020-02-23 19:20:17 -07:00
Kieran R. Prasch
728793b24a
Monkeypatch registry source fetching in CLI reconfiguration tests.
2020-02-23 19:20:17 -07:00
David Núñez
e55ccf2341
More general deployment modes: Meet Bare, Idle and Full
...
Idle = Deploy contract in 'idle' state, without activation
2020-02-22 17:11:55 -08:00
David Núñez
5968b519d8
Clean and simplify some deployers logic
2020-02-22 17:11:55 -08:00
vzotova
4188cc673f
Set min rate for a staker in actor, agent and CLI layers
2020-02-20 12:05:50 +03:00
vzotova
3816151cf9
Method for setting range of min reward rate in actors, deployers and CLI layers
2020-02-20 12:03:48 +03:00
Kieran R. Prasch
bcbbec9016
Fixes missing bytes caster on CLI test.
2020-02-19 20:53:39 -07:00
Kieran R. Prasch
6f9e89d826
Cleanup grant lifecycle tests
2020-02-13 13:40:42 -07:00
Kieran Prasch
18be53f5a5
Tests backing up CLI inline config; worker IP envvar to support.
2020-02-13 13:40:42 -07:00
Kieran Prasch
eb916afa52
Special handling of Alice grant CLI options;
2020-02-13 13:40:42 -07:00
David Núñez
a91f0d26a2
Since we use agency_local_registry fixture now, remove registry mock in test_felix
...
Really closes #1346
2020-02-13 11:19:55 -07:00
David Núñez
4b161121c2
WorkLock deployment parameters for tests are hard-coded in token_economics fixture
...
TODO: do something better about it
2020-02-13 11:19:55 -07:00
David Núñez
de0ced9518
Fix problems with bidder initialization in WorkLock CLI
2020-02-13 11:19:55 -07:00
jMyles
6490af67c8
Touch-ups around failing tests.
2020-02-10 13:09:15 -08:00
jMyles
3ce055561d
Test compatibility for unpacking message kits.
2020-02-10 13:09:15 -08:00
jMyles
f87eb322f9
Pausing console logging instead of stopping and starting.
2020-02-08 04:27:34 -08:00
jMyles
e73e1e5765
Temporarily ceasing console logging right before click invocation.
2020-02-08 04:27:34 -08:00
jMyles
bd679888d9
Adding logging around consecutive retrieval test.
2020-02-08 04:27:34 -08:00
jMyles
7a115f65f0
Logging statements around Bob patching.
2020-02-08 04:27:34 -08:00
jMyles
1e33857dd5
Battle of the mocks: another finally block.
2020-02-08 04:27:34 -08:00
jMyles
7ac8374c07
Passing ciphertext(s) as positional.
2020-02-08 04:27:34 -08:00
jMyles
0cdcc523b7
Re-patching LocalContractRegistry.read in a finally block. Fixes #1346 .
2020-02-08 04:27:31 -08:00
jMyles
c3ea0377e0
Have Bob retrieve again, just to be absolutely clear that it now works back-to-back by default.
2020-02-08 01:18:51 -08:00
jMyles
1a34a2a60a
New Bob CLI test to show retrieve().
2020-02-08 01:18:51 -08:00
jMyles
74fa1803ab
Fixing up retrieve() params, adding type hints.
2020-02-08 01:18:50 -08:00
David Núñez
c756b4ef14
Use new agency_local_registry fixture for CLI tests, and fix broken tests
...
Previously, we were supporting the consistency of our registry usage in a weird combination of fixtures' side-effects. Not anymore. CLI tests should use agency_local_registry, since it's a file-based mirror of the test_registry fixture when agency is assumed.
2020-02-07 11:28:34 +01:00
David Núñez
1356346533
Fix test for CLI multisig deployment. Remove unused registry fixture
2020-02-07 11:22:08 +01:00
David Núñez
2f090b3b44
First pass at CLI command to build upgrade TX via MultiSig: nucypher-deploy upgrade --multisig ...
2020-02-07 11:22:08 +01:00
David Núñez
554ce00923
First pass at deploying MultiSig contract with nucypher-deploy
...
* Adapting ContractAdministrator to additional, optional deployers (e.g, for MultiSig)
* Adds option --parameters to nucypher-deploy that allows to pass override arguments for contract deployment. Intended usage is MultiSig constructor arguments, but can be potentially used in other contracts (e.g., custom args to NuCypherToken).
* Tests for MultiSig deployment with the CLI
2020-02-07 11:22:08 +01:00
David Núñez
0058230c3d
Janitorial stuff
2020-02-07 11:22:08 +01:00
David Núñez
9a6a8be976
Touches to MultiSigAgent and MultiSig actors
2020-02-07 11:22:07 +01:00
Kieran R. Prasch
a3ee748555
Accomodate the usage of --rate for granting via LCI specs; Post rebase cleanup.
2020-02-06 03:23:19 -08:00
damon
fcb9763959
handle kwargs based requests
...
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
2020-02-06 03:22:42 -08:00
Kieran R. Prasch
9554eb45a6
Implement ethSupply, Renames and Tweaks with @vzotova
2020-01-30 17:19:06 -08:00
Kieran Prasch
f0ac200cb7
Detailing the higher level functionality of Bidder.
2020-01-30 10:27:29 -08:00
Kieran Prasch
db899e8452
Relocate worklock with the rest of the cli commands
2020-01-30 10:27:29 -08:00