Commit Graph

208 Commits (91bc12e06bd4bc5184addfaf6522d12a26677f75)

Author SHA1 Message Date
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