Commit Graph

5342 Commits (71d49f3ed3c22bb6dd5701a28eca3cbae08a93e8)

Author SHA1 Message Date
Bogdan Opanchuk d896e68796 Remove an unused method of GlobalLoggerSettings 2020-01-10 11:22:35 +01:00
Victoria 35a0dd5528 Apply suggestions from code review #1459
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
Co-Authored-By: David Núñez <david@nucypher.com>
2020-01-10 13:14:04 +03:00
vzotova 519fa00f1a Refreshing contract docs 2020-01-10 13:14:04 +03:00
vzotova bd7d5ac43a Fix for test_sampling_distribution 2020-01-10 13:14:04 +03:00
vzotova 9af436c3af Fixes #1363 2020-01-10 13:14:03 +03:00
vzotova dd76bb6cec PolicyManager: small optimizations 2020-01-10 13:14:03 +03:00
vzotova 3fd751b638 PolicyManager: revocation using owner's signature 2020-01-10 13:14:03 +03:00
vzotova d0396ac86c PolicyManager: split creator role into creator and owner 2020-01-10 13:14:02 +03:00
vzotova 5fa515d295 Moved some gas spending from createPolicy to confimrAcivity 2020-01-10 13:14:02 +03:00
vzotova 5acb9abf76 PolicyManager: fix reentrancy test and small optimizations 2020-01-10 13:14:02 +03:00
vzotova 2e94f2cc02 Update estimate_gas script for new start/end policy time 2020-01-10 13:14:01 +03:00
vzotova 3f888c8b51 Fix cli tests with policy creation 2020-01-10 13:14:01 +03:00
vzotova 4c983fc045 Update character layer for new start/end policy time 2020-01-10 13:14:00 +03:00
vzotova 513c5a491d Agent tests for start/end policy time 2020-01-10 13:13:20 +03:00
vzotova 24d56a03cc Inter contract test for new start/end policy time 2020-01-10 13:13:19 +03:00
vzotova 8a4f079087 Tests for new policy start/end timestamp 2020-01-10 13:13:19 +03:00
vzotova 706bde0120 Contracts: discrete payment for all policy periods, flexible end timestamp 2020-01-10 13:13:19 +03:00
Bogdan Opanchuk 9e7b01f34f Remove caching from get_json_file_observer() and get_text_file_observer()
- these functions are called very rarely
- they have side effects
2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 1a72574f4b Use GroupGeneralConfig in the CLI deploy command, same as all the other commands
Fixes #1556
2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 8e11c96054 Remove GroupGeneralConfig attributes asignment and replace it with method calls
Attributes don't do anything anymore
2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 6a5a7d9ec2 Get rid of GroupGeneralConfig import in CharacterConfiguration constructor
Passing an explicit emitter from CLI instead. Fixes #1503
2020-01-10 11:10:53 +01:00
Bogdan Opanchuk f36031d019 Remove the unused `__emitter` attribute and associated methods from GroupGeneralConfig 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk fa96c4722d global_config: move `mock_networking` option to the characters that actually use it, remove `etherscan` completely 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk bfdf05c2a1 status: group options based on their usage for config/object creation, and remove duplicate checks 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk ded3a5dc01 deploy: group options based on their usage for config/object creation, and remove duplicate checks 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 17be7811fd ursula: group options based on their usage for config/object creation, and remove duplicate checks 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 23dfc1d7f4 stake: group options based on their usage for config/object creation, and remove duplicate checks 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 1a6ac9510f felix: group options based on their usage for config/object creation, and remove duplicate checks 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 17c84c95f4 bob: group options based on their usage for config/object creation, and remove duplicate checks 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 9a17aaacb0 alice: group options based on their usage for config/object creation, and remove duplicate checks 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk afe94aa278 Take only an emitter object instead of the whole config in make_cli_character() 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 9197f302d6 Group CLI options into structures (including the general options, formerly click_config) 2020-01-10 11:10:53 +01:00
Bogdan Opanchuk 043f35a4ff Move repeating CLI option definitions to a separate file 2020-01-10 11:10:53 +01:00
Justin Holmes 838709e339
Merge pull request #1451 from jMyles/discovery
Increasing performance of discovery, verification, metadata validation, and fleet state operations.
2020-01-10 01:59:15 -08:00
jMyles 757b292f0c Comment responding to @dnunez' question. 2020-01-10 01:17:14 -08:00
jMyles b0d23b309a Don't need this regression test anymore; it doesn't actually show anything terribly interesting about #1554. 2020-01-08 16:43:39 -08:00
jMyles 57bd9007ce Various changes in response to RFCs. 2020-01-08 16:43:39 -08:00
jMyles abf485a2b7 Commenting out __del__ methods of node storage classes pending fox for #1554. 2020-01-08 16:43:39 -08:00
jMyles 99096b01c7 Test showing #1554. 2020-01-08 16:43:39 -08:00
jMyles 2d2b279555 This block is no longer needed. 2020-01-08 16:43:39 -08:00
jMyles 1adb494274 This block actually only happens if we don't know the node class (ie, it's a demo or something). 2020-01-08 16:43:39 -08:00
jMyles a2ec29ab6f Re-locking. 2020-01-08 16:43:39 -08:00
jMyles d6d73612bb This lives in learning tests now. 2020-01-08 16:43:39 -08:00
jMyles c510c3531e For test purposes, we need to mature the sprout to see its cert. 2020-01-08 16:43:39 -08:00
jMyles 923f2377ba These assertions don't work at the moment, though it's not clear how important that is. 2020-01-08 16:43:39 -08:00
jMyles 332d072c40 This needs to be eager now, as we won't verify (and thus get the tested warning) otherwise. 2020-01-08 16:43:39 -08:00
jMyles b1345c24db Mature the node on a different thread, later. If at all. 2020-01-08 16:43:39 -08:00
jMyles d38faeb6a2 New notion of new_nodes: did we remember anything we didn't already know? 2020-01-08 16:43:39 -08:00
jMyles 4d5246f774 OK, now all of the error-to-log handling happens up here. 2020-01-08 16:43:39 -08:00
jMyles 49c3b767b9 Whew! Redline this entire method; it happens just-in-time now. 2020-01-08 16:43:39 -08:00