Commit Graph

6737 Commits (3ac4a2c2acb7df0d0d521d5afa5d64fc691fc5a3)

Author SHA1 Message Date
Bogdan Opanchuk 463c145d31 Remove a debug print() 2020-05-26 10:26:42 -07:00
Arjun Hassard 2e7646ca08
Fix max penalty leviable per period @derekpierre
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-05-26 10:58:04 -06:00
arjunhassard d358ea8355 removed delegated token based punishments & other rewording 2020-05-26 10:55:03 -06:00
David Núñez a18fe7e7fa Update IBEX registry to include a test WorkLock 2020-05-26 18:22:09 +02:00
programmer10110 3e659e7423 Merge branch 'master' of github.com:nucypher/nucypher into feat/event_metrics 2020-05-26 12:35:41 +03:00
programmer10110 ebb48b2f23 type hints, tests for json_metrics_exporter 2020-05-26 12:34:30 +03:00
arjunhassard 0f297f4efb link to ethereum contracts and style change @derekpierre suggestion 2020-05-25 16:03:27 -06:00
K Prasch df78d22e7c
Merge pull request #2026 from KPrasch/orb
Fix Codecov / CircleCI Integration
2020-05-25 14:46:23 -07:00
Arjun Hassard 884509b211
Apply suggestions from code review
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-05-25 13:51:30 -06:00
arjunhassard b74fe5b3bc correctness verification schematic 2020-05-25 13:20:43 -06:00
arjunhassard 90f307d21d fixed errors 2020-05-24 22:44:21 -06:00
arjunhassard e55fb50551 documentation for genesis slashing protocol inc. correctness verification protocol 2020-05-24 22:20:43 -06:00
K Prasch 8b7ba918b5
Merge pull request #1998 from vzotova/estimate-bidders
Estimate number of bidders, functional test for enable-claiming
2020-05-22 14:48:09 -07:00
K Prasch 705b44577e
Merge pull request #2032 from fjarri/assert-fix
Check the actual boolean values instead of asserting a non-empty tuple
2020-05-22 12:37:48 -07:00
Bogdan Opanchuk 51a3096805 Check the actual boolean values instead of asserting a non-empty tuple (which always passes) 2020-05-22 12:09:10 -07:00
K Prasch 1fe2a75aaa
Merge pull request #2003 from KPrasch/laggy-infura
Test reproducing double CA bug and Fix 1/2 of (#2002)
2020-05-22 11:53:39 -07:00
Kieran Prasch f87194ebca
What are snails even trying to do? 2020-05-22 10:09:54 -07:00
Kieran Prasch 4f222b6d7f
Use codecov CI orb flag for coverage report aggregation. 2020-05-22 09:50:31 -07:00
Derek Pierre 2b1b4cfeca
Merge pull request #2019 from derekpierre/license-hook
Add pre-commit hook to ensure that the nucypher license is included in python files
2020-05-22 09:27:05 -04:00
derekpierre 3e0bea5997 Update latest files after rebase with nucypher license. 2020-05-22 09:07:41 -04:00
derekpierre aaca1db128 Use specific commit hash for versioning of `insert-license` pre-commit hook. 2020-05-22 08:55:15 -04:00
derekpierre 668f25bc38 Add pre-commit hook to ensure that AGPL license is included in python source files 2020-05-22 08:55:06 -04:00
Victoria cbf7ca4b29 Apply suggestions from code review #1998
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-05-22 12:14:39 +03:00
vzotova 84121f4bee Estimate number of bidders that can be checked with the provided amount of gas in CLI, functional test for enable-claiming 2020-05-22 12:14:39 +03:00
David Núñez 1cf79b283e
Merge pull request #1989 from KPrasch/act-test
Advancing Mock Tools; > 90% Test coverage for CLI Actions
2020-05-22 04:21:21 +02:00
Kieran Prasch cf7cb682e0
RFCs for #1989; Transforms registry source manager into a formal context manager. 2020-05-21 18:54:40 -07:00
David Núñez f00bb6f6b0
Test select_client_account_for_staking() action, which handles account selection in the potential presence of allocations 2020-05-21 18:18:46 -07:00
Kieran Prasch 329fc3bebd
Respond to RFCs in PR #1989 2020-05-21 17:13:45 -07:00
Kieran Prasch 54bfbf466f
Implicitly validate all agent method checksum address inputs if that are decorated @contract_api 2020-05-21 17:12:13 -07:00
Kieran Prasch f1b130afa1
Additional annotations and comments. 2020-05-21 16:01:26 -07:00
Kieran Prasch 4169dbb004
Implement Constant Sorrow for contract api method markers. 2020-05-21 15:39:01 -07:00
David Núñez f3d1057ce3
Fix Stake.__eq__ and introduce basic unit tests for it 2020-05-21 15:09:56 -07:00
Kieran Prasch 9b9ddac234
Respond to RFCs in PR #1989 2020-05-21 14:56:45 -07:00
Kieran Prasch bf6d2ad65f
Fixes ContractAgency.get_agent return annotation and alias. Thanks @fjarri. 2020-05-21 14:56:33 -07:00
Arjun Hassard fd8a04f3a4
Merge pull request #2020 from KPrasch/master
Relock dependencies
2020-05-21 14:20:56 -07:00
Kieran Prasch 0890b39239
Relock dependencies 2020-05-21 13:05:17 -07:00
programmer10110 eef0b46dea Merge branch 'master' of github.com:nucypher/nucypher into feat/event_metrics 2020-05-21 13:36:00 +03:00
Kieran Prasch 9c55d5a117
Adapting new tests to api changes caused by rebase. 2020-05-20 22:18:32 -07:00
Kieran Prasch 87cc3b7767
Allow properties to be collected and handled in auto mocking. 2020-05-20 21:46:21 -07:00
Kieran Prasch 00f042ecde
Mark property method contract calls as ATTRIBUTE 2020-05-20 21:46:21 -07:00
Kieran Prasch 5a65fa6dfb
Respond to RFCs in PR #1989 2020-05-20 21:46:20 -07:00
Kieran Prasch b47ca79c7d
Manually apply end-of-file-fixer to diff. 2020-05-20 21:45:05 -07:00
Kieran Prasch 394332eef0
Clear side effects on agent mock by default 2020-05-20 21:45:05 -07:00
Kieran R. Prasch 5250305f4a
Ensure unifirm mock coverage of contracts in FT suite 2020-05-20 21:45:04 -07:00
Kieran Prasch 5bacc2f61c
Polish off condensed auto agent mocking and example implementation on worklock CLI FT 2020-05-20 21:44:05 -07:00
Kieran Prasch eea65c6444
Use function type flags with contract api decorator 2020-05-20 21:43:47 -07:00
Kieran Prasch 7913427352
Condensed auto-mocking for agents. 2020-05-20 21:43:45 -07:00
Kieran Prasch ddfb80880f
Unified contract api markers 2020-05-20 21:42:23 -07:00
Kieran Prasch 9b9efceee3
Proof of concept for metaprogramming apoproach to contract mocking. 2020-05-20 21:42:23 -07:00
Kieran Prasch 40f2a75020
Decorate all contract api methods @contract_call or @transaction 2020-05-20 21:42:23 -07:00