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

Replace chain extensions with pre-compile framework #6716

Open
3 tasks
athei opened this issue Dec 1, 2024 · 2 comments
Open
3 tasks

Replace chain extensions with pre-compile framework #6716

athei opened this issue Dec 1, 2024 · 2 comments
Assignees

Comments

@athei
Copy link
Member

athei commented Dec 1, 2024

Add a framework to can be used to add pre-compiles to pallet_revive. Then implement the most common original pre-compiles with it.

This replaces chain extensions.

Tasks

Preview Give feedback
  1. athei
@athei athei converted this from a draft issue Dec 1, 2024
@athei athei changed the title Add minimal pre-compile support Replace chain extensions with minimal pre-compile support Dec 1, 2024
@burdges
Copy link

burdges commented Dec 2, 2024

If this impacts signature verification or hashing, then we should watch what this does to preformance.

Actually these precompiles provide a nice opertunity to improve those things, but not sure the timeframe.

@athei
Copy link
Member Author

athei commented Dec 2, 2024

As of right now we don't support those pre-compiles at all. Solidity contracts assume them to be there because they are part of original Ethereum. This those contracts won't work at the moment. So there is nothing really to compare to.

@athei athei self-assigned this Dec 5, 2024
@athei athei changed the title Replace chain extensions with minimal pre-compile support Replace chain extensions with pre-compile framework Dec 11, 2024
@athei athei moved this from Minimal Feature Launch to Polkadot APIs in Smart Contracts Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Polkadot APIs
Development

No branches or pull requests

2 participants