Skip to content
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

Plugin system for solidity precompiles #5576

Open
glitch003 opened this issue Aug 9, 2023 · 2 comments
Open

Plugin system for solidity precompiles #5576

glitch003 opened this issue Aug 9, 2023 · 2 comments
Labels
A-extensions Area: extensions C-anvil Command: anvil T-feature Type: feature

Comments

@glitch003
Copy link

Component

Anvil

Describe the feature you would like

As more and more L2's come online with their own solidity precompiles, it would be nice to be able to inject those into Anvil for testing.

Does Anvil have any support or plans for this kind of thing? It would be injecting rust code with a solidity binding.

Additional context

No response

@glitch003 glitch003 added the T-feature Type: feature label Aug 9, 2023
@zerosnacks zerosnacks added the A-extensions Area: extensions label Jun 27, 2024
@zerosnacks zerosnacks added the C-anvil Command: anvil label Jul 3, 2024
@zerosnacks zerosnacks added this to the v1.0.0 milestone Jul 26, 2024
@jenpaff jenpaff moved this to Todo in Foundry Sep 30, 2024
@grandizzy grandizzy removed this from the v1.0.0 milestone Oct 10, 2024
@grandizzy
Copy link
Collaborator

@glitch003 there's support added, please check

pub trait PrecompileFactory: Send + Sync + Unpin + Debug {

Does this work for you? thank you!

@zerosnacks
Copy link
Member

cc @glitch003 related PR for context: #7589

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-extensions Area: extensions C-anvil Command: anvil T-feature Type: feature
Projects
Archived in project
Development

No branches or pull requests

3 participants