fix(trace): fix statesAffected in traceLastNAddressAccount (#367)

* fix(trace): fix

* Update version.go
This commit is contained in:
HAOYUatHZ 2023-07-07 10:27:55 +08:00 committed by GitHub
parent 3cf5ba882d
commit 8c5bf3069f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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
)