Commit Graph

12033 Commits (main)

Author SHA1 Message Date
derekpierre 8f03cd5b7e
Generate release notes for v7.4.1. 2024-09-12 13:22:34 -04:00
Derek Pierre b43e7e6483
Merge pull request #3552 from nucypher/v7.4.1-hotfix
[EPIC] v7.4.1 Hotfix
2024-09-12 13:18:54 -04:00
Derek Pierre d22fea13fd
Merge pull request #3549 from derekpierre/poa-redundancy
POA Error: reconfiguration of `BlockchainInterface` during connectivity problems results in incomplete middleware setup
2024-09-05 08:47:11 -04:00
derekpierre 5892b67d23
Modify order of adding middlewares, poa first (layer 0), then retry, then simple cache. 2024-09-05 08:47:10 -04:00
derekpierre b22fd0fcb5
Messages for logging addition of middleware now logged at info level so that we can always observe them in the logs. 2024-09-05 08:47:09 -04:00
derekpierre 646e2f5b11
Remove is_connected in favour of is_initialized for clarity. 2024-09-05 08:47:08 -04:00
KPrasch 3b0710d611
Update newsfragments/3549.bugfix.rst
Co-authored-by: David Núñez <david@nucypher.com>
2024-09-05 08:47:07 -04:00
derekpierre 85aaa29163
Add newsfragment from #3549. 2024-09-05 08:47:06 -04:00
derekpierre bff74b7a25
Add regression test that ensures that BlockchainInterface.connect() only sets its underling instances once after successful execution. 2024-09-05 08:47:05 -04:00
derekpierre 258ebef8ef
Remove poa error redundancy middleware now that we understand the underlying cause of the problem. It was always a stop gap measure until we could determine the exact cause of the poa error; Now that we know the error it is no longer needed. 2024-09-05 08:47:04 -04:00
derekpierre 2158136c6f
BlockchainInterface.connect() should only ever be called once if successful; blips in connectivity should not cause it to be called again.
Blips in connectivity can cause resetting of underlying w3, client instances, and missing poa middleware if chain_id cannot be determined.

Co-authored-by: KPrasch <kieranprasch@gmail.com>
2024-09-05 08:47:03 -04:00
derekpierre 43e0dcb941
Make a call to eth.get_block after establishing an EthereumClient with middlewares to ensure that poa middleware, if needed, works correctly. 2024-09-05 08:47:01 -04:00
derekpierre eb7ecc844d
Add test for POA error redundancy middleware. 2024-09-05 08:47:00 -04:00
derekpierre 2ec5680a1f
Always name the middlewares we add to web3 middleware onion. 2024-09-05 08:46:59 -04:00
derekpierre f692b0650f
Always inject poa middleware for Web3 instances used for evaluating RPCConditions (and sub-classes). 2024-09-05 08:46:58 -04:00
derekpierre 930eaf9b23
Fix linter errors. 2024-09-05 08:46:57 -04:00
derekpierre 8be1f2590a
Always inject the poa middleware irrespective of chain. 2024-09-05 08:46:57 -04:00
derekpierre a0c0431969
Modify how poa error redundancy middleware is created for clarity and better cohesion with providing the name of the original poa middleware used. 2024-09-05 08:46:55 -04:00
derekpierre 45dcc317fe
Add redundancy POA error middleware that adds/replaces geth poa middleware if ExtraDataLengthError is encountered at any time. 2024-09-05 08:46:54 -04:00
derekpierre f834cfc5af
Bump version: 7.4.0 → 7.4.1 2024-09-05 08:46:49 -04:00
Derek Pierre 42c3ac528e
Merge pull request #3446 from nucypher/v7.4.x
v7.4.x
2024-08-12 09:46:38 -04:00
KPrasch 46dfe4ad84
compile release notes for v7.4.0 2024-08-12 15:36:28 +02:00
KPrasch 779724e7bf
Merge pull request #3533 from KPrasch/dkg-init-cli
Improves comms and key mismatch prevention while using the `init` CLI
2024-08-02 14:38:36 +07:00
KPrasch ccb1428557
Improves testing/mocking of ursula startup prevention due to ferveo key mismatch 2024-08-01 16:52:19 +07:00
KPrasch 0880e48dc8
handle test cases where operator address is untentionally unset in key mismatch prevention. 2024-08-01 01:21:41 +07:00
derekpierre cbabcc042e
Remove trailing slash used for acumen path in Manifest. 2024-07-31 14:14:52 -04:00
derekpierre 0a713c6916
Fix regex for json files within manifest. 2024-07-31 13:44:16 -04:00
KPrasch e3ef37d2c1
newsfrag for PR #3533 2024-08-01 00:09:34 +07:00
KPrasch 6e100a6371
handle unbonded operators when evaluating ferveo key publication at init-time 2024-08-01 00:06:19 +07:00
KPrasch 4f9e3353e1
Improves detection of accidental writing to production directories in tests; fixes unit test that was doing so. 2024-07-31 23:34:30 +07:00
KPrasch 2291bf1b48
handle mocking side-effects from ferveo public key mismatch scenarios 2024-07-31 23:25:34 +07:00
KPrasch e65d9a9c73
Prevent nucypher ursula init from executing by looking up operator address in the Coordinator contract. 2024-07-31 23:21:51 +07:00
derekpierre 6ba7cebb65
Fix linter errors. 2024-07-31 11:08:53 -04:00
derekpierre 4aa86242bf
Fix Dockerfile now that constraints file is no longer used to work around setuptools issue. 2024-07-31 11:03:39 -04:00
KPrasch f85cf10b82
removes unused test for interactive config selection 2024-07-31 22:01:10 +07:00
KPrasch 7e7e52fbb2
mock live RPC chainlist fetching for the entire test suite 2024-07-31 22:00:48 +07:00
KPrasch e3e5b8e868
CI hacking config root mock 2024-07-31 21:53:16 +07:00
KPrasch d5fe0328d4
Merge pull request #3532 from derekpierre/74-misc
7.4 Miscellaneous Updates related to POA error investigation
2024-07-31 21:42:51 +07:00
KPrasch b88439536c
ensure that the production default config root is not used in tests to accmodate init-time checks for existing private keys 2024-07-31 21:28:28 +07:00
KPrasch f451a259e2
inspect the contents of the keystore directory when checking for init-time existing private keys 2024-07-31 21:26:57 +07:00
derekpierre fa5ab9a4ae
Code cleanup - remove logging now that we no longer build a constraints file. 2024-07-31 08:46:38 -04:00
derekpierre ce94be28ce
Loosen atxm dependency restriction. 2024-07-31 08:46:22 -04:00
KPrasch 3e37a106b3
Increases correctness, accuracy and density of information provided to CLI users running initialization commands. 2024-07-31 17:45:01 +07:00
KPrasch 0ebe4d348c
remove temporary hack for setuptools==72 2024-07-31 15:37:32 +07:00
KPrasch f8a962d782
removes license headers from scripts 2024-07-31 15:37:32 +07:00
KPrasch 51922e223e
reorganize scripts directory for simplicity 2024-07-31 15:37:32 +07:00
KPrasch f9c8bdf8a6
relock dependencies with atxm==0.5.0 2024-07-31 15:37:32 +07:00
derekpierre 38e6921428
Add dev newsfragment for #3532. 2024-07-31 15:37:32 +07:00
KPrasch 1d7597fa46
nudge poa investigation 2024-07-31 15:37:32 +07:00
derekpierre b00bb4bfa2
Relock dependencies to use github branch version of atxm which will soon be the new release. 2024-07-31 15:37:32 +07:00