-
Notifications
You must be signed in to change notification settings - Fork 641
AddressExtensions.IsPrecompiles - Extensibility #9213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Not sure if I like it, what do you think about alternatives and store that info in
? Similarly how |
|
I strongly support Lukasz idea. It feels right. Another thing is that with the current scope of changes, supporting |
|
@damian-orzechowski @LukaszRozmej @wurdum I've implemented @LukaszRozmej 's idea since these changes are a lot and possibly risky - I definitely agree and would appreciate your thoughts! |
Changes needed for NethermindEth/nethermind-arbitrum#167
In Arbitrum we have Precompiled Addresses that need to be handled by
isPrecompilefunction inAddressExtensions.csSince the method is static and we can't put Arbitrum related logic there we need to make this method extensible.
With those changes, in Arbitrum we will implement
ArbitrumPrecompileChecker : IPrecompileCheckerand add all Arbitrum related addresses there.We will also use
CompositePrecompileCheckerin the Arbitrum plugin to combine Ethereum and Arbitrum precompiles.Types of changes
What types of changes does your code introduce?
Testing
Requires testing