Commit Graph

8464 Commits (8f23bb245097f536a9f1443846a11c28b1c2b7f8)

Author SHA1 Message Date
vzotova 857d35c7d6 Apply suggestions from code review #2477
Co-authored-by: K Prasch <kieran@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-12-28 11:19:06 +03:00
vzotova a2b133354a Fix handling git requirements in setup 2020-12-25 11:26:52 +03:00
vzotova c6491f548d Adds generating sol docs step, small css to adjust headers size 2020-12-25 11:26:51 +03:00
vzotova 54ccf6049e Script that compiles contracts and transforms userdoc+devdoc to rst 2020-12-25 11:26:51 +03:00
Kieran Prasch e441568ff8
Bump version: 4.3.0 → 4.4.0 2020-12-24 17:47:56 -08:00
David Núñez 4e3f96540e
Merge pull request #2445 from cygnusv/not-so-fast
Not so fast... (More stability for the commitment tracker, gas price configuration improvements)
2020-12-25 02:20:20 +01:00
Kieran Prasch 0c4fae10bd Correction to FAQ formatting regading max gas price. 2020-12-25 01:51:16 +01:00
Kieran Prasch 2431774a01 Update news fragment to mention --max-gas-price 2020-12-25 01:51:16 +01:00
Kieran Prasch 99ac1a960f Removes mentions of max gas price enviorment variable. 2020-12-25 01:51:16 +01:00
K Prasch 00c0be67c3 Apply suggestions from code review
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-12-25 01:51:16 +01:00
Kieran Prasch 11fd436469 Handle max gas price serialization 2020-12-25 01:51:16 +01:00
Kieran Prasch a9638ea6e1 Mock card save method (neded to run tests as suite). 2020-12-25 01:51:16 +01: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 9e1433962e WIP: including max gas price in configuration class 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
David Núñez d9d21f7cfb Adjust some tests to use the free gas strategy by name, instead of a callable 2020-12-25 01:51:16 +01:00
David Núñez 6e06c2228f Newsfragment for issue 2420 2020-12-25 01:51:16 +01:00
David Núñez b034f558d1 Relocate and encapsulate logic to reset work tracker state 2020-12-25 01:51:16 +01:00
damon d04528513b worktracker: fix retry interval to minimum after failure 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 997e915d92 Document NUCYPHER_MAX_GAS_PRICE_GWEI environment variable in the docs 2020-12-25 01:51:16 +01:00
David Núñez 90f6a0b73d The special untracked TX marker shouldn't be used to get a TX receipt 2020-12-25 01:51:16 +01:00
David Núñez e3f3b65b34 Refine work tracker test 2020-12-25 01:51:16 +01:00
David Núñez 6df342fe4a If the tracker is up-to-date with commitments, forget pending TXs 2020-12-25 01:51:16 +01:00
David Núñez f2818bb5f0 Log test actions to facilitate debugging the worker test 2020-12-25 01:51:16 +01:00
David Núñez 5509e72437 Forget pending commitment TXs if we're starting a new period 2020-12-25 01:51:16 +01:00
David Núñez 590f269ee1 Add section about gas strategies and gas price limit in the FAQs 2020-12-25 01:51:16 +01:00
David Núñez 49305ec4e9 Log detection of new period in WorkTracker 2020-12-25 01:51:16 +01:00
David Núñez d9a3510521 Use the datafeed median strategy when using Infura, instead of the fallback
This is more resilient agains sporadic problems with one of them. Closes #2420
2020-12-25 01:51:15 +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 5500de9a59 Use the new max price wrapper on current gas strategies 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 bdcd1b4a11 Newsfragment for PR 2445 2020-12-25 01:51:15 +01:00
David Núñez 63d11b975a Temporary restriction for users in gas strategy name. See #2447
Even though in this PR we have built mechanisms to give more flexibility, let's restrict them for the moment until we're sure it will be supported everywhere
2020-12-25 01:51:15 +01:00
David Núñez 8738802d8b Fix wrong sender balance when handling transaction exceptions 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
K Prasch 1b5de0a266
Merge pull request #2475 from vepkenez/cloud-fixers
Cloudworkers: bugfixes, better cleaner envvar support
2020-12-22 13:44:08 -08:00
K Prasch 01ffaa17c2
Merge pull request #2244 from fjarri/simplify-retrieve
Simplify Bob.retrieve()
2020-12-21 14:01:17 -08:00
damon cda93e72aa cloudworkers: improved docs 2020-12-20 16:57:14 -08:00
damon 479b9793b9 cloudworkers: use constants for envvar names 2020-12-20 16:56:31 -08:00
damon f7c3d3527b replace os.path.joins with Pathlib.joinpath 2020-12-20 16:21:48 -08:00
damon 560d41ac0f cloudworkers add: use supplied nickname as is 2020-12-20 16:07:16 -08:00
damon 92ea9846f0 raise exception on conditions resulting in empty inventory 2020-12-20 16:07:16 -08:00
damon 02eb38d5a8 make ansible playbooks root relative 2020-12-20 16:07:16 -08:00