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

Customize origin for contract deployment #1

Merged
merged 7 commits into from
Jun 7, 2024

Conversation

Agusrodri
Copy link
Collaborator

@Agusrodri Agusrodri commented May 27, 2024

Adds two main filters to pallet-evm Config to control which accounts can deploy a contract:

  • CreateOrigin: this filter acts when an account is trying to deploy a contract via CREATE method, which is the direct way of creating contracts.
  • CreateInnerOrigin: this filter is applied when an account is trying to deploy a contract via a CALL method, that internally contains a CREATE.

@Agusrodri Agusrodri marked this pull request as ready for review May 27, 2024 15:15
Cargo.toml Outdated Show resolved Hide resolved
@Agusrodri Agusrodri merged commit 5057ec8 into tanssi-polkadot-v1.11.0 Jun 7, 2024
tmpolaczyk pushed a commit that referenced this pull request Aug 6, 2024
* add support for contract deploy filter

* add tests to pallet-ethereum

* point to moondance evm fork

* improve comments

* fix comment in mock

* add error comment

* update evm branch
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.

1 participant