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

imp(vm): add Address function to precompiles #8

Merged
merged 3 commits into from
Jan 16, 2023

Conversation

fedekunze
Copy link

@fedekunze fedekunze commented Jan 16, 2023

This PR adds an Address function (i.e ContractRef) to the PrecompiledContract interface for self inspection. It also updates the precompile address generation to prevent non-determinism in the ordering.

@fedekunze fedekunze marked this pull request as ready for review January 16, 2023 13:20
@fedekunze fedekunze changed the title imp(vm): add Address function to precompiles imp(vm): add Address function to precompiles Jan 16, 2023
@fedekunze fedekunze enabled auto-merge (squash) January 16, 2023 13:28
@fedekunze fedekunze merged commit 106d470 into master Jan 16, 2023
@fedekunze fedekunze deleted the fedekunze/precompile-addr branch January 16, 2023 13:38
@fedekunze
Copy link
Author

@Mergifyio backport release/1.10

@mergify
Copy link

mergify bot commented Jan 31, 2023

backport release/1.10

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jan 31, 2023
(cherry picked from commit 106d470)

# Conflicts:
#	CHANGELOG.md
#	core/vm/contracts.go
fedekunze added a commit that referenced this pull request Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants