You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EthereumTransactionData cannot be generated fromBytes() from a signed transaction generated previously with the usage of ethers.js (6.4.0)
Signing a transaction with await wallet.signTransaction(tx); from ethers
Error: reason: 'invalid rlp data', code: 'INVALID_ARGUMENT', argument: 'data'
EthereumTransactionData uses "@ethersproject/rlp": "5.7.0" for encoding/decoding ethereum transaction data
Notes: The entire workflow works if using previous ethers.js version - (5.7.2)
Note that while ethers.js has newer stable v6 (6.4.0) version, the @ethersproject/rlp library is still with the most recent stable version v5 (5.7.0). And since everything works properly with ethers v5 (5.7.2), my assumption is that it comes from the difference between those versions
Furthermore, the bytes length generated from await wallet.signTransaction(tx); differs between the versions, hence the newer representation cannot be decoded by the previous decoding approach
Hedera network
other
Version
v25.0.0
Operating system
macOS
The text was updated successfully, but these errors were encountered:
Description
EthereumTransactionData cannot be generated
fromBytes()
from a signed transaction generated previously with the usage of ethers.js (6.4.0)Signing a transaction with
await wallet.signTransaction(tx);
from ethersError:
reason: 'invalid rlp data', code: 'INVALID_ARGUMENT', argument: 'data'
EthereumTransactionData uses
"@ethersproject/rlp": "5.7.0"
for encoding/decoding ethereum transaction dataNotes: The entire workflow works if using previous ethers.js version - (5.7.2)
Steps to reproduce
Additional context
Note that while ethers.js has newer stable v6 (6.4.0) version, the @ethersproject/rlp library is still with the most recent stable version v5 (5.7.0). And since everything works properly with ethers v5 (5.7.2), my assumption is that it comes from the difference between those versions
Furthermore, the bytes length generated from
await wallet.signTransaction(tx);
differs between the versions, hence the newer representation cannot be decoded by the previous decoding approachHedera network
other
Version
v25.0.0
Operating system
macOS
The text was updated successfully, but these errors were encountered: