Skip to content

Commit

Permalink
core/types: document JSON field name equivalents of DynamicFeeTx (eth…
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Aug 23, 2024
1 parent 8ac4c5d commit 0fd9db6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/types/dynamic_fee_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
type DynamicFeeTx struct {
ChainID *big.Int
Nonce uint64
GasTipCap *big.Int
GasFeeCap *big.Int
GasTipCap *big.Int // a.k.a. maxPriorityFeePerGas
GasFeeCap *big.Int // a.k.a. maxFeePerGas
Gas uint64
To *common.Address `rlp:"nil"` // nil means contract creation
Value *big.Int
Expand Down

0 comments on commit 0fd9db6

Please sign in to comment.