Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"runtime/debug"
)

var tag = "v4.7.12"
var tag = "v4.7.13"

var commit = func() string {
if info, ok := debug.ReadBuildInfo(); ok {
Expand Down
11 changes: 9 additions & 2 deletions rollup/internal/controller/sender/estimategas.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,15 @@ func finetuneAccessList(accessList *types.AccessList, gasLimitWithAccessList uin
// Each storage key saves 100 gas units.
gasLimitWithAccessList += uint64(100 * len(entry.StorageKeys))
} else {
// Otherwise, keep the entry in the new access list.
newAccessList = append(newAccessList, entry)
// Ensure StorageKeys is never nil to avoid "missing required field 'storageKeys'" error during JSON serialization.
storageKeys := entry.StorageKeys
if storageKeys == nil {
storageKeys = []common.Hash{}
}
newAccessList = append(newAccessList, types.AccessTuple{
Address: entry.Address,
StorageKeys: storageKeys,
})
}
}
return &newAccessList, gasLimitWithAccessList
Expand Down