Repository navigation
Conversation
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.
Summary
Integrates StreamingFast Firehose v3.1 tracing onto Morph Reth
v2.11.0(evm2):bin/morph-reth,crates/node/src/{args,firehose,node,validator}.rs):FIRE INIT 3.1 morph-reth+ genesisFIRE BLOCK 0on empty datadir +FIRE BLOCKper executed block) is enabled by default (--no-firehoseavailable to opt out).on_component_initialized(streamingfast/reth-bsc#10style) to prevent ExEx WAL accumulation.Bernoulli-> Shanghai/Cancun at genesis,Viridian-> Prague) inchain_config_from_specsomainnet.jsonandhoodi.jsonactivate EIP-7702address_delegates_toinfirehose-tracer.include_executed_block = false) when Firehose is active so Engine API imports always run through traced execution.crates/primitives,crates/evm/src/{config,firehose}.rs):SignatureFieldsforMorphTxEnvelope: maps0x7f(TxType::Morph+MorphTrxInput) and0x7e(TxType::MorphL1Message+MorphL1MessageTrxInput, emptyv).MorphPostTxExtras&FirehoseLiveHooks: Morph L2 gas/L1-data-fee accounting toFEE_VAULT(no base-fee burn, zero L2 gas movement on L1 messages and ERC-20 token-fee txs),MorphTrxOutput(l1_fee,fee_rate,token_scale), headermorph_next_l1_msg_index, and staged syncbatch_executorwiring viaLiveChainHooks.crates/node/tests/firehose/main.rs):BlockInvariants::assert(&block)across Engine API assembly/import, Morph ETH fee rules +MorphTrxOutput, L1 messages +morph_next_l1_msg_index, MorphTx V1 ETH fee, MorphTx V2 EIP-7702 applied/discarded authorizations +address_delegates_to, safe block import, invalid block rejection, disabledSELFDESTRUCT, and exact protobuf parity betweenbatch_executorstaged sync and live Engine API import.Dependencies & Remaining Work (Draft)
keccak_preimages+MorphTrxOutputcall-index tracing and swap the temporary forkrevs inCargo.tomlto the mergedstreamingfast/rethtag andfirehose-tracerrelease.