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
const signer = new ethers.Wallet(privateKey);
const txRaw = await signer.signTransaction(tx);
Then I get error: {"reason"=>"invalid hexlify value", "code"=>"INVALID_ARGUMENT", "argument"=>"value", "value"=>{"type"=>"BigNumber", "hex"=>"0x59682f10"}}
Ethers Version
5.7.2
Search Terms
No response
Describe the Problem
I have a transaction object was populated with type 0:
When I sign it (offline) with code below:
Then I get error:
{"reason"=>"invalid hexlify value", "code"=>"INVALID_ARGUMENT", "argument"=>"value", "value"=>{"type"=>"BigNumber", "hex"=>"0x59682f10"}}
If I populate transaction using type 2:
Then it will be signed ok
Plz help, thanks!
Code Snippet
No response
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: