-
Notifications
You must be signed in to change notification settings - Fork 7
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
Stateful precompiled contracts #64
Conversation
- (evm) crypto-org-chain#328 Support precompile interface. - (statedb) crypto-org-chain#333 Support native action in statedb, prepare for precompiles. - (precompile) crypto-org-chain#338 Fix simulation of precompile using context. - (precompile) crypto-org-chain#342 Problem: native action don't support mem keys - (precompile) crypto-org-chain#343 Problem: no api to convert native events to logs - (precompile) crypto-org-chain#344 Fix error handling in precompile context. - (precompile) crypto-org-chain#346 Add support for new precompile context. - (precompile) crypto-org-chain#347 Problem: miss contract in ExtStateDB interface - (precompile) crypto-org-chain#359 Problem: no efficient way to execute read-only native actions - (precompile) crypto-org-chain#371 Add StateDB itself into native context for precompiles to emit evm logs directly. - (precompile) crypto-org-chain#380 Allow init precompiled contract with rules when new evm.
* Problem: no access to ctx params in precompile * Update CHANGELOG.md Signed-off-by: mmsqe <mavis@crypto.com> --------- Signed-off-by: mmsqe <mavis@crypto.com>
Caution Review failedThe pull request is closed. WalkthroughThe recent changes introduce significant enhancements and refactorings across various components of the Ethereum Virtual Machine (EVM) within the project. Key updates include support for precompiled contracts, modifications to the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Contract
participant EVM
participant StateDB
participant CacheKVStore
User->>Contract: Deploy Contract
Contract->>EVM: Initialize with Precompiled Contracts
EVM->>StateDB: Access State
StateDB->>CacheKVStore: Cache Reads/Writes
Contract->>EVM: Execute Transaction
EVM->>StateDB: Commit Changes
StateDB->>CacheKVStore: Write to Backend Store
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Performance
Tests