Skip to content

Sync with master#8896

Merged
wurdum merged 208 commits into
feature/arbitrum-setupfrom
feature/arbitrum/sync-with-master
Jul 1, 2025
Merged

Sync with master#8896
wurdum merged 208 commits into
feature/arbitrum-setupfrom
feature/arbitrum/sync-with-master

Conversation

@wurdum

@wurdum wurdum commented Jun 30, 2025

Copy link
Copy Markdown
Contributor

Changes

Updates Arbitrum's branch with the latest changes from master.

asdacap and others added 30 commits May 10, 2025 13:36
* Move some method to pruning trie store

* Remove set

* Use raw trie store

* Snapsync to not use full trie store

* Further remove some code

* Create test

* Whitespace

* Update src/Nethermind/Nethermind.State.Test/PatriciaTreeTests.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

* Update src/Nethermind/Nethermind.Trie/Pruning/RawScopedTrieStore.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

* Whitespace

* Use a single trie store for state

* Move to factory function

* More constructor to test function

* Rename to Build

* Overridable world state to not inherit trie store

* Make it official then

* Remove some parameters out of IPruningStrategy

* TrackedPastKeyCountMemoryRatio to TrackPastKeys

* Fix build

* Fix benchmark build

* Fix test build

* Fix build

* Moved test factory to core test

* Added comment and test

* Seal triestore

* Address comment

* Fix build

* Fix build

* Fix build again?

---------

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>
* Reapply "Perf/parallel block downloader" (#8574)

This reverts commit b9a2a93.

* Fix aura not thread safe

* Fix validate suggested block cannot run out of order

* Fix test

* Fix test

* Whitespace

* Some extra log

* Update src/Nethermind/Nethermind.Consensus/Validators/BlockValidator.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

* Update src/Nethermind/Nethermind.State/Proofs/WithdrawalTrie.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

* Update src/Nethermind/Nethermind.Synchronization.Test/BlockDownloaderTests.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

* Update src/Nethermind/Nethermind.Synchronization.Test/BlockDownloaderTests.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

* Make sure only  one request at a time

* Fix build

* Remove comment

* Remove comment

* Check disposed

---------

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>
Co-authored-by: emlautarom1 <emlautarom1@users.noreply.github.com>
* Fix trie tests

* Fix build

* Whitespace

* Does this work?

* How about now?

* What if I copy it first

* Ok, how about nwo?

* Back to memory

* You know, if you could just reproduce locally, this would be faster.

* Screw it.
Co-authored-by: rubo <rubo@users.noreply.github.com>
* Remove `IMessageSerializationService.Register`

* Check banned registration

* Slight cleanup

* Fix build

* Whitespace

* Add more check
* Track CL calls directly

* Fix tests

* Add test

* Fix suggestions

* Remove class

* Update src/Nethermind/Nethermind.HealthChecks/ClHealthRequestsTracker.cs

Co-authored-by: Lautaro Emanuel <31224949+emlautarom1@users.noreply.github.com>

* Update HealthChecksPlugin.cs

---------

Co-authored-by: Lautaro Emanuel <31224949+emlautarom1@users.noreply.github.com>
* Remove upgradeable allocation

* Remove unused method

* Remove allocate best peer

* Slight cleanup
Replace cast with `as` operator
* Use console over TestContext in EthereumTests as they can be run from Test.Runner and not flushed for a long time

* whitespace
* Start

* support clef sign transaction in RPC

* fix

* also works with eth_sign

* format

* restore

* review comments

* eth_sign rpc bug fix

* fixed personal_sign

* fix

* revert

* sig fix

* format
* Enable p2p

* Improve startup logic

* PayloadByNumber protocol

* Peer manager

* Reverse peers

* Fix formatting

* Fix build

* Fix xml

* Move CL parameters to op config

* Use external ip

* Fix npe

* Lock in EL manager

* Fix formatting

* Simplify sync

* Small fixes

* Fix config description

* Add constants

* Update src/Nethermind/Nethermind.Optimism/IOptimismConfig.cs

Co-authored-by: Ruben Buniatyan <rubo@users.noreply.github.com>

* Add logging

* typo

* Fix return

* Remove return

* Update Libp2p

* Remove test feed

* Reuse sessions

* Improve logging

* Remove sessions

* Use LocalPeer sessions

* Shuffle peers

* Fix build

* Update parentHash

* Improve logging

* Log peer

* Update head while processing

* Fix missing payloads

* Head block

* Do not shuffle

* P2P Payload status

* Update libp2p

* Remove return

* Update src/Nethermind/Nethermind.Optimism/CL/ExecutionEngineManager.cs

Co-authored-by: Lautaro Emanuel <31224949+emlautarom1@users.noreply.github.com>

* Fix formatting

---------

Co-authored-by: Ruben Buniatyan <rubo@users.noreply.github.com>
Co-authored-by: Lautaro Emanuel <31224949+emlautarom1@users.noreply.github.com>
* Enable p2p

* Improve startup logic

* PayloadByNumber protocol

* Peer manager

* Reverse peers

* Fix formatting

* Fix build

* Fix xml

* Move CL parameters to op config

* Use external ip

* Fix npe

* Lock in EL manager

* Fix formatting

* Simplify sync

* Small fixes

* Fix config description

* Add constants

* Update src/Nethermind/Nethermind.Optimism/IOptimismConfig.cs

Co-authored-by: Ruben Buniatyan <rubo@users.noreply.github.com>

* Add logging

* typo

* Fix return

* Remove return

* Update Libp2p

* Remove test feed

* Reuse sessions

* Include L1 parameters for validation

* Add `eth_chainId`

* Initial `L1ConfigValidator`

* Validate L1 config on CL startup

* Rename parameters

* Fix license date

* Adjust interface summary

* Improve logging

* Remove sessions

* Add `ArgumentNullException.ThrowIfNull`

* Use LocalPeer sessions

* Shuffle peers

* Fix build

* Update parentHash

* Improve logging

* Log peer

* Update head while processing

* Run `superchain.py`

* Fix missing payloads

* Fix `eth_chainId` deserialization

* Only use `fullTxs = true`

* Empty commit

* Empty commit

---------

Co-authored-by: Nikita Meshcheriakov <root@nikitam.io>
Co-authored-by: Ruben Buniatyan <rubo@users.noreply.github.com>
* Report on issues with system contracts

* Externalise conditional logic; intrinsic gas = 0

* Handle deposit layout issues

* Fix more tests

* More tests

* Add system call

* More tests

* Tests

* Fix more

* Fix clique

* Fix more

* Add granular exceptions; separate type fo a system call

* Update tests

* Fix solution; remove redundant changes

* Use the same code
* Extract node record provider

* DiscV5 to DI

* DiscV4 to DI

* Consolidate the network storage initialization

* Allow more margin

* Override discovery db in test also

* Whitespace
* Check if state is available in debug trace calls

* Add GetFailureResult methods

* Fix formatting

* Set block state as always available in test stub

* Mock relevant methods in unit test stubs

* Set year in copyright text

* Simplify header searches in favor of finds

* Add TryGetHeader

* Expose Block-based interfaces in IGethStyleTracer

* Avoid re-decoding block RLP

* Fix formatting

* Refactor TryGet methods to return header/block

* Set block difficulty if null
Co-authored-by: kamilchodola <kamilchodola@users.noreply.github.com>
Co-authored-by: rubo <rubo@users.noreply.github.com>
* Remove SkipLocalsInit to avoid garbage in first bytes of hash

* Use Ben's ToHash implementation

* Improve test

Co-authored-by: Ben {chmark} Adams <thundercat@illyriad.co.uk>

---------

Co-authored-by: Ben {chmark} Adams <thundercat@illyriad.co.uk>
Co-authored-by: emlautarom1 <emlautarom1@users.noreply.github.com>
Co-authored-by: Ahmad Bitar <smartprogrammer@windowslive.comm>
* Fixed `Block.AccountChanges` not being disposed in some cases

* Code cleanup

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

---------

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>
LukaszRozmej and others added 20 commits June 27, 2025 13:04
…8873)

* When json serializing doubles make decimal part optional for round numbers

* adjust tests
* Optimize JwtAuthentication.Authenticate

* Feedback
* Move high volume logs from Debug to Trace

* Apply suggestions from code review

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

* Switch some back to debug

---------

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>
…ArgsId (#8874)

* Add taikoAuth_setHeadL1Origin, taikoAuth_updateL1Origin, BuildPayloadArgsId

* Fix formatting

* Fix tests compilation

* Fix encoding
* To IBlockProducerEnv

* Fix aura

* Optimism

* Fix test

* Rename back to block producer env

* Fix build

* Slight cleanup

* Remove unused class

* Whitespace

* Update src/Nethermind/Nethermind.Merge.Plugin.Test/BaseEngineModuleTests.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

---------

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>
…8859)

* Add step

* Nicer log

* Minor tweak

* Slight tweak

* Analytics plugin

* Hive

* Slight cleanup

* UPnP

* Whitespace

* Move analytics steps ahead

* Move some more steps ahead

* Move review blocktree ahead

* Move start monitoring ahead

* Era step and eth stats step

* Fix build

* Fix test

* Remove unnecessary field

* Update src/Nethermind/Nethermind.Init/Steps/EthereumStepsManager.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

* Update src/Nethermind/Nethermind.UPnP.Plugin/UPnPStep.cs

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>

* Remove init

* Fix build

---------

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>
Trim JsonRpc Webhost

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: rubo <rubo@users.noreply.github.com>
* Call block producer directly

* Reduce change
* Slightly more reliable test

* Isolate overridable env even further

* Unit test

* Minor style change

* Slightly reduce code

* Whitespace

* Slight cleanup

* Fix build

* Remove unnecessary code

* Combine scope and component

* Fix build
* add surge-hoodi config in Runner

* Apply suggestions from code review

The local git doesn't track the config files, need to change from GUI.

Co-authored-by: Ahmad Bitar <33181301+smartprogrammer93@users.noreply.github.com>

---------

Co-authored-by: Ahmad Bitar <33181301+smartprogrammer93@users.noreply.github.com>
@wurdum wurdum requested a review from rubo as a code owner June 30, 2025 17:42
@wurdum wurdum merged commit dc32ed0 into feature/arbitrum-setup Jul 1, 2025
120 of 122 checks passed
@wurdum wurdum deleted the feature/arbitrum/sync-with-master branch July 1, 2025 09:07
@wurdum wurdum restored the feature/arbitrum/sync-with-master branch July 1, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.