cmd/clef, signer: support for eip-1559 txs in clef (#22966)
This commit is contained in:
committed by
GitHub
parent
c503f98f6d
commit
7a00378e2b
@ -77,11 +77,12 @@ func (tx *GnosisSafeTx) ToTypedData() TypedData {
|
||||
// ArgsForValidation returns a SendTxArgs struct, which can be used for the
|
||||
// common validations, e.g. look up 4byte destinations
|
||||
func (tx *GnosisSafeTx) ArgsForValidation() *SendTxArgs {
|
||||
gp := hexutil.Big(tx.GasPrice)
|
||||
args := &SendTxArgs{
|
||||
From: tx.Safe,
|
||||
To: &tx.To,
|
||||
Gas: hexutil.Uint64(tx.SafeTxGas.Uint64()),
|
||||
GasPrice: hexutil.Big(tx.GasPrice),
|
||||
GasPrice: &gp,
|
||||
Value: hexutil.Big(tx.Value),
|
||||
Nonce: hexutil.Uint64(tx.Nonce.Uint64()),
|
||||
Data: tx.Data,
|
||||
|
Reference in New Issue
Block a user