From 607235b4b52ab2b2b1d91e53b40f26fe0c6bb802 Mon Sep 17 00:00:00 2001 From: amsanghi Date: Tue, 21 Nov 2023 18:56:00 +0530 Subject: [PATCH] Add chain id for ArbitrumUnsignedTx --- internal/ethapi/api.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 670b6800b6..1fd916d903 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1623,6 +1623,8 @@ func newRPCTransaction(tx *types.Transaction, blockHash common.Hash, blockNumber result.MaxSubmissionFee = (*hexutil.Big)(inner.MaxSubmissionFee) result.GasFeeCap = (*hexutil.Big)(inner.GasFeeCap) result.ChainID = (*hexutil.Big)(inner.ChainId) + case *types.ArbitrumUnsignedTx: + result.ChainID = (*hexutil.Big)(inner.ChainId) } return result }