Commit Graph

372 Commits (0bb8d74636d07026c3e313c6f48e5fa47091835f)

Author SHA1 Message Date
Michael Egorov d0c889a72b
Rename confusing f,b to federated,blockchain 2019-10-01 12:14:39 -07:00
Michael Egorov 8c27398204
Reset test rpc message ID before test b/c it's shared globally 2019-10-01 12:14:38 -07:00
Michael Egorov 40287ef7c5
Blockchain and federated tests 2019-10-01 12:14:38 -07:00
Michael Egorov f32a937854
Web character control tests pass 2019-10-01 12:14:38 -07:00
Michael Egorov f365c82627
Blockchainy RPC tests pass 2019-10-01 12:14:38 -07:00
Michael Egorov baf964e83e
Test started being fixed (unfinished yet) 2019-10-01 12:14:38 -07:00
Michael Egorov 6736a60f3e
Change character control spec format to include optional arguments 2019-10-01 12:14:33 -07:00
damon c cae5247bfe
Merge pull request #1280 from cygnusv/sample
Touches to StakingEscrow.sample()
2019-09-03 14:51:45 -07:00
David Núñez b75d6884ea Sets N=6 in test_blockchain_ursulas_reencrypt. Closes #1090. 2019-09-02 19:22:57 +02:00
Kieran Prasch 22fc7d16b4 Adapt PeriodTracker to WorkTracker; Geth client duration bug fix. 2019-08-31 11:32:25 -07:00
Kieran Prasch 7afc134e6a
Fixes #1279; Uses injected registry to verify stranger-Ursulas with lazy StakingAgent. Use fallback storage backend. 2019-08-30 17:55:53 -07:00
Kieran R. Prasch 64d40a7f80 Whoops! Restores 'address' and respectively 2019-08-27 09:56:41 -07:00
Kieran Prasch 58f34dac7b Checkpoint #4 - Fixes policy sampling bugs - continue reflow fixes. 2019-08-27 09:56:41 -07:00
Kieran Prasch 2a299aaca1 Checkpoint #3 - Reflow StakeHolder, Stake and Wallet Management. 2019-08-27 09:56:36 -07:00
Kieran Prasch 324c2805f5 Checkpoint #2 - Refactor Policy, and Blockchain / Registry Reflow. 2019-08-27 09:54:14 -07:00
Kieran Prasch 69aea3f725 Checkpoint: Refactors lifecycle of Blockchain and Registry. 2019-08-27 09:54:13 -07:00
Kieran Prasch 9bca91d97d
Deploy CLI Touch Ups (Tested on local private chain). Restore Syncing TImeout. Mock ChainId RPC Endpoint in some client integration tests. 2019-07-25 15:18:29 -07:00
Kieran Prasch 0b52cd2c74
Routes Ursula keyring attchment by federated/decentralized mode. 2019-07-25 15:18:29 -07:00
Kieran Prasch f1cabadd8c
Improves TransactingPower unit and integration test coverage + Adjustments and touch ups to suit. 2019-07-15 12:06:44 -07:00
Kieran Prasch cda052b710
Handle being consumed, validate 'from' field in RPC tx requests. 2019-07-15 12:06:44 -07:00
Kieran Prasch e9a3fe7878
Powerups can be 'activated' - Returning to a single-account-based TransactingPower. 2019-07-15 12:06:44 -07:00
Kieran Prasch b9fa6310be
Basic TransactingPower functional test. 2019-07-15 12:06:44 -07:00
David Núñez b301f02372 #1090: Use N=3 in test_blockchain_ursulas_reencrypt to reduce failures 2019-07-04 11:23:51 +02:00
Kieran Prasch 68b8a2735d Returning to a single-account BlockchainPower;TODO annotations for BlockchainPower. 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 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 903b06f59e Make Ursula.rest_interface() a property. Remove Character.rest_interface 2019-07-04 11:23:49 +02:00
Kieran Prasch 14dd22427b Fix off-by-one error calculating stake end-period in Stake integration test. 2019-07-04 11:23:49 +02:00
Kieran Prasch d04094c1e9 Skip Vladimir tests in accordance with Issue #1075 2019-07-04 11:23:49 +02:00
Kieran Prasch 2595623fa8 Passing character tests, adding a test for Vladimir 2019-07-04 11:23:49 +02:00
David Núñez c728c1afe0 Introduce simple PRE lifecycle test with blockchain ursulas 2019-07-04 11:22:39 +02:00
David Núñez 6cd4d2fde3 Worker validation pursuant to consensus on #1003. Closes #1033. 2019-07-04 11:22:39 +02:00
David Núñez 54d12b8827 Ursula.rest_information()[0] --> Ursula.rest_interface() 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 R. Prasch 3a80eec247 Goodbye, Three Agents. Hello, Agency. 2019-07-04 11:22:38 +02:00
jMyles 189a87399c Resetting side channel between two of the tests. 2019-07-03 16:55:12 -07:00
jMyles a57affca11 Updating test showing that #920 is fixed. 2019-07-03 13:59:52 -07:00
jMyles afe26661d5 Adding message number to side channel flow. 2019-07-03 13:51:58 -07:00
jMyles c613bcd077 A few new places where capsule_side_channel needs to be called. 2019-06-28 21:11:51 -07:00
jMyles a88d8c4159 Skipping test until #920 is closed. 2019-06-28 20:11:55 -07:00
jMyles 8b14f5d974 A different way to assert work_order similarity. 2019-06-28 20:10:59 -07:00
jMyles b92c41d928 Bob sets correctness keys earlier. 2019-06-28 20:10:59 -07:00
jMyles 31a70f1b39 Adding more narrative to the test to show what's really happening when Bob gathers CFrags. 2019-06-28 20:10:59 -07:00
jMyles 0888fc5946 Calling the capsule side channel in most places where it was previously unpacked. 2019-06-28 20:10:59 -07:00
jMyles ca68ad6e97 Our capsule side channel now tracks past messages. 2019-06-28 20:10:21 -07:00
jMyles eab64bde13 Test showing 892. 2019-06-28 20:10:21 -07:00
jMyles 3e94e91be2 Test showing Bob's second retrieval. 2019-06-28 20:10:21 -07:00
jMyles 694ba1bea2 Test showing 920. 2019-06-28 20:10:21 -07:00
Kieran Prasch 6ec361db32
Cleanup Imports, use the latest test web controller fixtures for policy and decrypt endpoints. 2019-06-26 08:50:54 -07:00
Kieran Prasch 0076e1728a
Integrate revocation control works; handle duration in response assembly 2019-06-26 08:50:54 -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 81b61ecdc8
Test showing GET-style interface working with JSONRPC 2019-06-26 08:50:54 -07:00
Kieran Prasch d61a3db89a
Porting to stringio 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
Kieran Prasch 6ea8e4cac5
Character + IPC Controller inegration work 2019-06-26 08:50:54 -07:00
Kieran Prasch 27c7b54335
JSON RPC-IPC Controller and Emitter, Round 1! 2019-06-26 08:50:54 -07: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 3bfc7aa3c8
Remove expiration date from create policy entry points 2019-06-08 14:26:07 -07:00
Kieran Prasch f90cc4542e
Testing decentralized grant, Adds missing datetime to policy creation tests. 2019-06-08 14:26:05 -07:00
Kieran Prasch 6097c83eb7
Almost all of checksum_public_address -> checksum_address 2019-06-08 14:25:35 -07:00
Kieran Prasch 1f618addba
Perform on-chain staking-check as node verification (Fix); Handle InvalidNode exception subclasses for logging 2019-06-04 21:39:46 +03:00
Kieran Prasch 5dae01cc79
Realizing the value of a decentralized identity namespace, Verification/Validation naming clarifications, Code cleanup and style fixes for signature flow. 2019-06-04 21:13:29 +03: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 cb6c76867a
Removes 'pubkey_sig' from the codebase, In favor of 'verifying_key'. 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 2903c6d3e7
Adjust tests to accomodate new eip 191 and on-chain staking checks. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch d1f42c57a9
Perform on/off chain EIP 191 verification during node discovery. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 2dfdb4ac63
Recompose verify_eip_191 into crypto.api, off of Interfaces, Clients, and Powers. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 2e022461af
Handles more ethereum client node info strings; Fixes NameError 2019-06-03 22:51:39 +03:00
Kieran Prasch ba996f5d0c
Alter CLI deply tests to tests geth provder, First pass. 2019-06-03 22:50:40 +03:00
David Núñez d48e9fc184 Make changes in Character.from_public_keys() truly backwards-compatible 2019-05-16 16:12:08 +02:00
David Núñez 4d0e34d545 Improved API for Character.from_public_bytes(). 2019-05-16 16:12:07 +02:00
David Núñez 9698e43ae3 Simplify test_collect_rewards_integration in test_blockchain_ursula.py 2019-05-16 16:07:33 +02:00
Damon C ad532d9b78 remove unneeded key arguments 2019-04-30 11:09:47 -07:00
Damon C 5b1953f404 #937 decryption endpoint for Alice 2019-04-29 12:58:23 -07:00
tuxxy fbe204ce17 Fix character-control revoke test by using a different label -- you can't grant access twice 2019-04-10 21:27:25 -06:00
tuxxy 71dc8a5cd1 Add 'add_active_policy' method on Alice 2019-04-10 20:02:31 -06:00
tuxxy 5b4f3da3d1 Modify revoke endpoint to accept label and bob's verifying key instead of the policy key 2019-04-10 20:02:31 -06:00
tuxxy 48150def7d Add id property to Policy 2019-04-10 20:01:08 -06:00
David Núñez bd44c7d65f WorkItem is now Task, and it also handles the output of re-encryption 2019-03-29 10:52:14 +01:00
tuxxy 9cedc5ecd4 Fix leftover issues from rebase 2019-03-24 09:30:20 -06:00
tuxxy 90e4427680 Store 'active_policies' instead and finish revoke endpoint
Storing revocation kits was one approach, but it seems more useful to
store "active" policies, instead. I think this will probably assist in
future additions as well.
2019-03-24 09:30:20 -06:00
Kieran Prasch f98fce348c
Dealing with the side effects of BlockchainPolicy updates 2019-03-09 17:31:28 -08:00
Kieran Prasch 244f0e0885
Update tests to accomodate staking CLI requirements: orders blockchain Ursulas, better fixture organization; Staking CLI integraton tests. 2019-03-09 17:31:28 -08:00
Kieran Prasch 84ef320a4c
Updates policy encrypting key derivation language. 2019-03-06 16:39:02 -08:00
Kieran Prasch 1be1dab6c8
Respond to RFCs in PR #802. 2019-03-06 16:29:33 -08:00
Kieran R. Prasch c8e460a101
Controller usage touch-ups. 2019-03-06 13:52:45 -08:00
Kieran R. Prasch dae7d59768
Updates key languagse and key encodings in test; Uses latest modifer flags ordering 2019-03-06 13:52:45 -08:00
Kieran R. Prasch a9bab0e4ba
Fix malformed logging described in #724 and more 2019-03-06 13:48:22 -08:00
Kieran R. Prasch 35c1e19138
Fixes caught by character specifications; Formalize specification classes. 2019-03-06 13:48:22 -08:00
Kieran R. Prasch 3e202da0a4
Update tests to suit controller classes API 2019-03-06 13:48:22 -08:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
David Núñez 5846005ca5 WorkOrder has to include Alice's pubkey as ETH address for later use in ZKP logic 2019-02-23 12:37:14 +03:00
David Núñez 3391fbcb47 Bob CharControl endpoint for getting encrypting and signing public keys 2019-02-16 23:21:39 +01:00
Kieran R. Prasch 89d26301ea Passing character control tests with more sensible API fields and serilization. 2019-02-16 14:42:06 -07:00
tuxxy a8c4ecee3e Use a common policy label fixture 2019-02-16 14:42:06 -07:00
Kieran R. Prasch 9dccbc7377 work-around for message kit serialization Issues; Fails on Tmap decryption. 2019-02-16 14:42:06 -07:00
Kieran R. Prasch a1e1e39168 Adds failing message kit serialization test 2019-02-16 14:42:06 -07:00