Kieran Prasch
96a6088f11
Restore prettify stake' Fixes broken sprout and abridged details references.
2020-02-07 13:26:40 -08:00
Kieran Prasch
2df20d1aae
additional stakeholder utility refactoring for increased cli tabling flexibility
2020-02-07 13:26:40 -08:00
Kieran Prasch
fe08bed947
Include staking status in accounts painting; Missing periods in stake listing.
2020-02-07 13:26:40 -08:00
Kieran Prasch
88afb9eb19
Implements tabulate to include individual staker status vis stake listing.
2020-02-07 13:26:40 -08:00
K Prasch
72e03b244f
Merge pull request #1560 from cygnusv/multisig
...
Foundations for MultiSig API and tooling.
2020-02-07 13:24:31 -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
ee868e73d7
PoC of nucypher-deploy multisig sign, including decoding of proposed TX
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
2b9b56aa73
First take on `nucypher-deploy multisig inspect`. Skeleton for other actions
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
4aeb64486e
Touches to MultiSigDeployer and MultiSigAgent. Tests for both
2020-02-07 11:22:08 +01:00
David Núñez
2e7cdc984b
Extract common logic of proxy contract deployers to ProxyContractDeployer
...
This includes the new functionality of build_retarget_transaction() needed for upgrades via multisig, which is common for both Dispatchers and StakingInterfaceRouter
2020-02-07 11:22:08 +01:00
David Núñez
5a23b8ee99
Pass block confirmations requirement down the line
2020-02-07 11:22:08 +01:00
David Núñez
88a365ac18
Obtain upgrading transactions for Dispatcher.upgrade()
...
Uses the new BlockhainInterface.build_transaction() endpoint to construct unsigned transactions.
The unsigned transactions in this commit are the raw data that is signed by MultiSig participates during a contract upgrade.
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
David Núñez
3c97ff90f2
Break BlockchainInterface.send_transaction() in 2: build, and sign&broadcast
...
Multisig transactions require more fine-grained logic, since we need to build txs but we can't send them normally, but independently signed by MultiSig participants, aggregated and executed through Multisig.execute()
2020-02-07 11:22:07 +01:00
Kieran R. Prasch
94b1896df6
Implementing MultiSig Actors and Entities: First pass; Code reorg.
2020-02-07 11:22:07 +01:00
Kieran R. Prasch
417cd31b41
MultiSigAgent and MultiSigDeployer Skeletons.
2020-02-07 11:22:07 +01:00
David Núñez
3350d33966
Add --confirmations option to nucypher-deploy contracts
2020-02-07 11:22:07 +01:00
David Núñez
b311430490
First pass on block confirmations at the BlockchainInterface layer - see #1194
2020-02-07 11:22:07 +01:00
K Prasch
481af3371c
Merge pull request #1555 from vepkenez/refactor-specifications
...
Refactor Specifications/Serializers
2020-02-06 14:38:41 -08:00
damon
0a0761e554
address @cygnusv suggestions
2020-02-06 14:23:54 -08:00
damon
d656142974
field validation, tests, squashed
2020-02-06 03:23:19 -08: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
damon
abb2cb5ddd
better exception handling
2020-02-06 03:22:42 -08:00
Kieran Prasch
785f988f91
Uses named web controller routing over interface injection.
...
fix scoping issue
2020-02-06 03:22:34 -08:00
damon
2ead1838a0
only some characters have an interface
2020-02-06 03:22:34 -08:00
damon
a3b5a027f6
define controller's place in the world
2020-02-06 03:22:34 -08:00
damon
ef1f374902
suggestions from derekpierre and mswilkison
...
rebuilt reqs
2020-02-06 03:22:25 -08:00
damon
f381d92301
finish implementing bob, alice, enrico
...
rename 'connect' to 'connect_cli'
2020-02-06 03:22:17 -08:00
damon
75a84ffad9
remove specifications mappings
...
remove specifications references
remove bad idea
2020-02-06 03:22:06 -08:00
damon
08dab01f6a
incorporate changes from option-cleanup
2020-02-06 03:22:06 -08:00
damon
44ce4b475f
move nucypher command decorator to CharacterPublicInterface
...
fix rpc_control_blockchain test
2020-02-06 03:21:59 -08:00
damon
d347428846
prototype depcrecation of options flags on cli
2020-02-06 03:21:59 -08:00
Kieran R. Prasch
e70ba7eb18
Implements new input scheme API on Webcontrollers.
2020-02-06 03:21:59 -08:00
Kieran R. Prasch
71a7fc7a1c
Passing RPCController tests
2020-02-06 03:21:59 -08:00
damon
38f2ef0e46
click integration
2020-02-06 03:21:59 -08:00
Kieran R. Prasch
763e295299
Deprecates character control decorator in favor of new command specification API (successful policy creation by RPC controller)
2020-02-06 03:21:59 -08:00
Kieran R. Prasch
d34e6df0b6
Aiming to unify command specifications, controllers, validations, serilaizers with schema modeling (Needs adiitional follow up).
2020-02-06 03:21:59 -08:00
damon
4042f45901
deserialize input to encrypt
...
address RFCs
2020-02-06 03:21:51 -08:00
damon
77d2a93c47
implement cleartext field
...
fix double encode
2020-02-06 03:21:41 -08:00
damon
a439ad83f5
fix messagekit serializer
2020-02-06 03:21:12 -08:00
damon
f570146b12
adds cleartext field
2020-02-06 03:21:12 -08:00
damon
c9f0d6c540
fix failing test on invalid rpc input
...
handle TypeError in invalid RPC input
2020-02-06 03:20:50 -08:00
damon
67961537be
remove unneeded code
...
remove more unneeded code
rebuild reqs
2020-02-06 03:20:18 -08:00
damon
865b547ce3
more detailed validation test
2020-02-05 11:21:33 -08:00
damon
794bc61941
improved key validation
2020-02-05 11:21:33 -08:00