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

Cherrypick precompiles fixes #148

Merged
merged 13 commits into from
Jan 16, 2023

Conversation

nanocryk
Copy link

@nanocryk nanocryk commented Jan 16, 2023

upstream PR: polkadot-evm#961

@librelois
Copy link

 polkadot-evm#963 and  polkadot-evm#964 can be cherry pick on our branch moonbeam-polkadot-v0.9.32 directly.

The purpose of this PR is to merge polkadot-evm#961 on our fork without waiting upstream merge.

@librelois
Copy link

When running cargo check --tests --all the template node doesn't build with an enum missing in sc_consensus_aura. Is this an issue for us?

I fixed the template compilation

@librelois
Copy link

@nanocryk can you add some rust unit tests that check the good behavior of these precompiles with some hardcoded inputs?

@nanocryk
Copy link
Author

Added tests for ecrecover. The other 2 changes already have tests (changed an existing test that was non-compliant for modexp padding, and added a new test with hardcoded input for modexp gas used)

@nanocryk nanocryk merged commit 238d002 into moonbeam-polkadot-v0.9.32 Jan 16, 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