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

Pass enabled precompiles to geth #61

Closed
wants to merge 5 commits into from

Conversation

evgeniy-scherbina
Copy link

No description provided.

@evgeniy-scherbina evgeniy-scherbina force-pushed the yevhenii/enabled-precompiles branch from 2a06865 to 041336b Compare May 15, 2024 13:42
@evgeniy-scherbina evgeniy-scherbina marked this pull request as ready for review May 15, 2024 15:10
@@ -223,7 +223,7 @@ replace (
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
// Use cosmos-sdk fork with staking transfer events, and custom tally handler support
github.com/cosmos/cosmos-sdk => github.com/kava-labs/cosmos-sdk v0.47.10-kava.2
github.com/ethereum/go-ethereum => github.com/Kava-Labs/go-ethereum v1.10.27-0.20240308170502-da7973e5eee0
github.com/ethereum/go-ethereum => github.com/Kava-Labs/go-ethereum v1.10.27-0.20240513233504-6e038346780b
Copy link
Member

Choose a reason for hiding this comment

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

If it relies on a specific geth git hash / pr, it would be useful to link to it in the pr description 😄 so its easier to track which requires which

Copy link
Author

Choose a reason for hiding this comment

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

No, it relies on latest commit of kava/release/1.10/ which is our main branch in geth fork.
So basically I just updated geth dependency, because I needed NewEVMWithEnabledPrecompiles which we recently merged into geth fork.

@@ -138,6 +138,15 @@ func (p Params) EIPs() []int {
return eips
}

func (p Params) EnabledPrecompileAddrs() []common.Address {
Copy link
Member

Choose a reason for hiding this comment

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

Add doc comment for public method, and some basic tests would be good

Copy link
Author

Choose a reason for hiding this comment

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

Fixed

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs.

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.

2 participants