diff --git a/rollup/internal/controller/sender/estimategas.go b/rollup/internal/controller/sender/estimategas.go index 9d3d5b74d..ca7945fc2 100644 --- a/rollup/internal/controller/sender/estimategas.go +++ b/rollup/internal/controller/sender/estimategas.go @@ -136,7 +136,8 @@ func (s *Sender) estimateGasLimit(to *common.Address, data []byte, sidecar *geth return 0, nil, err } - if s.config.TxType == LegacyTxType { + if s.config.TxType == LegacyTxType || + s.transactionSigner.GetType() == RemoteSignerSignerType { // web3signer doesn't support access list return gasLimitWithoutAccessList, nil, nil } diff --git a/rollup/internal/controller/sender/transaction_signer.go b/rollup/internal/controller/sender/transaction_signer.go index 6250bd545..ed768ac29 100644 --- a/rollup/internal/controller/sender/transaction_signer.go +++ b/rollup/internal/controller/sender/transaction_signer.go @@ -109,6 +109,10 @@ func (ts *TransactionSigner) GetAddr() common.Address { return ts.addr } +func (ts *TransactionSigner) GetType() string { + return ts.config.SignerType +} + // RpcTransaction transaction that will be send through rpc to web3Signer type RpcTransaction struct { From *common.Address `json:"from"`