Skip to content

Commit

Permalink
add metrics.SetL1SyncHeight for every batch log
Browse files Browse the repository at this point in the history
  • Loading branch information
curryxbo committed May 31, 2024
1 parent e8faee7 commit e9af4db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go-ethereum
Submodule go-ethereum updated 69 files
+1 −1 cmd/evm/internal/t8ntool/execution.go
+0 −1 cmd/geth/main.go
+0 −1 cmd/geth/usage.go
+0 −8 cmd/utils/flags.go
+0 −12 common/timer.go
+0 −7 core/blockchain.go
+1 −102 core/blockchain_test.go
+11 −29 core/chain_makers.go
+1 −54 core/rawdb/accessors_rollup_batch.go
+4 −11 core/rawdb/schema.go
+0 −13 core/state/journal.go
+25 −72 core/state/statedb.go
+0 −44 core/state/statedb_test.go
+0 −55 core/state/transient_storage.go
+1 −1 core/state_prefetcher.go
+1 −1 core/state_processor.go
+0 −1 core/state_processor_test.go
+7 −13 core/state_transition.go
+0 −13 core/tx_pool.go
+0 −26 core/tx_pool_test.go
+2 −2 core/types/tx_blob_test.go
+0 −69 core/vm/eips.go
+0 −2 core/vm/gas_table.go
+2 −1 core/vm/instructions.go
+0 −197 core/vm/instructions_test.go
+1 −4 core/vm/interface.go
+0 −2 core/vm/interpreter.go
+0 −10 core/vm/jump_table.go
+0 −11 core/vm/memory.go
+0 −8 core/vm/memory_table.go
+0 −69 core/vm/memory_test.go
+3 −21 core/vm/opcodes.go
+14 −23 core/vm/runtime/runtime.go
+4 −4 crypto/kzg4844/kzg4844.go
+8 −8 crypto/kzg4844/kzg4844_ckzg_cgo.go
+4 −4 crypto/kzg4844/kzg4844_ckzg_nocgo.go
+8 −8 crypto/kzg4844/kzg4844_gokzg.go
+2 −2 crypto/kzg4844/kzg4844_test.go
+42 −43 crypto/poseidon/poseidon.go
+1 −1 crypto/poseidon/poseidon_test.go
+0 −18 eth/api.go
+0 −12 eth/backend.go
+1 −1 eth/catalyst/api.go
+7 −2 eth/catalyst/l2_api.go
+1 −1 eth/state_accessor.go
+4 −4 eth/tracers/api.go
+0 −1 eth/tracers/api_blocktrace.go
+0 −12 ethclient/ethclient.go
+2 −2 go.mod
+4 −4 go.sum
+1 −1 les/state_accessor.go
+1 −1 metrics/timer.go
+0 −1 miner/miner.go
+1 −3 miner/miner_test.go
+28 −67 miner/worker.go
+1 −1 miner/worker_l2.go
+2 −5 miner/worker_test.go
+3 −0 node/rpcstack_test.go
+7 −22 params/config.go
+2 −2 params/version.go
+0 −60 rollup/batch/block_context.go
+0 −147 rollup/batch/handler.go
+1 −1 rollup/circuitcapacitychecker/libzkp/rust-toolchain
+2 −2 rollup/rcfg/config.go
+23 −54 rollup/tracing/tracing.go
+0 −3 trie/zk_trie.go
+4 −16 trie/zk_trie_proof_test.go
+2 −1 trie/zk_trie_test.go
+16 −1 trie/zktrie_deletionproof.go
1 change: 1 addition & 0 deletions node/derivation/derivation.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ func (d *Derivation) derivationBlock(ctx context.Context) {
} else {
d.metrics.SetBatchStatus(stateNormal)
}
d.metrics.SetL1SyncHeight(lg.BlockNumber)
}

d.db.WriteLatestDerivationL1Height(end)
Expand Down

0 comments on commit e9af4db

Please sign in to comment.