Skip to content

Commit

Permalink
cmd/evm: Fix error message in t8n tool to be consistent with core error
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 authored and chfast committed Jan 9, 2023
1 parent a326b8c commit 9b558fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/evm/internal/t8ntool/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func Transaction(ctx *cli.Context) error {
}
// Check whether the init code size has been exceeded.
if chainConfig.IsShanghai(new(big.Int)) && tx.To() == nil && len(tx.Data()) > params.MaxInitCodeSize {
r.Error = errors.New("init code size limit exceeded")
r.Error = errors.New("max initcode size exceeded")
}
results = append(results, r)
}
Expand Down

0 comments on commit 9b558fb

Please sign in to comment.