Skip to content

Commit

Permalink
Fix remaining TODO in t8ntool
Browse files Browse the repository at this point in the history
  • Loading branch information
palango committed Jan 10, 2024
1 parent 17f7579 commit 1c01410
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/evm/internal/t8ntool/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,8 @@ func Transaction(ctx *cli.Context) error {
r.Address = sender
}
// Check intrinsic gas
// TODO(pl): Adapt fee currency
if gas, err := core.IntrinsicGas(tx.Data(), tx.AccessList(), tx.To() == nil,
chainConfig.IsHomestead(new(big.Int)), chainConfig.IsIstanbul(new(big.Int)), chainConfig.IsShanghai(new(big.Int), 0), nil); err != nil {
chainConfig.IsHomestead(new(big.Int)), chainConfig.IsIstanbul(new(big.Int)), chainConfig.IsShanghai(new(big.Int), 0), tx.FeeCurrency()); err != nil {
r.Error = err
results = append(results, r)
continue
Expand Down

0 comments on commit 1c01410

Please sign in to comment.