rpc: return chainId
for legacy txs using EIP-155 signature + don't accept chainid
in TransactionArgs
#25141
Labels
chainId
for legacy txs using EIP-155 signature + don't accept chainid
in TransactionArgs
#25141
This issue came up in a discussion here: ethereum/execution-apis#239
I think the correct approach is to set
chainId
for legacy txs that take advantage of EIP-155. If we want to take it a step farther, we could say thatchainId = 0
refers to a tx valid on any chain. This is essentially what thetx.ChainId()
method does.--
Additionally, accepting
chainId
inTransactionArgs
seems superfluous. IfchainId
doesn't match with the client it should probably be an error anyways. Seems simpler to just remove it altogether.The text was updated successfully, but these errors were encountered: