Commit Graph

6902 Commits (5e494a91010d8f145401f0a104cb7fe057d239ea)

Author SHA1 Message Date
derekpierre bf5972849a Remove unnecessary passing around of dict of all metrics
Improve typing after rebase from latest master
Ensure collector is initialized before use
2020-06-09 10:10:16 -04:00
derekpierre 591d1cbec5 Fix Ursula typing and some general cleanup. 2020-06-09 08:50:18 -04:00
derekpierre a37c5661df Initial refactor of prometheus metric collection. Use of collection of individual metric collectors. 2020-06-09 08:50:18 -04:00
derekpierre 4281761ffc Update outdated event names and function parameter 2020-06-09 08:50:18 -04:00
derekpierre 89911a87ab Code cleanup. Fix typo in test 2020-06-09 08:50:18 -04:00
derekpierre d282900bd0 Re-organize prometheus tests into the unit testing category 2020-06-09 08:50:18 -04:00
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
David Núñez 212ea84985 RFCs to #2043 2020-06-09 03:02:11 +02:00
Kieran Prasch 817caade6e
Removes TestPyPI as part of CD workflow. 2020-06-08 17:11:00 -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
David Núñez 858bdc71c3 Reorganization of testnet registries 2020-06-09 01:20:27 +02: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
David Núñez b3b84660e5 Missing confirmations in contract deployers 2020-06-08 13:50:01 +02:00
Kieran R. Prasch 544a8786dd Relock dependencies; Include hypothesis. 2020-06-06 17:51:52 -07:00
David Núñez 404adf6211 Introduce some mockery in the block confirmations acceptance test to make it faster 2020-06-07 02:36:56 +02:00
David Núñez 3c71c708c2 Unit tests for EthereumClient.wait_for_receipt()
Some code changes based on test feedback
2020-06-07 02:10:26 +02: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
David Núñez dfa812e42f Unit tests for EthereumClient.block_until_enough_confirmations() 2020-06-05 04:08:55 +02:00
David Núñez af0b636098 Update tests to current approach for block confirmations 2020-06-05 04:08:55 +02:00
David Núñez 0cd0f08586 Introduce a cooling time when trying to get confirmations 2020-06-05 04:08:55 +02:00
David Núñez 9f39f83337 New approach to TX finality logic is checking the receipt repeatedly, while we collect block confirmations
* This is based on the approach used by eth-brownie
* It's less resource-intensive as it doesn't request blocks, as our previous approach
2020-06-05 04:08:52 +02:00
David Núñez 637ba98ff6 Don't use web3 directly, when we can use the client API 2020-06-05 04:07:57 +02:00
David Núñez f44796bc45 Extract get_blocktime logic from BlockchainInterface to EthereumClient 2020-06-05 04:07:54 +02:00
David Núñez 0396f0a8a1 Minour touchup to EthereumClient._has_latest_block to reduce number of calls
This is specially relevant with external ETH nodes
2020-06-05 04:06:54 +02:00
David Núñez 5c5e1a9e3f Latest web3.geth.personal and web3.parity.personal methods 2020-06-05 04:05:39 +02:00
David Núñez b0e9a40f9c ...and relocate and improve tests for get_confirmations 2020-06-05 04:05:39 +02:00
David Núñez 7e03116e51 Transplant block confirmation logic to EthereumClient.wait_for_receipt()
Also, improve it a bit along the way
2020-06-05 04:05:34 +02:00
David Núñez 519fc253bd First pass at improving block confirmation logic and tests 2020-06-05 04:02:46 +02: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