Commit Graph

4080 Commits (8e85deec07b4648cebab2e805a060cfaeae628b1)

Author SHA1 Message Date
szotov 8e85deec07 Apply suggestions from code review 2019-07-04 11:22:38 +02:00
szotov 33e97a9c2f miner->staker in tests and docs 2019-07-04 11:22:38 +02:00
szotov 821b0dcdbc Renamed miner-> staker in contracts 2019-07-04 11:22:38 +02:00
szotov fbe4493951 Changed restriction on miner<->worker relationship 2019-07-04 11:22:38 +02:00
szotov 69b21a2a85 Tests for worker events 2019-07-04 11:22:38 +02:00
szotov 73d6391672 Increase gas limit again 2019-07-04 11:22:38 +02:00
szotov f237389ca7 Tests for slashing worker 2019-07-04 11:22:38 +02:00
szotov 946ec2b2f1 Added way to slash intermediary contracts 2019-07-04 11:22:38 +02:00
szotov 0d7a356a27 Small changes in docs 2019-07-04 11:22:38 +02:00
szotov 8747177c5a Moved minimum worker periods to constructor 2019-07-04 11:22:38 +02:00
szotov 1a76d9984b Fixed agent tests 2019-07-04 11:22:38 +02:00
szotov 727a074503 Added test for setting worker 2019-07-04 11:22:38 +02:00
szotov b545e3ec9b Fixed small issues, added setWorker to UserEscrow 2019-07-04 11:22:38 +02:00
szotov 8bc89805ff Fix agents tests 2019-07-04 11:22:38 +02:00
szotov f850a42f58 Added worker role, excluded minting and activity confirmation from lock method 2019-07-04 11:22:38 +02:00
David Núñez a2cdafd500
Merge pull request #926 from nucypher/epic-schabowski
[EPIC] Schabowski: Fixes for bugs revealed by Coinlist, EthCapeTown, and EthNY hackathons
2019-07-04 11:15:57 +02:00
David Núñez a106af2e1c
Apply suggestions from code review 2019-07-04 11:15:20 +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 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
jMyles 2b6f6c653b Only use SimpleObserver if the user has expressly specified a log level. A good-enough compromise for now I guess. 2019-06-28 20:11:55 -07:00
jMyles 64df43169f Adding a block to catch NotFound, in case Ursula 404's. 2019-06-28 20:11:55 -07:00
jMyles 06a75d1f15 Cleaning up retrieve() by consolidation a branch. 2019-06-28 20:11:55 -07:00
jMyles a88d8c4159 Skipping test until #920 is closed. 2019-06-28 20:11:55 -07:00
jMyles e182d4677f Assigning each instance's IP address as its rest port in docker compose file. 2019-06-28 20:10:59 -07:00
jMyles 820ae2c2c9 Make UrsulaCommandProtocol opt-in. Closes #1087. 2019-06-28 20:10:59 -07:00
jMyles 8b14f5d974 A different way to assert work_order similarity. 2019-06-28 20:10:59 -07:00
jMyles 3f59475a36 Logging phantom node situation, though we do need to full-on bucket these per #567. 2019-06-28 20:10:59 -07:00
jMyles b92c41d928 Bob sets correctness keys earlier. 2019-06-28 20:10:59 -07:00
jMyles 96276eef89 Logging statement in the event that domains don't match (although it turns out that's *not* the problem in #941. 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 7790b106d9 Work Orders is the dict_values now. 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 ac12c461e6 Setting log level as debug for Finnegan's. 2019-06-28 20:10:21 -07:00
jMyles ca68ad6e97 Our capsule side channel now tracks past messages. 2019-06-28 20:10:21 -07:00
jMyles 37c9b75ca1 Adding --log-level as a CLI option. See #1018. 2019-06-28 20:10:21 -07:00
jMyles aa1392a55e Always set the correctness keys; new retrieval or not. 2019-06-28 20:10:21 -07:00
jMyles 18fe0d6d16 With caching in place, we can again apply the logic of whether to save the WorkOrder. 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 e393509b76 Instead of raising here, give 'em the ole' 404. 2019-06-28 20:10:21 -07:00
jMyles ab6dfa7e1d Now, we'll work in the matter of whether to retrieve anew. 2019-06-28 20:10:21 -07:00
jMyles a3df1d03d5 ...and we'll pass the cache argument down from retrieve. 2019-06-28 20:10:21 -07:00
jMyles c06cf4ba3b OK, start with a cache argument in generate_work_orders. 2019-06-28 20:10:21 -07:00
jMyles 4c0d51fd7f First step: let's stop caring for the moment whether we've retrieved against this Capsule before. 2019-06-28 20:10:21 -07:00
jMyles 694ba1bea2 Test showing 920. 2019-06-28 20:10:21 -07:00
K Prasch 72977f0a60
Merge pull request #1094 from vepkenez/optimize-circle
Speed up CI builds
2019-06-28 10:28:54 -07:00