Commit Graph

391 Commits (2b9b56aa7323855d6977b00c3aae607c56163f8b)

Author SHA1 Message Date
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
Kieran Prasch a6ca5cbd6f Respond to RFCs in PR #1550 2020-01-30 10:27:29 -08:00
Kieran Prasch bbcb9e649c Updates worklock API to work-based unlock without allocation deployments. 2020-01-30 10:27:29 -08:00
Kieran Prasch df4de9d0c6 Support worklock bid cancellation via CLI - Clean up outstanding TODOs 2020-01-30 10:27:29 -08:00
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 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 4652daa176 Reconstruction of worklock CLI tests (without consideration for preallocations) 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 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
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 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
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