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()) diff --git a/go-ethereum b/go-ethereum index 2cfeb6fd5..9f26e8766 160000 --- a/go-ethereum +++ b/go-ethereum @@ -1 +1 @@ -Subproject commit 2cfeb6fd538048ff2529710efa8e17e564c6c546 +Subproject commit 9f26e876697a7b6c4347aa88557c103b205fcce3 diff --git a/go.mod b/go.mod index f81ee55cd..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.61-nitro-v3.5.6-3 // 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 06abec092..dad1bdc0e 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.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=