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

Injecting enabled precompiles list to EVM #27

Merged
merged 7 commits into from
Apr 29, 2024

Conversation

evgeniy-scherbina
Copy link

@evgeniy-scherbina evgeniy-scherbina commented Apr 24, 2024

Copy link
Member

@drklee3 drklee3 left a comment

Choose a reason for hiding this comment

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

We likely don't need the Manager at all anymore if we pass in a slice of enabledContracts -- added some suggestions to make it more clear on what I mean

Should be more simple and keeps handling of whether or not a precompile is enabled within parent caller in x/evm

core/vm/evm.go Outdated Show resolved Hide resolved
core/vm/evm.go Outdated Show resolved Hide resolved
core/vm/evm.go Outdated Show resolved Hide resolved
@evgeniy-scherbina evgeniy-scherbina force-pushed the precompile-manager branch 3 times, most recently from d8624b6 to 4b58de3 Compare April 25, 2024 18:27
core/vm/evm.go Outdated Show resolved Hide resolved
core/vm/precompile_test.go Outdated Show resolved Hide resolved
@evgeniy-scherbina evgeniy-scherbina changed the title Extend EVM with precompile manager Injecting enabled precompiles list to EVM Apr 25, 2024
@evgeniy-scherbina evgeniy-scherbina marked this pull request as ready for review April 25, 2024 19:32
@evgeniy-scherbina evgeniy-scherbina merged commit fef649a into master Apr 29, 2024
6 checks passed
@evgeniy-scherbina evgeniy-scherbina deleted the precompile-manager branch April 29, 2024 14:04
evgeniy-scherbina added a commit that referenced this pull request May 13, 2024
Injecting enabled precompiles list to EVM (backport #27)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants