Skip to content

Conversation

@svlachakis
Copy link
Contributor

@svlachakis svlachakis commented Aug 28, 2025

Fixes Resolve #167

Summary

Implemented an extensible precompile architecture using IReleaseSpec.Precompiles property with lazy initialization and BuildPrecompilesCache() method, enabling chain-specific precompile support for Arbitrum and other L2 networks.

Dependencies

NethermindEth/nethermind#9222

@svlachakis svlachakis linked an issue Aug 28, 2025 that may be closed by this pull request
@svlachakis svlachakis marked this pull request as ready for review August 28, 2025 17:22
Copy link
Collaborator

@AnkushinDaniil AnkushinDaniil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! 👍

@wurdum
Copy link
Contributor

wurdum commented Aug 29, 2025

Let's wait for this discussion to be resolved. I think the current solution can be improved.

@svlachakis svlachakis marked this pull request as draft September 1, 2025 09:16
@svlachakis svlachakis changed the title ArbitrumPrecompileChecker Extension Implementation Arbitrum Precompiles Extension Implementation through IReleaseSpec Sep 1, 2025
@svlachakis
Copy link
Contributor Author

This still has the old approach - converting to draft until NethermindEth/nethermind#9222 get's merged and I update it.

hudem1

This comment was marked as resolved.

&& data[3] == 0 && data[2] == 0 && data[1] == 0 && data[0] == 0
&& (data[4] >>> 24) switch
{
0x64 => true, // ArbSys
Copy link
Collaborator

@hudem1 hudem1 Sep 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the new approach, i think it makes sense we register all our precompiles?
at least ArbGasInfo too for sure as block 1847 needs that fix for the ArbGasInfo precompile too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't register all blindly from Arbitrum docs because they create problems. ArbGasInfo yes for sure.

@svlachakis
Copy link
Contributor Author

that's the PR for the new approach

#196

@svlachakis svlachakis closed this Sep 8, 2025
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.

Sepolia Sync: Failing on block 1817 - blockhash mismatch.

4 participants