New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gas refund to dev balance #2705
Conversation
data/state/accountsDB.go
Outdated
@@ -34,7 +69,8 @@ type AccountsDB struct { | |||
entries []JournalEntry | |||
mutOp sync.RWMutex | |||
|
|||
numCheckpoints uint32 | |||
numCheckpoints uint32 | |||
loadCodeMeasurements loadingMeasurements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loadCodeMeasurements *loadingMeasurements ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
data/state/accountsDB.go
Outdated
@@ -70,6 +106,9 @@ func NewAccountsDB( | |||
dataTries: NewDataTriesHolder(), | |||
obsoleteDataTrieHashes: make(map[string][][]byte), | |||
numCheckpoints: numCheckpoints, | |||
loadCodeMeasurements: loadingMeasurements{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loadCodeMeasurements: &loadingMeasurements ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
b9c10f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome job!
Gas refund to dev balance
Delete process if error which was called twice
Added statistics prints for load code process in account adapter implementations.