Commit 1e5ac84
committed
Squashed commit of the following:
commit 5a6c779
Author: Amirul Ashraf <asdacap@gmail.com>
Date: Tue Mar 24 09:46:36 2026 +0800
fix(flat): periodically clear ReadOnlySnapshotBundle cache (#10922)
* fix(flat): periodically clear ReadOnlySnapshotBundle cache to prevent stale readers
The snapshot bundle cache was only cleared on compaction/persistence events.
If persistence stalled, old entries held RefCountingPersistenceReader leases
indefinitely, preventing database compaction. Add a 15-second periodic timer
to force-clear stale cache entries.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* test: add unit test for periodic bundle cache clearing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* refactor: iterate ConcurrentDictionary directly instead of copying keys
Address PR review feedback: use TryRemove while iterating the
ConcurrentDictionary directly, avoiding the temporary key list copy.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* refactor: remove IsEmpty check as it acquires all bucket locks
Address review feedback: ConcurrentDictionary.IsEmpty acquires all
bucket locks, making it more expensive than just iterating directly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Ben {chmark} Adams <thundercat@illyriad.co.uk>
commit d9e819e
Author: Ben {chmark} Adams <thundercat@illyriad.co.uk>
Date: Mon Mar 23 22:42:46 2026 +0000
test: update pyspec fixtures to v5.4.0/v5.5.1 and adapt to forked release layout (#10931)
* Adapt pyspec fixtures to forked release layout
* Fix Amsterdam SSTORE gas ordering
* fix: add missing usings for TestItem and InsertCode extension in Eip8037 test
* Restore prestate for invalid access-list state tests
* fix: add missing usings and fix Ether extension in pre-Berlin access list test
* hmm
* fix: detect AccessList tx type by field presence, not list emptiness
JsonToEthereumTest.Convert set TxType.AccessList only when the built
access list was non-empty. Pyspec fixtures with empty accessLists: [[]]
were misclassified as legacy txs, so pre-Berlin rejection didn't fire
and the post-state root diverged.
Check whether the accessLists/accessList JSON field was present rather
than whether the parsed list has entries. Rebuild regression test
programmatically using the expected hash from pyspec fixture
test_eip2930_tx_validity[fork_Istanbul-invalid-state_test].
* test: add Convert regression test for empty accessLists field detection
commit 057441c
Author: Gaurav Dhiman <newmanifold000@gmail.com>
Date: Tue Mar 24 04:02:29 2026 +0530
Fix buffer leak tests to use PooledBufferLeakDetector (#10887)
commit ae8e0ee
Author: Tomass <155266802+zeroprooff@users.noreply.github.com>
Date: Mon Mar 23 22:32:03 2026 +0000
Remove duplicate assertion in SnapshotCompactorTests (#10923)
Co-authored-by: Ben {chmark} Adams <thundercat@illyriad.co.uk>
commit d4214dd
Author: Marc <Marchhill@users.noreply.github.com>
Date: Mon Mar 23 17:59:29 2026 +0000
Gnosis Osaka (#10906)
osaka gnosis config
Co-authored-by: Marc Harvey-Hill <10379486+Marchhill@users.noreply.github.com>
commit 4228cb3
Author: Alexey Osipov <me@flcl.me>
Date: Mon Mar 23 20:50:00 2026 +0300
Dispose on exception (#10921)
* Dispose more
* Dispose in rare case
* Catch more; cleanup
---------
Co-authored-by: Ben {chmark} Adams <thundercat@illyriad.co.uk>
commit 871e9c7
Author: Marc <Marchhill@users.noreply.github.com>
Date: Mon Mar 23 16:20:47 2026 +0000
Fix AuRaMergeEngineModuleTests (#10872)1 parent 6a25504 commit 1e5ac84
File tree
32 files changed
+471
-281
lines changed- .agents/rules
- src/Nethermind
- Chains
- Ethereum.Blockchain.Pyspec.Test
- Amsterdam
- Ethereum.Test.Base
- Ethereum.Transaction.Test
- Nethermind.Core.Test
- Nethermind.Evm.Test
- Nethermind.Evm/Instructions
- Nethermind.Merge.AuRa.Test
- Nethermind.Merge.Plugin.Test
- Nethermind.Network.Discovery.Test
- Nethermind.Network.Test
- Nethermind.Network/P2P/Subprotocols
- Eth/V62/Messages
- Snap/Messages
- Nethermind.Serialization.Rlp
- Nethermind.Specs.Test/ChainSpecStyle
- Nethermind.Specs
- Nethermind.State.Flat.Test
- Nethermind.State.Flat
32 files changed
+471
-281
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
106 | 114 | | |
107 | 115 | | |
108 | 116 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
Lines changed: 34 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
37 | 70 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
183 | | - | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
| 155 | + | |
| 156 | + | |
155 | 157 | | |
156 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
| 162 | + | |
158 | 163 | | |
159 | 164 | | |
160 | 165 | | |
| |||
Lines changed: 85 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
38 | 123 | | |
0 commit comments