diff --git a/core/rawdb/accessors_skipped_txs.go b/core/rawdb/accessors_skipped_txs.go index 0e1206d645b9..cf4e135bf86d 100644 --- a/core/rawdb/accessors_skipped_txs.go +++ b/core/rawdb/accessors_skipped_txs.go @@ -58,7 +58,7 @@ type SkippedTransaction struct { // BlockNumber is the number of the block in which this transaction was skipped. BlockNumber uint64 - // BlockNumber is the hash of the block in which this transaction was skipped or nil. + // BlockHash is the hash of the block in which this transaction was skipped or nil. BlockHash *common.Hash } @@ -80,7 +80,7 @@ type SkippedTransactionV2 struct { // BlockNumber is the number of the block in which this transaction was skipped. BlockNumber uint64 - // BlockNumber is the hash of the block in which this transaction was skipped or nil. + // BlockHash is the hash of the block in which this transaction was skipped or nil. BlockHash *common.Hash } diff --git a/core/trace.go b/core/trace.go index cf9fce9d3288..dae43db96576 100644 --- a/core/trace.go +++ b/core/trace.go @@ -322,7 +322,8 @@ func (env *TraceEnv) getTxResult(state *state.StateDB, index int, block *types.B // still we have no state root for per tx, only set the head and tail if index == 0 { txStorageTrace.RootBefore = state.GetRootHash() - } else if index == len(block.Transactions())-1 { + } + if index == len(block.Transactions())-1 { txStorageTrace.RootAfter = block.Root() } diff --git a/params/version.go b/params/version.go index bb00b789f90d..bbe17f3e42d7 100644 --- a/params/version.go +++ b/params/version.go @@ -24,7 +24,7 @@ import ( const ( VersionMajor = 4 // Major version component of the current release VersionMinor = 4 // Minor version component of the current release - VersionPatch = 4 // Patch version component of the current release + VersionPatch = 5 // Patch version component of the current release VersionMeta = "sepolia" // Version metadata to append to the version string )