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

Force precompile modules registration by importing ethclient as a package #1121

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

wh00hw
Copy link
Contributor

@wh00hw wh00hw commented Mar 12, 2024

Why this should be merged

When a project like avm-relayer imports ethclient/ethclient.go as a package it ensures that all precompiles defined in precompile/registry/registry.go are registered.

How is this documented

This fixes the unknown precompiled configuration: error in the unmarshalling of params.ChainConfigWithUpgradesJSON. Bugs and reproduction steps documented in ava-labs/awm-relayer#226

@wh00hw wh00hw changed the title Force precompile modules registration by importing ethclient as package Force precompile modules registration by importing ethclient as a package Mar 12, 2024
@ceyonur ceyonur linked an issue Mar 13, 2024 that may be closed by this pull request
@ceyonur ceyonur merged commit 8b0e303 into ava-labs:master Mar 13, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

ethclient.ChainConfig errors after precompile upgrade
3 participants