Commit Graph

258 Commits (1bd2aae362c217a5fd21580bb34e752e33361d2f)

Author SHA1 Message Date
David Núñez 1bd2aae362
Adapt Ursula CLI tests to being asked for worker account password 2019-07-29 11:27:14 -07:00
David Núñez ca732b5a50
Add test_transfer_tokens to nucypher-deploy tests. Remove unused stuff. 2019-07-29 11:27:14 -07:00
Kieran Prasch 6392c1f42a
Do no ask for client passwork in stake CLI when using hw wallet flag, or dev chain is auto detected. 2019-07-26 10:15:34 -07:00
Kieran Prasch d8e6486283
Split keyring password collection into two functions and implement in CLI; Provides interactive account selection for Alice. 2019-07-26 10:14:41 -07:00
Kieran Prasch 2dd3e92868
Shortens CLI flag names to --provider and --teacher. 2019-07-26 10:14:41 -07:00
David Núñez a9f5c4a12b Implement and test nucypher stake detach-worker 2019-07-26 14:08:01 +02:00
Bogdan Opanchuk 0ce9458bf0
Create a console emitter only once (in NucypherClickConfig) and propagate it everywhere 2019-07-25 15:19:42 -07:00
Bogdan Opanchuk 3e17cd7c74
Remove duplicate options, move shared options definition and processing to NucypherClickConfig 2019-07-25 15:18:29 -07:00
Kieran Prasch 30aa51c1f2
Mock to_config_file briefly to avoid writing to the default config root. 2019-07-25 15:18:29 -07:00
Kieran Prasch c4f14cb1f0
Deprecates funding account and account creation options. Touch up stake CLI. 2019-07-25 15:18:29 -07:00
Kieran Prasch 1b3e3e45e5
Respond to RFCs in PR #1111: Remove deployment transaction gas limit. 2019-07-25 15:18:29 -07:00
David Núñez d317a7d1b0
Add missing AdjudicatorAgent assertion in test_deploy_cli 2019-07-25 15:18:29 -07:00
David Núñez 718a5244dc
PolicyAgent --> PolicyManagerAgent 2019-07-25 15:18:29 -07:00
David Núñez f100d39630
"Deployer" actor is now called "DeployerActor", to avoid confusion with deployers 2019-07-25 15:18:29 -07:00
Kieran Prasch 4ee8c70860
Respond to RFCs in PR #1056. 2019-07-25 15:18:29 -07:00
Kieran Prasch c8a95fba30
Skip transfer of rewards back to funding account for now. 2019-07-25 15:18:29 -07:00
Kieran Prasch c0f166e56a
Fix keyring checksum address multiple kwarg passing, add withdraw of inflation rewards to specified account or funding account. Touch up reward collection assertions. 2019-07-25 15:18:29 -07:00
Kieran Prasch 7508dc24c3
Use mocked blockchain interface connection within CLI subprocesses in two tests. 2019-07-25 15:18:29 -07:00
Kieran Prasch f947e6f747
Extracts manual staker and worker fixtures, Fixes incorrect address in to/from UrsulaConfiguration; Attempting to fix reward collection CLI integration tests. 2019-07-25 15:18:29 -07:00
Kieran Prasch 4b9b5f0559
Respond to RFCs in PR #1056; Test and CLI touch-ups. 2019-07-25 15:18:29 -07:00
Kieran Prasch fd5e5b236c
Adds CLI controls for inflation v. policy reward collection, extracts deployer action. 2019-07-25 15:18:29 -07:00
Kieran Prasch 2e70aebd01
Bug Fix: Functional inflation reward collection; Refactors internal stakeholder stake tracking 2019-07-25 15:18:29 -07:00
Kieran Prasch 879afef6a7
Restore Federated CLI functionality; Refactor CLI lifecycle integration testing to implement --work-address 2019-07-25 15:18:29 -07:00
Kieran Prasch 73f606a31d
Restores staking CLI tests post #1029 via Stakeholder API. 2019-07-25 15:18:29 -07:00
Kieran Prasch 17aa2edd9f
Update ursula CLI tests to use new stake entry points 2019-07-25 15:18:29 -07:00
Kieran Prasch 2e26f5753f
Respond to further RFCs in PR #1092.
Apply suggestions from code review

Co-Authored-By: David Núñez <david@nucypher.com>
2019-07-15 12:21:12 -07:00
Kieran Prasch 16e464fff5
Bug Fix: Allow TransactingPower to use cached password at activation time - credit to @cygnusv. 2019-07-15 12:06:44 -07:00
Kieran Prasch 98c04d1738
Remove nucypher deploy destroy-registry 2019-07-15 12:06:44 -07:00
Kieran Prasch 688572d5d3
Allows CLI-made characters to connect their blockchain interface through consuming the TransactingPower. 2019-07-15 12:06:44 -07:00
Kieran Prasch dc22bdede0
post rebase BlockchainPower -> TransactingPower 2019-07-15 12:06:44 -07:00
Kieran Prasch d1980f9662
Remove Trezor Imports and presence in setup.py; Deprecate libusb1 suport in-test. 2019-07-11 16:59:23 -07:00
tuxxy a21b01da18 Remove more deprecated device code 2019-07-11 15:39:06 -06:00
tuxxy 09f3370c1b Hack usb1 import to work on CI machines without libusb 2019-07-11 15:39:06 -06:00
tuxxy f107980c25 Add tests for device CLI skeleton 2019-07-11 15:39:06 -06:00
tuxxy c8e3a63a98 Move mock_trezorlib et al to conftest in tests.cli 2019-07-11 15:39:06 -06:00
tuxxy 44c218743b Move tests from wallet to device 2019-07-11 15:39:06 -06:00
tuxxy e4182b2b05 Add test for _reset and other unimplemented methods 2019-07-11 15:39:06 -06:00
tuxxy 438fe9ba7d Add test for call_handler_decorator and fix method declarations 2019-07-11 15:39:06 -06:00
tuxxy 632aa8c3e6 Add passing tests for trezor backend and change imports to work with mocking 2019-07-11 15:39:06 -06:00
Kieran Prasch 68b8a2735d Returning to a single-account BlockchainPower;TODO annotations for BlockchainPower. 2019-07-04 11:23:50 +02:00
Kieran Prasch 552fc461fc Updates estimate gas with new Testerchain API, completely removes calls to .transact() in nucypher nameapce. 2019-07-04 11:23:50 +02:00
Kieran Prasch bb3cce8465 Mock registry reads from disk in Felix CLI integration testing. 2019-07-04 11:23:50 +02:00
Kieran Prasch ebb6b422ac Add the ability to save an in-memory registry to disk. 2019-07-04 11:23:50 +02:00
Kieran Prasch 19d30b355c Adapting Felix to consume BlockchainPower at init-time. 2019-07-04 11:23:50 +02:00
Kieran Prasch 2ccc46b86a Refactor contract registry CLI integration testing to implement condensed Blockchain API. 2019-07-04 11:23:50 +02:00
Damon C aebac62dd8 remove most other direct blockchain.w3 references 2019-07-04 11:23:50 +02:00
Kieran Prasch 898925c8ad Integrating more tests with condensed blockchain interface, straggler Mock BlockchainPower. 2019-07-04 11:23:50 +02:00
Kieran Prasch 5fb4aee80b Deployers implement BlockchainInterface.send_transaction 2019-07-04 11:23:50 +02:00
Kieran Prasch 08fe94fea7 Moving (mocked) BlockchainPower usage in the direction of TransactingPower; Touch-ups. 2019-07-04 11:23:50 +02:00
Kieran Prasch cd9b2366c8 Blockchain -> BlockchainInterface 2019-07-04 11:23:50 +02:00