From e53e0bd3c3b29c15a92cd47fa85124e9970fca1f Mon Sep 17 00:00:00 2001 From: lihe Date: Thu, 16 Jul 2026 16:49:45 +0800 Subject: [PATCH 1/6] arbos: honor configured preimage setting in genesis init InitializeArbosInDatabase force-disabled trie preimages. This is a long-standing default (the pre-pathdb code also hardcoded Preimages:false): genesis is a one-time bulk state import and preimages are unused for normal node operation, so they were skipped. On the path state scheme this breaks the pipeline's OnArbGenesisBlock state dump. Without preimages the dump cannot reverse-resolve account addresses (tr.GetKey returns nil), so it opens each storage trie with a zero address, derives the wrong pathdb owner (Keccak256(0x00..00)), fails the lookup, and drops every storage-bearing genesis account (EntryPoint code + slots, the ArbOS 0xA4B05 system state, etc.). The hash scheme is unaffected because its reader resolves nodes by hash and ignores the owner. Honor cacheConfig.Preimages (driven by --execution.caching.enable-preimages) instead of forcing it off. Default behavior is unchanged: EnablePreimages and both Defaults/ArchiveDefaults default to false, so genesis init records no preimages unless explicitly enabled. Preimages live in a separate rawdb table and are not part of the state root, so there is no consensus impact. --- arbos/arbosState/initialize.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arbos/arbosState/initialize.go b/arbos/arbosState/initialize.go index 8fc69e1db..6ee872f44 100644 --- a/arbos/arbosState/initialize.go +++ b/arbos/arbosState/initialize.go @@ -61,7 +61,10 @@ func MakeGenesisBlock(parentHash common.Hash, blockNumber uint64, timestamp uint func InitializeArbosInDatabase(db ethdb.Database, cacheConfig *core.BlockChainConfig, initData statetransfer.InitDataReader, chainConfig *params.ChainConfig, genesisArbOSInit *params.ArbOSInit, initMessage *arbostypes.ParsedInitMessage, timestamp uint64, accountsPerSync uint) (root common.Hash, err error) { triedbConfig := cacheConfig.TriedbConfig() - triedbConfig.Preimages = false + // Honor the configured preimage setting instead of force-disabling it: the path + // scheme genesis state dump reverse-resolves account addresses via preimages to + // derive the correct storage-trie owner (enable with --execution.caching.enable-preimages). + triedbConfig.Preimages = cacheConfig.Preimages stateDatabase := state.NewDatabase(triedb.NewDatabase(db, triedbConfig), nil) defer func() { err = errors.Join(err, stateDatabase.TrieDB().Close()) From 4cf6fbb6fc6b96cbb754d4cf6bdd02c4732b270d Mon Sep 17 00:00:00 2001 From: lihe Date: Wed, 12 Aug 2026 16:28:53 +0800 Subject: [PATCH 2/6] fix(deps): upgrade Nitro ErrTrace handling --- go-ethereum | 2 +- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go-ethereum b/go-ethereum index 2cfeb6fd5..050a3da5f 160000 --- a/go-ethereum +++ b/go-ethereum @@ -1 +1 @@ -Subproject commit 2cfeb6fd538048ff2529710efa8e17e564c6c546 +Subproject commit 050a3da5f8d7862a0023796fc7b74ae0f7a762ee diff --git a/go.mod b/go.mod index f81ee55cd..c42e9866e 100644 --- a/go.mod +++ b/go.mod @@ -63,7 +63,7 @@ require ( cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect cloud.google.com/go/compute/metadata v0.9.0 // indirect cloud.google.com/go/iam v1.1.8 // indirect - github.com/Chaintable/pipeline v0.0.61-nitro-v3.5.6-3 // indirect + github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25 // indirect github.com/ProjectZKM/Ziren/crates/go-runtime/zkvm_runtime v0.0.0-20251001021608-1fe7b43fc4d6 // indirect github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect github.com/coreos/go-semver v0.3.1 // indirect diff --git a/go.sum b/go.sum index 06abec092..a52356935 100644 --- a/go.sum +++ b/go.sum @@ -116,6 +116,8 @@ github.com/cevatbarisyilmaz/ara v0.0.4 h1:SGH10hXpBJhhTlObuZzTuFn1rrdmjQImITXnZV github.com/cevatbarisyilmaz/ara v0.0.4/go.mod h1:BfFOxnUd6Mj6xmcvRxHN3Sr21Z1T3U2MYkYOmoQe4Ts= github.com/Chaintable/pipeline v0.0.61-nitro-v3.5.6-3 h1:HPCXU2N/9FEFJI3Z3eG7l7/und1ckRyNTHDFA3oiDs4= github.com/Chaintable/pipeline v0.0.61-nitro-v3.5.6-3/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= +github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25 h1:uyohFxVqNaWnRAm6+xJpxDVY7C1/kyfGTLzb4Y6QmuM= +github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= From a9b24a61a0d63bda3bde2f1893a5ab5137d1f829 Mon Sep 17 00:00:00 2001 From: lihe Date: Fri, 14 Aug 2026 11:18:03 +0800 Subject: [PATCH 3/6] fix(deps): upgrade pipeline to v0.0.68 baseline --- go-ethereum | 2 +- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go-ethereum b/go-ethereum index 050a3da5f..02bd59ada 160000 --- a/go-ethereum +++ b/go-ethereum @@ -1 +1 @@ -Subproject commit 050a3da5f8d7862a0023796fc7b74ae0f7a762ee +Subproject commit 02bd59ada5f6fc460227421090849c90f5991dab diff --git a/go.mod b/go.mod index c42e9866e..c22db4973 100644 --- a/go.mod +++ b/go.mod @@ -63,7 +63,7 @@ require ( cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect cloud.google.com/go/compute/metadata v0.9.0 // indirect cloud.google.com/go/iam v1.1.8 // indirect - github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25 // indirect + github.com/Chaintable/pipeline v0.0.69-0.20260814030410-ff4b85f98f4a // indirect github.com/ProjectZKM/Ziren/crates/go-runtime/zkvm_runtime v0.0.0-20251001021608-1fe7b43fc4d6 // indirect github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect github.com/coreos/go-semver v0.3.1 // indirect diff --git a/go.sum b/go.sum index a52356935..599a06e5b 100644 --- a/go.sum +++ b/go.sum @@ -118,6 +118,8 @@ github.com/Chaintable/pipeline v0.0.61-nitro-v3.5.6-3 h1:HPCXU2N/9FEFJI3Z3eG7l7/ github.com/Chaintable/pipeline v0.0.61-nitro-v3.5.6-3/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25 h1:uyohFxVqNaWnRAm6+xJpxDVY7C1/kyfGTLzb4Y6QmuM= github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= +github.com/Chaintable/pipeline v0.0.69-0.20260814030410-ff4b85f98f4a h1:O0ZmzoaroDTgh3/Jv+nml1xwSxriyFACPn46NWnwof8= +github.com/Chaintable/pipeline v0.0.69-0.20260814030410-ff4b85f98f4a/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= From f441d660af013f0a8a5ea9dcc286e62547ab4517 Mon Sep 17 00:00:00 2001 From: lihe Date: Wed, 19 Aug 2026 18:24:48 +0800 Subject: [PATCH 4/6] fix(deps): update go-ethereum ErrTrace dependency --- go-ethereum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-ethereum b/go-ethereum index 02bd59ada..0c1497d90 160000 --- a/go-ethereum +++ b/go-ethereum @@ -1 +1 @@ -Subproject commit 02bd59ada5f6fc460227421090849c90f5991dab +Subproject commit 0c1497d90bce3d61f330a37d2f16d06fa343c102 From 02f5ad0d2c81dcf71cc7a093e09ca4a840a78de2 Mon Sep 17 00:00:00 2001 From: lihe Date: Wed, 19 Aug 2026 18:41:47 +0800 Subject: [PATCH 5/6] fix(deps): align Nitro Pipeline metadata --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index c22db4973..9ec7f184b 100644 --- a/go.mod +++ b/go.mod @@ -63,7 +63,7 @@ require ( cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect cloud.google.com/go/compute/metadata v0.9.0 // indirect cloud.google.com/go/iam v1.1.8 // indirect - github.com/Chaintable/pipeline v0.0.69-0.20260814030410-ff4b85f98f4a // indirect + github.com/Chaintable/pipeline v0.0.70-0.20260819101831-8f6af331e97a // indirect github.com/ProjectZKM/Ziren/crates/go-runtime/zkvm_runtime v0.0.0-20251001021608-1fe7b43fc4d6 // indirect github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect github.com/coreos/go-semver v0.3.1 // indirect diff --git a/go.sum b/go.sum index 599a06e5b..198aeb621 100644 --- a/go.sum +++ b/go.sum @@ -120,6 +120,8 @@ github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25 h1:uyohFxVq github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= github.com/Chaintable/pipeline v0.0.69-0.20260814030410-ff4b85f98f4a h1:O0ZmzoaroDTgh3/Jv+nml1xwSxriyFACPn46NWnwof8= github.com/Chaintable/pipeline v0.0.69-0.20260814030410-ff4b85f98f4a/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= +github.com/Chaintable/pipeline v0.0.70-0.20260819101831-8f6af331e97a h1:V8nKazU0GE6NNZyScwzZfL8o+ms/SSDfaAHZQ4PNIX8= +github.com/Chaintable/pipeline v0.0.70-0.20260819101831-8f6af331e97a/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= From 8b05ce923e7ae625ba56370cc5311bf23f16dbdb Mon Sep 17 00:00:00 2001 From: lihe Date: Thu, 20 Aug 2026 22:38:29 +0800 Subject: [PATCH 6/6] fix(deps): pin minimal Hood ErrTrace backport --- go-ethereum | 2 +- go.mod | 2 +- go.sum | 8 ++------ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/go-ethereum b/go-ethereum index 0c1497d90..9f26e8766 160000 --- a/go-ethereum +++ b/go-ethereum @@ -1 +1 @@ -Subproject commit 0c1497d90bce3d61f330a37d2f16d06fa343c102 +Subproject commit 9f26e876697a7b6c4347aa88557c103b205fcce3 diff --git a/go.mod b/go.mod index 9ec7f184b..2ae91d3c3 100644 --- a/go.mod +++ b/go.mod @@ -63,7 +63,7 @@ require ( cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect cloud.google.com/go/compute/metadata v0.9.0 // indirect cloud.google.com/go/iam v1.1.8 // indirect - github.com/Chaintable/pipeline v0.0.70-0.20260819101831-8f6af331e97a // indirect + github.com/Chaintable/pipeline v0.0.62-0.20260820143309-98cd1e7b8c54 // indirect github.com/ProjectZKM/Ziren/crates/go-runtime/zkvm_runtime v0.0.0-20251001021608-1fe7b43fc4d6 // indirect github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect github.com/coreos/go-semver v0.3.1 // indirect diff --git a/go.sum b/go.sum index 198aeb621..dad1bdc0e 100644 --- a/go.sum +++ b/go.sum @@ -116,12 +116,8 @@ github.com/cevatbarisyilmaz/ara v0.0.4 h1:SGH10hXpBJhhTlObuZzTuFn1rrdmjQImITXnZV github.com/cevatbarisyilmaz/ara v0.0.4/go.mod h1:BfFOxnUd6Mj6xmcvRxHN3Sr21Z1T3U2MYkYOmoQe4Ts= github.com/Chaintable/pipeline v0.0.61-nitro-v3.5.6-3 h1:HPCXU2N/9FEFJI3Z3eG7l7/und1ckRyNTHDFA3oiDs4= github.com/Chaintable/pipeline v0.0.61-nitro-v3.5.6-3/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= -github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25 h1:uyohFxVqNaWnRAm6+xJpxDVY7C1/kyfGTLzb4Y6QmuM= -github.com/Chaintable/pipeline v0.0.62-0.20260812075158-662e97908a25/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= -github.com/Chaintable/pipeline v0.0.69-0.20260814030410-ff4b85f98f4a h1:O0ZmzoaroDTgh3/Jv+nml1xwSxriyFACPn46NWnwof8= -github.com/Chaintable/pipeline v0.0.69-0.20260814030410-ff4b85f98f4a/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= -github.com/Chaintable/pipeline v0.0.70-0.20260819101831-8f6af331e97a h1:V8nKazU0GE6NNZyScwzZfL8o+ms/SSDfaAHZQ4PNIX8= -github.com/Chaintable/pipeline v0.0.70-0.20260819101831-8f6af331e97a/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= +github.com/Chaintable/pipeline v0.0.62-0.20260820143309-98cd1e7b8c54 h1:PF8mRS/0gmyYUmJKUatokNPPbOdREm0IkO6okWAjM7I= +github.com/Chaintable/pipeline v0.0.62-0.20260820143309-98cd1e7b8c54/go.mod h1:l0GT8LwhbRwaxrLze5FjDv3lHgxxqdf9opAVjJtXNh4= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=