diff --git a/accounts/external/backend.go b/accounts/external/backend.go index 42eaf661cc..6f1581f9b8 100644 --- a/accounts/external/backend.go +++ b/accounts/external/backend.go @@ -205,7 +205,7 @@ func (api *ExternalSigner) SignTx(account accounts.Account, tx *types.Transactio to = &t } args := &apitypes.SendTxArgs{ - Input: &data, + Data: &data, Nonce: hexutil.Uint64(tx.Nonce()), Value: hexutil.Big(*tx.Value()), Gas: hexutil.Uint64(tx.Gas()), @@ -215,7 +215,7 @@ func (api *ExternalSigner) SignTx(account accounts.Account, tx *types.Transactio switch tx.Type() { case types.LegacyTxType, types.AccessListTxType: args.GasPrice = (*hexutil.Big)(tx.GasPrice()) - case types.DynamicFeeTxType, types.BlobTxType, types.SetCodeTxType: + case types.DynamicFeeTxType: args.MaxFeePerGas = (*hexutil.Big)(tx.GasFeeCap()) args.MaxPriorityFeePerGas = (*hexutil.Big)(tx.GasTipCap()) default: @@ -235,17 +235,6 @@ func (api *ExternalSigner) SignTx(account accounts.Account, tx *types.Transactio accessList := tx.AccessList() args.AccessList = &accessList } - if tx.Type() == types.BlobTxType { - args.BlobHashes = tx.BlobHashes() - sidecar := tx.BlobTxSidecar() - if sidecar == nil { - return nil, errors.New("blobs must be present for signing") - } - args.Blobs = sidecar.Blobs - args.Commitments = sidecar.Commitments - args.Proofs = sidecar.Proofs - } - var res signTransactionResult if err := api.client.Call(&res, "account_signTransaction", args); err != nil { return nil, err