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 |
Kieran Prasch
|
963edebd74
|
Refinements for Testerchain, Integration with Capitalism, Touch-ups.
|
2019-07-04 11:23:50 +02:00 |
Kieran Prasch
|
1a2dabd095
|
Use Condensed Blockchain API in tests. credit to @vepkenez.
|
2019-07-04 11:23:50 +02:00 |
David Núñez
|
2150723cca
|
Skip other tests affected by the lack of CLI for staking
|
2019-07-04 11:23:49 +02:00 |
David Núñez
|
c9f7057dd3
|
Skip staking ursula tests until #1056
|
2019-07-04 11:23:49 +02:00 |
David Núñez
|
1387683e35
|
First stub of Worker class, extracted from Staker
|
2019-07-04 11:22:39 +02:00 |
Kieran Prasch
|
66b0e25165
|
Robust tests for BaseConfiguration API; Second layer for character configurations; Return of ABC.
|
2019-07-04 11:22:39 +02:00 |
Kieran Prasch
|
09c8847c14
|
Dehydration and cleanup of keyring attachment and checksum address selection. Touch ups.
|
2019-07-04 11:22:39 +02:00 |
Kieran Prasch
|
add336af3f
|
Ensure that known_nodes passed into configs are retained for re-use
|
2019-07-04 11:22:38 +02:00 |
Kieran Prasch
|
b7012f607f
|
NodeConfiguration -> CharacterConfiguration
|
2019-07-04 11:22:38 +02:00 |
Kieran Prasch
|
568420a9c6
|
Refinine NodeConfiguration to handle only common parameters; Dehydration and reorg. Optimize character config production file I/O.
|
2019-07-04 11:22:38 +02:00 |
Kieran Prasch
|
65d1b7aa51
|
Allow contract registry to write to a globally default location (config root) despite using a custom configuration root at init time.
|
2019-07-04 11:22:38 +02:00 |
Kieran Prasch
|
0565893be6
|
Accurately reflect destruction operations; Simplify usage; UrsulaConfiguration implements BaseConfiguration.
|
2019-07-04 11:22:38 +02:00 |
Kieran Prasch
|
701c7b5f15
|
CharacterConfiguration subclasses implemnt BaseConfiguration class attrs; Reorganize tests.config
|
2019-07-04 11:22:38 +02:00 |
Kieran Prasch
|
d888c60607
|
Adds BaseConfiguration and Ursula standard configurations tests; Style touchups, Preserving 'checksum_address'.
|
2019-07-04 11:22:38 +02:00 |
David Núñez
|
9638dc86bf
|
Fix name of StakingEscrowAgent. It was StakingEscrow
|
2019-07-04 11:22:38 +02:00 |
David Núñez
|
9eee8e6c9d
|
Removing some re-emerging garbage, probably from a rebase
|
2019-07-04 11:22:38 +02:00 |
David Núñez
|
398896d2ab
|
Leftovers: Miner --> Staker, MiningAdjudicator --> Adjudicator, etc.
|
2019-07-04 11:22:38 +02:00 |
Kieran R. Prasch
|
877833aaf3
|
Understand Staker and Staking to be separate ideas.
|
2019-07-04 11:22:38 +02:00 |
Kieran R. Prasch
|
3a80eec247
|
Goodbye, Three Agents. Hello, Agency.
|
2019-07-04 11:22:38 +02:00 |
Kieran R. Prasch
|
5551ce950c
|
MinerEscrow -> StakingEscrow, and MiningAdjudicator -> Adjudicator in agency, and in-test
|
2019-07-04 11:22:38 +02:00 |
jMyles
|
523fde54b4
|
Our Ursula from config is also supposed to be interactive per the test spec.
|
2019-06-28 20:11:55 -07:00 |
jMyles
|
54249ebb5e
|
Adding --interactive for the moment in order to display command prompt, on which test assertion relies.
|
2019-06-28 20:11:55 -07:00 |
Bogdan Opanchuk
|
39ecedd724
|
Rename TesterBlockchain on import in tests to prevent py.test from trying to pick it up
|
2019-06-26 22:48:33 -07:00 |
Kieran Prasch
|
9bf50e8eff
|
Use common control request fixture in tests for both web + RPC controllers.
|
2019-06-26 08:50:54 -07:00 |
Kieran Prasch
|
403c093fac
|
RPCController test client and stdio transport unit testing
|
2019-06-26 08:50:54 -07:00 |
tuxxy
|
dac9f72c0a
|
Defenestrate 'nucypher remove' from the CLI
|
2019-06-19 17:28:17 -06:00 |
Kieran Prasch
|
9e96b1191a
|
Fixes miscalculated first period reward rate (See #1063), Improves depth of reward collection integration testing
|
2019-06-08 20:23:16 -07:00 |
Kieran Prasch
|
f643f3ae78
|
Cleanup policy and arrangement value code paths - Fixes Issue #1015 - BlockchainPolicy value must be greater than 0.
|
2019-06-08 15:34:25 -07:00 |
K Prasch
|
d743e3b791
|
Respond to RFCs in PR #984; Apply suggestions from code review
Co-Authored-By: David Núñez <david@nucypher.com>
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
|
2019-06-08 14:32:35 -07:00 |
Kieran Prasch
|
cc345404c7
|
Thin out web3 client syncing, Use configuration classes for default controller ports
|
2019-06-08 14:30:01 -07:00 |
Kieran Prasch
|
807ffd3eaf
|
Passing decentralized grant CLI lifecycle test
|
2019-06-08 14:30:01 -07:00 |
Kieran Prasch
|
459bc033b0
|
Alice restores default policy values from configuration file
|
2019-06-08 14:26:07 -07:00 |
Kieran Prasch
|
6097c83eb7
|
Almost all of checksum_public_address -> checksum_address
|
2019-06-08 14:25:35 -07:00 |
Kieran R. Prasch
|
2ab9c303d4
|
Ensure node discovery verification and identity_evidence remian compadible with federated nodes
|
2019-06-03 23:47:05 +03:00 |
Kieran R. Prasch
|
58302eb7db
|
Adding domains to Alice and Bob in examples, to aviod using the production defaults.
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
4fd55ab6cb
|
Implement deploy_user input fixture for CLI deployments in-test.
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
62c7df293a
|
Understand labels to be handled as unicode in interfaces.
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
51319ec6f7
|
Straggler invalid interactive input at deploy-time
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
0574cfd908
|
Ensure alice and bob remember the manually controlled non-staking node in reward integration cli test.
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
d2ff928f9d
|
Removes base64 label encoding via CLI interface. Style updates for debugging ease.
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
8cd12e0e0e
|
Update deployment interactive input to match the latest CLI design.
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
bb30fcb5ae
|
Attempting to restore broken tests from refactoring side-effects of web3 client abstractions
|
2019-06-03 22:52:22 +03:00 |
Bogdan Opanchuk
|
e83ad3d186
|
Make domain names `str` instead of `bytes` throughout the code, and only convert to bytes on serialization
Fixed #1026
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
f5a45b71d3
|
Uses --pay-with for alice cli lifecycle tests.
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
610f8cb59d
|
Adjust Ursula CLI tests for non-federated as a default
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
c6edf8278e
|
mock auto-ip failure in test
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
a4e6480512
|
Understand ethrbase to be the default checksum address in non-federated mode
|
2019-06-03 22:52:22 +03:00 |
Kieran R. Prasch
|
af812be748
|
Smoothing over auto-ip detection
|
2019-06-03 22:52:22 +03:00 |
tuxxy
|
c6f0caf64a
|
Fix missing condition from rebase
|
2019-06-03 22:52:22 +03:00 |
tuxxy
|
882ce735ab
|
Add test for checking automatically determining IP
|
2019-06-03 22:52:20 +03:00 |
tuxxy
|
cfeb0fa6d7
|
Implement mechanism to automatically find/confirm Ursula's public IPv4 address
|
2019-06-03 22:51:39 +03:00 |