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

[MOON-1868] pre-define solidity contract instances and address #1861

Merged
merged 4 commits into from Oct 25, 2022

Conversation

nbaztec
Copy link
Contributor

@nbaztec nbaztec commented Oct 11, 2022

What does it do?

Defines the addresses and singleton instances for precompiled solidity contracts.

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

The contract instances are readily usable without the need to provide the contract's address, or create a private instance.

@nbaztec nbaztec added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Oct 11, 2022
@nbaztec nbaztec merged commit 17048d9 into master Oct 25, 2022
@nbaztec nbaztec deleted the nish-sol-addr branch October 25, 2022 12:06
@librelois librelois mentioned this pull request Oct 27, 2022
imstar15 pushed a commit to OAK-Foundation/moonbeam that referenced this pull request May 16, 2023
…eam-foundation#1861)

* pre-define solidity contract instances and address

* add constants and use them

* fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants