Skip to content

Commit

Permalink
Merge pull request #272 from OffchainLabs/missing_chainId
Browse files Browse the repository at this point in the history
Add chain id for ArbitrumUnsignedTx
  • Loading branch information
joshuacolvin0 authored Nov 28, 2023
2 parents be94504 + d44159f commit c494d0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c494d0b

Please sign in to comment.