Skip to content

Commit

Permalink
fix(trace): fix statesAffected in traceLastNAddressAccount (#367)
Browse files Browse the repository at this point in the history
* fix(trace): fix

* Update version.go
  • Loading branch information
HAOYUatHZ committed Jul 7, 2023
1 parent 3cf5ba8 commit 8c5bf30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/vm/logger_trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func traceLastNAddressAccount(n int) traceFunc {
address := common.Address(stack.data[stack.len()-1-n].Bytes20())
state := getWrappedAccountForAddr(l, address)
extraData.StateList = append(extraData.StateList, state)
l.statesAffected[scope.Contract.Address()] = struct{}{}
l.statesAffected[address] = struct{}{}

return nil
}
Expand Down
2 changes: 1 addition & 1 deletion params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
const (
VersionMajor = 4 // Major version component of the current release
VersionMinor = 2 // Minor version component of the current release
VersionPatch = 6 // Patch version component of the current release
VersionPatch = 7 // Patch version component of the current release
VersionMeta = "sepolia" // Version metadata to append to the version string
)

Expand Down

0 comments on commit 8c5bf30

Please sign in to comment.