Commit Graph

1813 Commits (b403b291dec640d94e54a10b9df82b5425261cbf)

Author SHA1 Message Date
Kieran Prasch b403b291de Passing worklock CLI tests: baseline, Test showing single contract deployment (sneaking in seeder as a plceholder for worklock without params ready). 2020-01-30 10:27:29 -08:00
Kieran Prasch 5570d20df5 Unblocked by dnunez - Init stake via worklock allocation and ind. registry. 2020-01-30 10:27:29 -08:00
Kieran Prasch cc9b000fa3 Tightening worklock CLI assertions based on the layer below. Blocked by inability to set-worker to worklock allocation. 2020-01-30 10:27:29 -08:00
Kieran Prasch 657bc0b9a5 Third pass on Worklock CLI under new design\ patterns 2020-01-30 10:27:29 -08:00
Kieran Prasch 606c15493a Tearing up worklock CLI for compadability with the latest implementations 2020-01-30 10:27:29 -08:00
Kieran Prasch 355d7ff887 Deprecates TestEconomics; Adds worklock supply and funding management - Extracts statistical methods to worklock agent. 2020-01-30 10:27:29 -08:00
Kieran Prasch b2bf0f487d Live coding with vicky! 2020-01-30 10:27:29 -08:00
Kieran R. Prasch fc45282964 Additional tests to cover worklock bid reading and test registry management for worklock agent test module 2020-01-30 10:27:29 -08:00
Kieran R. Prasch 5359ca9aec Trying to use deterministic preallocation address generation via worklock in tests. 2020-01-30 10:27:29 -08:00
Kieran R. Prasch 4652daa176 Reconstruction of worklock CLI tests (without consideration for preallocations) 2020-01-30 10:27:29 -08:00
Kieran R. Prasch 5ac52b1271 Integrating the worklock deployer with the rest of em' 2020-01-30 10:27:29 -08:00
Kieran R. Prasch ffd290cb59 Cherry-picking version 1 of the worklock CLI. 2020-01-30 10:26:37 -08:00
Kieran R. Prasch ae0b1d1734 Adds new contract function agency for worklock: refunds, cancellation, tests to match. 2020-01-30 10:26:37 -08:00
Kieran R. Prasch 717a84afd4 Incorporating new worklock contract functions into agents, deployers, and economics. 2020-01-30 10:26:37 -08:00
Kieran R. Prasch 82dbfcfe89 First steps to integrate worklock deployment params via economics 2020-01-30 10:26:37 -08:00
Kieran Prasch 5c3c6a00e8 Properly bond worklock to staking escrow at deploy-time. 2020-01-30 10:26:37 -08:00
Kieran Prasch 1fe806bc57 Expand deployment class registry to include aux. contracts, Include single contract deployment CLI integration test based on WorkLock. 2020-01-30 10:26:37 -08:00
Kieran Prasch cff807eaff Bidding agent tests. 2020-01-30 10:26:37 -08:00
Kieran R. Prasch e21a2da6c1 funding method for worklock deployer 2020-01-30 10:26:37 -08:00
Kieran Prasch 496f73680a Carving out worklock agent tests. 2020-01-30 10:26:37 -08:00
Kieran Prasch cdc8696855 Baseline Worklock deployer tests. 2020-01-30 10:26:37 -08:00
David Núñez 6d3db88a2d
Merge pull request #1627 from vzotova/force-solidity-version
Single version of solidity compiler
2020-01-30 18:18:34 +00:00
vzotova f4c2c4c668 solc bash installation script -> python script, to use solc version from the code 2020-01-29 17:01:11 +03:00
K Prasch a28584d63d
Merge pull request #1611 from cygnusv/fixes
Small fixes to grant: input validation, correct formatting of stakers' data from StakingEscrow
2020-01-25 15:24:49 -08:00
David Núñez 6d7c2abf13 Some input validation to `nucypher alice grant` 2020-01-24 12:07:26 +01:00
Kieran Prasch 46ab992c35
Allow seperate nucypher vs provider password for Felix 2020-01-23 11:44:24 -08:00
David Núñez c590538bbd Move "public" environment variables to `nucypher.config.constants` 2020-01-21 13:53:11 +01:00
David Núñez f1daae2463 Relocate NetworksInventory to nucypher.blockchain.eth.networks 2020-01-19 23:20:11 +01:00
David Núñez 3da6bdf087 Don't set globally a default domain in tests
Otherwise, tests are not modeling real behavior, where we don't have a default.
2020-01-19 19:58:38 +01:00
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
David Núñez fe55ffc42c Preoperative marking before replantation surgery
We want to connect learning to "registry" domains
2020-01-18 19:40:19 +01:00
Kieran Prasch 0db9f719cf
adjustments to wind down aagency test to acommodate prolong test. 2020-01-16 11:16:47 -08: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
Kieran Prasch c28d5892bb
Introduces prolong stake agency and test 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
vzotova 5648f41af7 Wind-down parameter for actors 2020-01-15 12:08:59 +03:00
vzotova 09e37375fe Wind-down parameter for agents 2020-01-15 12:08:58 +03:00
vzotova 6c5ef32aa2 Tests for wind-down parameter, wind-down parameter in PreallocationEscrow 2020-01-15 12:08:57 +03:00
vzotova a945c21ad3 Minor rename in test_intercontract_integration.py 2020-01-14 16:59:54 +03:00
vzotova b2d27046dd WorkLock: time-based lock -> stake-based lock, claim() locks token in StakingEscrow 2020-01-14 16:56:20 +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
Victoria 35a0dd5528 Apply suggestions from code review #1459
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
Co-Authored-By: David Núñez <david@nucypher.com>
2020-01-10 13:14:04 +03:00
vzotova bd7d5ac43a Fix for test_sampling_distribution 2020-01-10 13:14:04 +03:00
vzotova 3fd751b638 PolicyManager: revocation using owner's signature 2020-01-10 13:14:03 +03:00