Update cmd/evm/runner.go

Co-authored-by: Martin HS <martin@swende.se>
This commit is contained in:
jwasinger 2024-11-22 15:01:35 +07:00 committed by GitHub
parent 0ac7ff025f
commit 83d6b303c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ func timedExec(bench bool, execFunc func() ([]byte, uint64, error)) ([]byte, exe
panic(fmt.Sprintf("output differs, have\n%x\nwant %x\n", haveOutput, output)) panic(fmt.Sprintf("output differs, have\n%x\nwant %x\n", haveOutput, output))
} }
if haveGasUsed != gasUsed { if haveGasUsed != gasUsed {
panic(fmt.Sprintf("gas differs, have %v want%v", haveGasUsed, gasUsed)) panic(fmt.Sprintf("gas differs, have %v want %v", haveGasUsed, gasUsed))
} }
if haveErr != err { if haveErr != err {
panic(fmt.Sprintf("err differs, have %v want %v", haveErr, err)) panic(fmt.Sprintf("err differs, have %v want %v", haveErr, err))