Skip to content

Commit

Permalink
remove unused chainID arg
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchiqing committed Nov 27, 2024
1 parent a69b601 commit a41e107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/util/cmd/verify-evm-offchain-replay/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func Verify(log zerolog.Logger, from uint64, to uint64, chainID flow.ChainID, da
Str("evmStateGobDir", evmStateGobDir).
Msgf("verifying range from %d to %d", from, to)

db, storages, executionDataStore, dsStore, err := initStorages(chainID, dataDir, executionDataDir)
db, storages, executionDataStore, dsStore, err := initStorages(dataDir, executionDataDir)
if err != nil {
return fmt.Errorf("could not initialize storages: %w", err)
}
Expand Down Expand Up @@ -100,7 +100,7 @@ func Verify(log zerolog.Logger, from uint64, to uint64, chainID flow.ChainID, da
return nil
}

func initStorages(chainID flow.ChainID, dataDir string, executionDataDir string) (
func initStorages(dataDir string, executionDataDir string) (
*badger.DB,
*storage.All,
execution_data.ExecutionDataGetter,
Expand Down

0 comments on commit a41e107

Please sign in to comment.