Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion arbos/arbosState/initialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion go-ethereum
Submodule go-ethereum updated 2 files
+1 −1 go.mod
+2 −4 go.sum
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
Loading