Commit Graph

134 Commits (39929d0aa36db6e07b26c99aba7f0dc9779024e2)

Author SHA1 Message Date
Bogdan Opanchuk de0f933118 Make Arrangement stateless and get rid of BlockchainArrangement 2021-01-14 11:19:35 -08:00
Bogdan Opanchuk 24d5e3a5ec Remove PolicyCredential
It isn't used anywhere
2021-01-14 11:19:35 -08:00
Kieran R. Prasch 2daa9b499d Closes #2424 2021-01-12 13:10:15 -08:00
Kieran R. Prasch 24f6b4ce5e
Expand alice confguration options to include policy storage and stay current with signed tmaps 2020-12-09 00:11:13 -08:00
Kieran R. Prasch 1580c5f89c
Extract Identity entities 2020-12-08 23:55:09 -08:00
jMyles c4786f551a No longer are there 'serving' domains and 'learning' domains. Everybody just has a domain. 2020-11-03 18:13:15 -07:00
K Prasch 9707ac4b8b
Merge pull request #2347 from fjarri/nicer-status-page
Nickname refactoring & changing nickname symbols to more common ones
2020-10-13 12:09:20 -07:00
tuxxy 35b10ec62d Handle 409 response in receive_treasure_map 2020-10-13 10:01:37 +02:00
tuxxy 38d0fccefd Truncate hracs to 16 bytes 2020-10-13 10:01:37 +02:00
tuxxy c965f72c2e Fix DoS vector on nodes through map storage 2020-10-13 10:01:37 +02:00
jMyles 94b489aa77 This test makes more sense if it just shows that no more than one map was saved, because the 'sucker' might already have had the 'legit' map. 2020-10-13 10:01:37 +02:00
jMyles 41b39bfa7b Amonia performs a pay-in-advance variant of The Wicker Man attack. 2020-10-13 10:01:37 +02:00
tuxxy 86c2744dae Add test_bob_retrieves_treasure_map_from_decentralized_node 2020-10-13 10:01:37 +02:00
tuxxy 828a630c0e Remove treasure_map_id param from receive_treasure_map API endpoint
Fix up logic and add tests. Additionally, skip test_mass_treasure_map_placement
2020-10-13 10:01:37 +02:00
Bogdan Opanchuk 725eae1738 Pass nicknames around as a class instead of unstructured data 2020-10-12 16:11:01 -07:00
derekpierre 5552a84176
Rollback py-solc-x version and clean up imports. 2020-09-17 13:26:38 -07:00
jMyles 1415843f89 Treasuremap: Decentralized -=> Signed. 2020-09-05 11:46:34 -07:00
jMyles 24bc71be6e Give Bob a chance to hit seednodes before bailing. 2020-08-27 13:16:36 -07:00
jMyles 6498992f61 Deduplicating test; moving json validation utils to utils. 2020-08-24 09:42:15 -07:00
jMyles a2b04a00a1 Starting Bob's learning loop here (which is in keeping with reality) is needed now that we don't hardcode Bob's fixture nodes. 2020-08-10 12:52:31 -07:00
jMyles 5f3eca5b4b Divide cli lifecycle tests into federated and decentralized in order to keep Ursula cache separated. 2020-08-10 12:52:31 -07:00
jMyles a0db5ffb15 Moving federated tests into their own module to keep the cache cleaner. 2020-08-10 12:52:30 -07:00
jMyles fc3e105e54 Decentralized Alice controller test needs, you guessed it, DecentralizedTreasureMap. 2020-08-10 12:42:17 -07:00
jMyles 8f248100ff Amonia needs to remember not to publish TreasureMaps, lest her gig being discovered too soon. 2020-08-10 12:42:17 -07:00
jMyles 1a20bbb151 Including a fake signature for the test. 2020-08-10 12:42:17 -07:00
jMyles 5e494a9101 Vlad's APIs are consistent with the real deal again. 2020-08-10 12:39:59 -07:00
tuxxy f5a7577290 Fix tests with new datastore changes
Use a unique temp directory for each blockchain_ursula and fix the flunky test query

Fix test_decentralized_grant test

Catch RecordNotFound errors in test_freerider_attacks

Provide a db_filepath for the test_collect_rewards_integration Ursula

Add unique temp directory for Ursula in test_collect_rewards_integration
2020-08-10 15:38:58 +02:00
tuxxy cced32aa71 Store Workorders under a random ID, and catch DatastoreTransactionError in revoke
Fix typo in __prune_arrangements and catch RecordNotFound

Fix typo in docstring for build_docs

Remove reference to old datastore in test_freerider_attacks
2020-08-10 15:38:13 +02:00
tuxxy 52038e36dc Create a MockLMDBEnv w/ fixture and fix up some tests
Patch the PolicyArrangement model to fix discovery phase tests
2020-08-10 15:38:12 +02:00
vzotova 53674d7828 Changes `Stake` class to read-only representation of sub-stake 2020-07-30 22:45:57 +03:00
vzotova 073cbf345e Refactor sub-stake status and selecting sub-stake 2020-07-09 16:33:25 +03:00
Kieran Prasch 5909c37dd1 Apply API and interface updates to for enrico file handling. 2020-06-18 08:55:21 -07:00
damon 1409bb2a61
more test fixes message->plaintext 2020-06-17 11:33:24 -07:00
Kieran Prasch 28cce2fccc Reorganize tests into multiple suites. 2020-05-27 14:11:25 -07:00