Commit Graph

7931 Commits (1d750af1f9b56785467da335d412fa8cfb22f0c0)

Author SHA1 Message Date
David Núñez 1d750af1f9 Even more detailed tests for NuCypher logger: now with JSON observer 2020-10-30 20:55:56 +01:00
jMyles 546f482aa5
Bump version: 4.1.0 → 4.1.1 2020-10-29 12:11:31 -06:00
Derek Pierre 45e0c16f6d
Merge pull request #2396 from derekpierre/release-notes-action
Simple GitHub action to ensure release note entry included in PRs into main.
2020-10-29 09:20:17 -04:00
damon c b6b896d4bf
Merge pull request #2410 from vepkenez/dead-nodes-walking
restart worker task on fail
2020-10-28 17:12:20 -07:00
damon c ace8ccacbc
Merge pull request #1 from jMyles/dead-nodes-walking
Adding some assertions to increase test reliability.
2020-10-28 13:38:17 -07: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 a87a17d76a Actually, we may as well stop here to prevent the loop from running in a possible race condition. 2020-10-28 08:34:39 -06:00
jMyles 4c17201be2 Moving tests over to unit package. 2020-10-28 07:21:39 -06:00
damon 168b897181 adds test for abort on error 2020-10-28 05:16:18 -07:00
damon ef53754d39 remove unused code/imports 2020-10-28 05:08:16 -07:00
damon de47e2d497 working test of restarting worker 2020-10-28 05:03:28 -07:00
damon 7cde519134 restart worker task on fail 2020-10-28 04:08:05 -07:00
K Prasch c3dc7fabec
Merge pull request #2363 from arjunhassard/main
Genesis global fee range -> docs
2020-10-26 12:59:49 -07:00
K Prasch 78339a70e0
Merge pull request #2383 from KPrasch/grantee
Update grant availability script for mainnet usage
2020-10-23 09:09:55 -07:00
Kieran Prasch 5b7668127e Respond to RFCs in PR #2383 2020-10-22 11:09:21 -07:00
derekpierre de15276eab Bloody quotes caused problems. 2020-10-22 11:18:56 -04:00
derekpierre 8ca3a5d84c Make release note entry check path absolute. 2020-10-22 11:17:42 -04:00
derekpierre 4c7b8d1f55 Add release note entry for PR #2396. 2020-10-22 11:17:42 -04:00
derekpierre 2ca7e1a38e First attempt at GitHub action to ensure release note entry included in PRs. 2020-10-22 11:17:35 -04:00
K Prasch e531035ae8
Merge pull request #2384 from vzotova/remove-sub-stakes
Method to remove unused sub-stakes in StakingEscrow
2020-10-21 09:34:49 -07:00
Victoria 8c80b03822 Apply suggestions from code review #2384
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: Arjun Hassard <arjunhassard@gmail.com>
Co-authored-by: Kieran Prasch <kieran@nucypher.com>
2020-10-21 10:05:57 +03:00
vzotova 574118230a Small docs update 2020-10-20 20:33:39 +03:00
vzotova d1ede31ebc CLI method to remove unused sub-stake 2020-10-20 20:33:39 +03:00
vzotova b443ab7007 Method to remove unused sub-stakes for agent and actor 2020-10-20 20:33:38 +03:00
vzotova 30a06fe37d StakingEscrow: method to remove unused sub-stakes 2020-10-20 20:33:38 +03:00
Arjun Hassard e0f828c8a7 ERT enactment of genesis parameters via setFeeRateRange 2020-10-20 12:59:33 -04:00
Kieran Prasch 4fc1d469fb
Bump version: 4.0.1 → 4.1.0 2020-10-19 17:18:03 -07:00
damon c 3d0e54f328
Merge pull request #2389 from cygnusv/gaseoso
Track pending commitment transactions in WorkTracker
2020-10-19 17:15:46 -07:00
Kieran Prasch 52ad36aea3 Use an instance method for replacement commitment transaction fire for easier spy and mock. 2020-10-19 16:27:35 -07:00
Kieran Prasch ba8cae96eb Respond to RFCs in PR #2389 2020-10-19 15:56:14 -07:00
Kieran Prasch 250786d469 Expands worker auto commitment testing to cover auto replacement transactions. 2020-10-19 15:46:37 -07:00
Kieran Prasch f7743068be Always perform tracking consistency check, even with no unmined transactions. 2020-10-19 15:45:59 -07:00
Kieran Prasch a88904c28c Allow local commitment tx cahce cache to lag 2020-10-19 15:45:01 -07:00
Kieran Prasch ac905b2ecd Use an instance method for work tracker's max confirmation time for easier mocking 2020-10-19 15:44:11 -07:00
David Núñez 7e644b0770 Be sure we're using the MockBlockchain in integration tests 2020-10-19 21:57:45 +02:00
Kieran Prasch 9c5ab2b601 Passing auto-commitment tests: Expand worker auto-commitment to include pending traction management 2020-10-19 12:52:26 -07:00
Kieran Prasch 0522777c33 Integrate internal commitment tx tracking and conssistency check; Breakout work tracking taks into multiple sub-functions 2020-10-19 12:14:25 -07:00
David Núñez 5410aecc7c Let the Worker have its own reference to the Ethereum client
Other small fixes
2020-10-19 19:32:43 +02:00
David Núñez b7744ae717 Consider untracked pending transactions in WorkTracker 2020-10-19 18:59:29 +02:00
David Núñez 094bda37dd Introduce get_transaction_count API in the EthereumClient layer 2020-10-19 18:59:29 +02:00
David Núñez e6d1d00f0a Fire replacement commitment TXs if we conclude we've waited enough 2020-10-19 18:59:29 +02:00
David Núñez ce4fd8d6fc BlockchainInterface.gas_strategy should store the name of the strategy, for future reference 2020-10-19 18:59:29 +02:00
David Núñez 04fd466453 Disable glacial gas strategy. Too risky.
https://youtu.be/fbyc8WKi4wM
2020-10-19 18:59:29 +02:00
David Núñez b9aa54c73e Remove incorrect version announced as part of abridged_node_details 2020-10-19 18:59:29 +02:00
David Núñez 2caec91b3e Correct usage of block numbers when tracking pending confirmations 2020-10-19 18:59:29 +02:00
David Núñez 652ae288e9 Configure default use of use_pending_nonce when fire_and_forget. See #2385 2020-10-19 18:59:28 +02: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 306333c3e8 Include commitment transaction tracking in worker async task.
Co-authored-by: Kieran Prasch <kieranprasch@gmail.com>
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