Upgrade for Cancun fork (Geth 1.14) #7

Merged
roysc merged 11 commits from update-geth1.13 into v5 2024-08-05 13:08:27 +00:00
2 changed files with 2 additions and 5 deletions
Showing only changes of commit 419a95001b - Show all commits
-1
View File
@@ -119,7 +119,6 @@ func createReader() (pkg.Reader, *params.ChainConfig, node.Info) {
},
},
ChainConfig: chainConf,
// Mode: mode,
Path: path,
AncientPath: ancientPath,
Url: url,
+2 -4
View File
@@ -47,9 +47,8 @@ type EthDBReader struct {
}
type EthDBReaderConfig struct {
TrieConfig *triedb.Config
ChainConfig *params.ChainConfig
// Mode string
TrieConfig *triedb.Config
ChainConfig *params.ChainConfig
Path, AncientPath, Url string
DBCacheSize int
}
@@ -57,7 +56,6 @@ type EthDBReaderConfig struct {
// NewEthDBReader creates a new Reader using LevelDB
func NewEthDBReader(conf EthDBReaderConfig) (*EthDBReader, error) {
opts := rawdb.OpenOptions{
// Type: conf.Mode,
Directory: conf.Path,
AncientsDirectory: conf.AncientPath,
Namespace: "eth-statediff-service",