Commit Graph

6729 Commits (28b29edd7063d3524697923e02179d184ce89f64)

Author SHA1 Message Date
derekpierre 28b29edd70 Initial refactor of prometheus metrics configuration. 2020-06-09 08:50:18 -04:00
K Prasch 7a81566ea9
Merge pull request #2072 from vzotova/hide-commit
Hide 'commit-next' from help messages
2020-06-08 19:07:38 -07:00
K Prasch 16a18f223e
Merge pull request #2085 from KPrasch/master
Keep the 'v' when pushing a tag from Make.
2020-06-08 16:46:59 -07:00
Kieran Prasch 6976319f62
Keep the 'v' when pushing a tag from Make. 2020-06-08 16:35:19 -07:00
Kieran Prasch da4a3369a7
Bump version: 2.1.0-beta.9 → 2.1.0-beta.10 2020-06-08 16:31:44 -07:00
K Prasch 9fb5caee5f
Merge pull request #2079 from vzotova/spdx-license
SPDX license identifier in contracts
2020-06-08 15:07:43 -07:00
K Prasch 2e057b68ac
Merge pull request #2078 from KPrasch/skipper
Fixes #1909 - Use a decorator to skip tests on CI
2020-06-08 15:07:29 -07:00
Kieran Prasch 442c9a7c30
Respond to RFCs in PR #2078 2020-06-08 14:53:41 -07:00
K Prasch 14bb63aef8
Merge pull request #2082 from KPrasch/forgetful
[Hotfix] Fix ursula forget command
2020-06-08 14:45:46 -07:00
K Prasch 9333cce9f2
Merge pull request #2077 from KPrasch/deps
Relock dependencies; Include hypothesis.
2020-06-08 14:32:55 -07:00
Kieran Prasch b5a7fe85ad
Hotfix for broken ursula forget command. 2020-06-08 14:24:42 -07:00
Kieran Prasch e5c51507ed
Fixes #1909 - Use a decorator to skip tests on CI. 2020-06-08 10:41:56 -07:00
vzotova 4335664aca SPDX license identifier in contracts 2020-06-08 15:52:54 +03:00
Kieran R. Prasch 544a8786dd Relock dependencies; Include hypothesis. 2020-06-06 17:51:52 -07:00
K Prasch c38f67db9a
Merge pull request #2076 from KPrasch/willow
Fixes duplicate apidoc build
2020-06-05 11:54:12 -07:00
Kieran Prasch 9195982da7 Removes apidoc build from Makefile - Understand the apidoc settings in config.py as canonical. 2020-06-05 11:18:47 -07:00
vzotova 790e22685c Adds `receive()` function to contracts instead of payable `fallback()` 2020-06-05 17:21:05 +03:00
vzotova b8b22e9cf0 Hide 'commit-next' from help messages 2020-06-04 20:33:21 +03:00
K Prasch 89a602937b
Merge pull request #2037 from KPrasch/fuzzy
Typing for Contract Agents
2020-06-04 09:19:57 -07:00
Kieran Prasch 065ca73689
Fixes several inaccurate Tuple hints; Keep at_periods checking for None. 2020-06-03 17:05:12 -07:00
David Núñez 7382763683
Merge pull request #2064 from vzotova/docs
Small updates in contract docs
2020-06-03 17:14:59 +02:00
Victoria feb92e90c6
Apply suggestions from code review #2064
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-06-03 16:40:20 +03:00
vzotova f8077d03c9 Refreshing contract docs 2020-06-03 16:25:06 +03:00
Kieran Prasch 5ac0351f16
Fixes misnomer: interface_agent -> interface_contract. 2020-06-02 14:44:26 -07:00
Kieran Prasch 7f661c9bb0
Cleanup agent TODOs and docstrings. 2020-06-02 12:46:15 -07:00
Kieran R. Prasch 4788821632
Respond to RFCs in PR #2037; Apply suggestions from code review.
Co-authored-by: David Núñez <david@nucypher.com>
2020-06-02 12:36:39 -07:00
David Núñez d41cc8fe80
Merge pull request #2059 from cygnusv/wlcov
Increase worklock command coverage to ~97%
2020-06-01 18:49:22 +02:00
David Núñez 993b70d19a Address RFCs to #2059 2020-06-01 16:45:09 +02:00
David Núñez 968a5979ed Make test refund interactive to increase coverage. Fix a bug along the way! 2020-06-01 04:16:42 +02:00
David Núñez e04247e5af Make claiming test interactive to increase coverage 2020-06-01 04:09:55 +02:00
David Núñez 787d0ca2f2 Test claiming not available 2020-06-01 04:04:00 +02:00
David Núñez 24978b058a Improve test for worklock bid time checks, to actually test the CLI layer 2020-06-01 03:26:07 +02:00
David Núñez d42f838f7a Test worklock account selection 2020-06-01 03:03:07 +02:00
David Núñez 62b8a1f240 CI: Fix path to sampling distribution test in nightly build 2020-05-31 19:54:35 +02:00
David Núñez 80175c8751 Test interactive bid increasing 2020-05-31 19:51:10 +02:00
David Núñez 9745bdf602 Test interactive bidding. Extract some CLI strings to literature 2020-05-31 19:51:10 +02:00
David Núñez b023e752b3 CLI tests: Correct user input, don't pass env vars 2020-05-31 19:51:10 +02:00
David Núñez 6e2ef561b5 Improve valid bid test: make it more a CLI/Bidder integration test
Also, input is supposed to be denominated in ETH
2020-05-31 03:24:56 +02:00
David Núñez 6384a198af Mark some tests as FIXME as they are testing the Bidder, not the CLI 2020-05-31 03:24:53 +02:00
K Prasch f94bed6a22
Merge pull request #1923 from p2p-org/feat/event_metrics
Feat/event metrics
2020-05-29 12:21:23 -07:00
David Núñez 6145ea0d62
Merge pull request #1944 from nucypher/kerabatsos
[EPIC] Kerabatsos - Documentation Before Mainnet
2020-05-29 20:34:36 +02:00
derekpierre 00a5c2cd26 Respond to RFCs in #1944.
Co-authored-by: David Núñez <david@nucypher.com>
2020-05-29 09:40:44 -04:00
programmer10110 1d6e58cb4f divide get_event_metrics_collectors on separate functions 2020-05-29 15:00:00 +03:00
Bogdan Opanchuk 9ca01e346b Fix a branch in get_all_active_stakers() for the new return type 2020-05-28 17:46:33 -07:00
Bogdan Opanchuk 7eba12f2ad Fix typing in get_all_active_stakers() and make it return a dict instead of a list of lists 2020-05-28 17:46:33 -07:00
Bogdan Opanchuk 8f66cee6ba Fix typing in ContractAgency 2020-05-28 17:46:33 -07:00
Bogdan Opanchuk 24c45ce0d8 Fix return value annotation of a contract (check that it is correct!) 2020-05-28 17:46:33 -07:00
Bogdan Opanchuk 2c127dd4fd Fix type signature - the only return statement returns a VersionedContract 2020-05-28 17:46:33 -07:00
Bogdan Opanchuk 591e8b7b3d Cast int (the result of a sum) back to NuNits 2020-05-28 17:46:33 -07:00
Bogdan Opanchuk ca9c27c712 Simplify conflicting type annotations
1) In the signature, having VersionedContract in the union is supefluous, since it is derived from Contract
2) In the condition, restricting the return type to VersionedContract does not do anything,
since the function is supposed to work with any Contract object.
2020-05-28 17:46:33 -07:00