core/types: document JSON field name equivalents of DynamicFeeTx (#24143)

This commit is contained in:
Felix Lange 2021-12-22 15:32:17 +01:00 committed by GitHub
parent b8edc04ce3
commit 980b7682b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,8 +25,8 @@ import (
type DynamicFeeTx struct { type DynamicFeeTx struct {
ChainID *big.Int ChainID *big.Int
Nonce uint64 Nonce uint64
GasTipCap *big.Int GasTipCap *big.Int // a.k.a. maxPriorityFeePerGas
GasFeeCap *big.Int GasFeeCap *big.Int // a.k.a. maxFeePerGas
Gas uint64 Gas uint64
To *common.Address `rlp:"nil"` // nil means contract creation To *common.Address `rlp:"nil"` // nil means contract creation
Value *big.Int Value *big.Int