good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 2b804cdc authored by Alex Sharov's avatar Alex Sharov Committed by GitHub
Browse files

save (#2722)

parent d7159cd8
No related branches found
No related tags found
No related merge requests found
......@@ -268,12 +268,12 @@ func BenchmarkDecodingAccount(b *testing.B) {
b.ResetTimer()
for _, test := range accountCases {
test := test
encodedAccount := make([]byte, test.acc.EncodingLengthForStorage())
b.Run(fmt.Sprint(test.name), func(b *testing.B) {
for i := 0; i < b.N; i++ {
b.StopTimer()
test.acc.Nonce = uint64(i)
test.acc.Balance.SetUint64(uint64(i))
encodedAccount := make([]byte, test.acc.EncodingLengthForStorage())
test.acc.EncodeForStorage(encodedAccount)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment