Bogdan Opanchuk
2e0efe451e
Use in-memory mock LMDB environment for most tests
2021-01-02 17:19:13 -08:00
Kieran Prasch
1cf48ede24
Installs new plumbing for --max-gas-price througout CLI and configuration modules.
2020-12-25 01:51:16 +01:00
David Núñez
568d05ae52
Simplify max_price_gas_strategy: not controlled by an envvar anymore
2020-12-25 01:51:16 +01:00
David Núñez
9cba73bd53
Deprecate datafeed_fallback_gas_strategy
2020-12-25 01:51:16 +01:00
damon
5ed448058c
worktracker: enforce random_interval after one failure
2020-12-25 01:51:16 +01:00
David Núñez
489e7e6c70
Use the 3 gas price datafeeds we have to build a median-based strategy
2020-12-25 01:51:15 +01:00
David Núñez
356cc1ad4a
Include the Zoltu gas price oracle in the datafeed fallback strategy
2020-12-25 01:51:15 +01:00
David Núñez
659c8db947
Added gas price data feed from gas-oracle.zoltu.io
2020-12-25 01:51:15 +01:00
David Núñez
a6a089f76f
Introduce a max price gas strategy wrapper that caps the price of any strategy
...
Controlled by the NUCYPHER_MAX_GAS_PRICE_GWEI envvar
2020-12-25 01:51:15 +01:00
David Núñez
0c3b9c2742
Use canonical speed names internally in gas price datafeeds
2020-12-25 01:51:15 +01:00
David Núñez
6e83b0ffe1
Prioritize Upvest gas price datafeed
2020-12-25 01:51:15 +01:00
David Núñez
a56ce5151d
Construct the datafeed gas strategy based on the speed name
2020-12-25 01:51:15 +01:00
David Núñez
71ad8c2c31
Introduce equivalence classes for gas speed names
2020-12-25 01:50:43 +01:00
David Núñez
5f93a3ae59
Skip card unit tests until qrcode module is added as dependency in 2440
2020-12-17 23:30:51 +01:00
Kieran Prasch
89043b3065
Deprecates managed provider/client syncing
2020-12-14 12:01:18 -08:00
Kieran Prasch
2eefc07d31
Deprecates internal geth process mode.
2020-12-09 17:39:42 -08:00
Kieran Prasch
d21d7ee947
Additional help text and accompanying test; Relocate help test to CLI unit.
2020-12-09 14:10:03 -08:00
Kieran R. Prasch
c51c4a7f09
Character cards are verifiable
2020-12-08 23:55:10 -08:00
Kieran Prasch
66ada04432
Relax regex testing for contract versioning.
2020-12-05 08:16:27 -08:00
Kieran Prasch
e8370513f8
Increase maximum acceptable version length in regex test for contracts.
2020-12-03 16:48:04 -08:00
Kieran Prasch
a16691bd62
Return of import remappings.
2020-12-03 16:48:33 +03:00
Kieran Prasch
d40c422ceb
Use absoute import paths for nucypher
2020-12-03 16:48:30 +03:00
Kieran Prasch
70cf785c7f
Arrange tests to respect upstream changes; Conventionalize testerchain class attrs; Accept nonce atability testing with delay.
2020-12-03 16:48:30 +03:00
Kieran R. Prasch
7b0896f121
hypothesis validation for devdoc regex. Finish test split.
2020-12-03 16:48:29 +03:00
Kieran R. Prasch
3e648673f6
Better support for programatic usage of help paths.
2020-11-23 11:58:05 -08:00
Kieran R. Prasch
9299ab186d
newsfragment for PR #2446
2020-11-18 20:07:19 -08:00
David Núñez
3b70b06a8a
Support for user-provided gas price via a fixed-price gas strategy
2020-11-06 12:19:34 +01:00
David Núñez
7f45dedecf
Merge pull request #2412 from cygnusv/llaves
...
Use NuCypher Logger instead of Twisted Logger. Closes #2404
2020-11-06 12:17:14 +01:00
jMyles
c4786f551a
No longer are there 'serving' domains and 'learning' domains. Everybody just has a domain.
2020-11-03 18:13:15 -07:00
David Núñez
03b7545a92
Additional test cases for loggers
2020-11-03 12:03:09 +01:00
David Núñez
67596a8aec
Change NuCypherLogger behavior to always escape curly braces.
...
The rationale is that it's unclear how to justify the previous behavior with some edge cases like `{{}`, which was `{}`.
Also unit tests are improved even further.
2020-10-30 21:53:14 +01:00
David Núñez
1d750af1f9
Even more detailed tests for NuCypher logger: now with JSON observer
2020-10-30 20:55:56 +01:00
jMyles
38958f69ea
Adding assertions to make sure that the error handler is working and emitting logs.
2020-10-28 08:40:33 -06:00
jMyles
4c17201be2
Moving tests over to unit package.
2020-10-28 07:21:39 -06:00
David Núñez
145ebdf8ef
When sending TXs, allow to specify if we want to use a pending nonce or not
2020-10-19 18:59:28 +02:00
David Núñez
32a8d92320
Enriching web3 gas strategies: better error messages; expected confirmation times
2020-10-19 18:59:28 +02:00
David Núñez
9b87786510
Create a gas strategies module in nucypher.utilities
2020-10-19 18:52:22 +02:00
derekpierre
e27f7ef482
Reduce the frequency of the prometheus metrics collection.
2020-10-16 13:06:28 -04:00
Kieran Prasch
4d86930ffd
Include missing lisence file to avoid precommit hook failures.
2020-10-14 15:33:07 -07:00
tuxxy
828a630c0e
Remove treasure_map_id param from receive_treasure_map API endpoint
...
Fix up logic and add tests. Additionally, skip test_mass_treasure_map_placement
2020-10-13 10:01:37 +02:00
tuxxy
46e1fdd4c1
Create a TreasureMap datastore record and move model tests to test_datastore_models
...
Move test_datastore_models to unit tests
2020-10-13 10:01:37 +02:00
derekpierre
c979083a81
Handle the inlcusive block range when filtering events.
2020-10-02 09:29:42 -04:00
K Prasch
7edcdc4f9e
Merge pull request #2287 from derekpierre/try-retry
...
Add default retry functionality to EthereumClients
2020-09-29 19:11:14 -07:00
derekpierre
3e8834e174
Code cleanup including reusing existing add_middleware function, and general cleanup of tests.
2020-09-25 09:43:04 -04:00
derekpierre
43ea03f022
Add retry middleware for Infura.
2020-09-24 21:45:38 -04:00
derekpierre
96084fb1b9
Remove infura:// scheme for infura specific provider - it isn't used.
2020-09-24 19:32:08 -04:00
derekpierre
cc9ea699c9
Use Web3 middleware, instead of modifying web3 provider classes, to automatically retry requests based on response/exception returned.
...
Add unit test for AlchemyClient
2020-09-24 19:32:09 -04:00
derekpierre
7f362e0c24
Refactor name of retry callable parameter.
2020-09-24 19:32:08 -04:00
derekpierre
9e8df7509f
Initial work for retry functionality with Alchemy providers.
2020-09-24 19:32:08 -04:00
David Núñez
0fb2cad64a
Relocate keypairs.py from datastore to crypto
2020-09-24 20:28:27 +02:00