Skip to content

Commit 56352c2

Browse files
committed
core/state: method docs
1 parent 29ef67c commit 56352c2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

core/state/access_list.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ func (al *accessList) Equal(other *accessList) bool {
145145
})
146146
}
147147

148+
// PrettyPrint prints the contents of the access list in a human-readable form
148149
func (al *accessList) PrettyPrint() string {
149150
out := new(strings.Builder)
150151
var sortedAddrs []common.Address

core/state/transient_storage.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ func (t transientStorage) Copy() transientStorage {
6767
return storage
6868
}
6969

70+
// PrettyPrint prints the contents of the access list in a human-readable form
7071
func (t transientStorage) PrettyPrint() string {
7172
out := new(strings.Builder)
7273
var sortedAddrs []common.Address

0 commit comments

Comments
 (0)