Skip to content

Cherrypick precompiles fixes#148

Merged
nanocryk merged 13 commits intomoonbeam-polkadot-v0.9.32from
jeremy-port-precompile-prs-0.9.32
Jan 16, 2023
Merged

Cherrypick precompiles fixes#148
nanocryk merged 13 commits intomoonbeam-polkadot-v0.9.32from
jeremy-port-precompile-prs-0.9.32

Conversation

@nanocryk
Copy link
Copy Markdown

@nanocryk nanocryk commented Jan 16, 2023

upstream PR: polkadot-evm#961

@librelois
Copy link
Copy Markdown

 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
Copy Markdown

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
Copy Markdown

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

@nanocryk
Copy link
Copy Markdown
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