mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
rename
This commit is contained in:
parent
a93ab47a02
commit
de6cea02b0
1 changed files with 7 additions and 7 deletions
|
|
@ -277,7 +277,7 @@ func (args *TransactionArgs) ToMessage(globalGasCap uint64, baseFee *big.Int) (*
|
||||||
gasPrice *big.Int
|
gasPrice *big.Int
|
||||||
gasFeeCap *big.Int
|
gasFeeCap *big.Int
|
||||||
gasTipCap *big.Int
|
gasTipCap *big.Int
|
||||||
blobGasFeeCap *big.Int
|
blobFeeCap *big.Int
|
||||||
)
|
)
|
||||||
if baseFee == nil {
|
if baseFee == nil {
|
||||||
// If there's no basefee, then it must be a non-1559 execution
|
// If there's no basefee, then it must be a non-1559 execution
|
||||||
|
|
@ -310,9 +310,9 @@ func (args *TransactionArgs) ToMessage(globalGasCap uint64, baseFee *big.Int) (*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if args.BlobFeeCap != nil {
|
if args.BlobFeeCap != nil {
|
||||||
blobGasFeeCap = args.BlobFeeCap.ToInt()
|
blobFeeCap = args.BlobFeeCap.ToInt()
|
||||||
} else if args.BlobHashes != nil {
|
} else if args.BlobHashes != nil {
|
||||||
blobGasFeeCap = new(big.Int)
|
blobFeeCap = new(big.Int)
|
||||||
}
|
}
|
||||||
value := new(big.Int)
|
value := new(big.Int)
|
||||||
if args.Value != nil {
|
if args.Value != nil {
|
||||||
|
|
@ -333,7 +333,7 @@ func (args *TransactionArgs) ToMessage(globalGasCap uint64, baseFee *big.Int) (*
|
||||||
GasTipCap: gasTipCap,
|
GasTipCap: gasTipCap,
|
||||||
Data: data,
|
Data: data,
|
||||||
AccessList: accessList,
|
AccessList: accessList,
|
||||||
BlobGasFeeCap: blobGasFeeCap,
|
BlobGasFeeCap: blobFeeCap,
|
||||||
BlobHashes: args.BlobHashes,
|
BlobHashes: args.BlobHashes,
|
||||||
SkipAccountChecks: true,
|
SkipAccountChecks: true,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue