Commit Graph

5342 Commits (71d49f3ed3c22bb6dd5701a28eca3cbae08a93e8)

Author SHA1 Message Date
David Núñez 71d49f3ed3 Clarify FIXMEs & TODOs. Ref #1580 for weird map between network and domains 2020-01-19 18:36:42 +01:00
David Núñez e3706a211a Preparing default seednodes for cassandra network 2020-01-19 17:59:10 +01:00
David Núñez 81040d59b3 Require --network when creating an Ursula config via CLI. Update docs. 2020-01-19 04:12:09 +01:00
David Núñez 7532371e9e Adds prolong and winddown to the table. Refer to Stakers rather than StakeHolders 2020-01-19 03:56:10 +01:00
David Núñez 60cf14352a Update staking guide to show how to init a stakeholder in a network 2020-01-19 03:56:10 +01:00
David Núñez 323922b2ea Fix small bug that affected `nucypher stake` when no staking address was passed as flag 2020-01-19 03:33:43 +01:00
David Núñez e9aa2128f4 Initial in-package contract registry for Testnet 2 ('Frances')
See also https://github.com/nucypher/ethereum-contract-registry/pull/2
2020-01-19 02:59:14 +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 d5dd4cff68 You owe me one hour of my life
This function was shadowing the `list` keyword
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 d3a8468f67 Ugly workarounds for the network/domains mapping
StakeHolderConfigurations are in a weird place.
* They inherit from CharacterConfig, so they have "domains", as in learning, even though as StakeHolders nor Stakers engage in learning.
* They are user-facing configs, so they should talk about "network" rather than "domains"

The workaround is to continue using domain, for backwards compatibility
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 a483c3a3f0 Starting to poke around 2020-01-19 02:59:14 +01:00
David Núñez 9e1d5f4229 Some touches to RegistrySourceManager 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 8b779424d1 Don't show NU balance in some commands unnecessarily
Avoids requiring a registry that's it's not going to be useful anyway
2020-01-19 02:59:14 +01:00
David Núñez 2814dc51b1 Define and use a default network. For the moment the 'unknown' placeholder 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
David Núñez 137d5b47bf First pass at NetworksInventory: a place to track the various networks 2020-01-18 19:40:19 +01:00
David Núñez 004c718c48 Reorganization of in-package contract registry 2020-01-18 19:40:19 +01:00
K Prasch f7c37bdbc4
Merge pull request #1565 from KPrasch/prolong
Prolong Stake API; Slight Code Reorg
2020-01-16 11:29:10 -08:00
Kieran Prasch 857adacfba
Retarget deploy command module in setup.py 2020-01-16 11:16:51 -08: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
Kieran Prasch b628f95146
Reorganize cli modules into 'nucypher.cli.commands' namepspace 2020-01-15 11:48:53 -08:00
David Núñez 6bb3ac49b2
Merge pull request #1544 from vzotova/winddown
Wind-down parameter
2020-01-15 10:46:52 +00:00
Victoria a273af25a2 Apply suggestions from code review #1544
Co-Authored-By: David Núñez <david@nucypher.com>
2020-01-15 13:30:31 +03:00
vzotova 68d5bc7f5b Updated confirmation for winding down
Co-Authored-By: derekpierre <derek.pierre@gmail.com>
2020-01-15 12:09:00 +03:00
vzotova 06c588476f Fix after rebasing 2020-01-15 12:09:00 +03:00
vzotova 486447068b Apply suggestions from code review #1544
Co-Authored-By: derekpierre <derek.pierre@gmail.com>
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 c6fa95bfb1 StakingEscrow: wind down parameter 2020-01-15 11:57:19 +03:00
K Prasch 7a60009d63
Merge pull request #1562 from vzotova/removing-pe
Removing PE from WorkLock
2020-01-14 11:10:08 -08:00
Victoria 8e0d65363d
Apply suggestions from code review #1562
Co-Authored-By: David Núñez <david@nucypher.com>
2020-01-14 19:17:08 +01:00
K Prasch 91439e539d
Merge pull request #1559 from fjarri/option-cleanup-fix
Fix some minor bugs introduced by PR1434
2020-01-14 08:50:53 -08: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
David Núñez c767b272a0 Fix minor bugs in nucypher-deploy and nucypher stake 2020-01-13 15:02:40 -08:00
Bogdan Opanchuk 54d293bdcf Fix a variable name in AliceConfigOptions() 2020-01-13 15:02:40 -08:00
K Prasch b115d3c848
Merge pull request #1557 from derekpierre/init-recommendation
Incorrect recommendation for missing StakeholderConfiguration file
2020-01-13 10:56:34 -08: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
David Núñez ebf18d9b17
Merge pull request #1434 from fjarri/option-cleanup
CLI options cleanup
2020-01-10 10:41:36 +00:00
Bogdan Opanchuk 9f20864ee9 Rename GroupGeneralConfig.config_file to config_root, and correspondingly NUCYPHER_CONFIG_FILE->ROOT
Because that's how it is actually used.
2020-01-10 11:22:40 +01:00
Bogdan Opanchuk 5cc30f4f8d Remove an unnecessary repetition of the command name (preallocation) 2020-01-10 11:22:40 +01:00