Audit: Gravity Testnet v1.0.0 — Full diff vs reth v1.8.3#257
Closed
Richard1048576 wants to merge 7173 commits intoaudit/base-reth-v1.8.3from
Closed
Audit: Gravity Testnet v1.0.0 — Full diff vs reth v1.8.3#257Richard1048576 wants to merge 7173 commits intoaudit/base-reth-v1.8.3from
Richard1048576 wants to merge 7173 commits intoaudit/base-reth-v1.8.3from
Conversation
…#10934) Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Signed-off-by: Abhishekkochar <abhishekkochar2@gmail.com>
…maller, reusable functions" (#11041)
* return None if get onchain config failed * support fetching latest onchain config without specified block number
Keep the block header timestamp in seconds, while using microseconds for ordered blocks to pass to metadata transactions.
#225) use sharding rocksdb instances to optimize persist stage
…ain_core_contracts (#231)
* feat(trie): support eth_getProof for nested hash, step 1
- suite new contract - fix validator set
Support hive in Greth
Add blockNumber field to JWK oracle commitMessageSent ABIs Extract and carry source block number from MessageSent events Add OracleStateFetcher to fetch latest DataRecord from NativeOracle Add persistence module for tracking processed state across restarts Remove auto-discovery from BlockchainEventSource, use explicit cursor Update gravity-api-types dependency to latest revision This enables the relayer to track the source block number for each oracle event and fetch consistent oracle state from the chain, improving state reconciliation across restarts.
ignore and skip unsupported actions
* fix header timestamp in epoch change block * debug assertions for block execution validation * fix gravity pipe test
Co-authored-by: Snezhkko <snezhkodaria38@gmail.com>
* support custom precompiles for ParallelExecutor * support bls verify precompile * apply custom precompiles
4219741 to
3229876
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR captures the complete set of Gravity-specific changes on top of upstream reth v1.8.3 for external security audit purposes.
gravity-testnet-v1.0.0paradigmxyz/rethv1.8.3Scope
New Gravity-Specific Crates (highest priority)
crates/gravity-primitives/OnceLock), Gravity CLI flagscrates/gravity-storage/GravityStoragetrait,ParallelDatabase,BlockViewStoragecrates/pipe-exec-layer-ext-v2/execute/OrderedBlock→ EVM →ExecutionResult, on-chain config, BLS/Mint precompilescrates/pipe-exec-layer-ext-v2/event-bus/MakeCanonicalEvent,WaitForPersistenceEvent)crates/pipe-exec-layer-ext-v2/relayer/crates/storage/db/src/implementation/rocksdb/Modified Upstream Crates
crates/engine/tree/crates/ethereum/evm/,crates/evm/evm/parallel_execute.rs,debug_ext.rs)crates/node/builder/,crates/node/core/crates/storage/db/crates/trie/Custom External Dependencies
26b586cc9ae04bPipeline Architecture
Related Resources