Open MickWang opened 2 months ago
I think this may be an issue in the zkSync library? Can you print out the entire value being passed in?
If you open an issue on zkSync, please also link to it here.
I think this may be an issue in the zkSync library? Can you print out the entire value being passed in?
If you open an issue on zkSync, please also link to it here.
here: https://github.com/zksync-sdk/zksync-ethers/issues/202
Ethers Version
6.13.2
Search Terms
EIP712_TX_TYPE, eip712
Describe the Problem
User zksync-ethers(v6.12.1) signer to send EIP712 transaction, zksync-ethers depends on ethers.js v6. The transaction can be sent and confirmed on chain. There is an error happens in ethers's abstract-provider (https://github.com/ethers-io/ethers.js/blob/5aba4963e3e8ddfc912747076f5b7fe7a743cfe2/src.ts/providers/abstract-provider.ts#L1088), where it use Trnsaction.from(signedTx) and got error as : Error: unsupported transaction type (operation="from", code=UNSUPPORTED_OPERATION, version=6.13.2). So the transaction type EIP712 is not supported in transaction.js.
Code Snippet
Contract ABI
No response
Errors
Environment
Ethereum (mainnet/ropsten/rinkeby/goerli)
Environment (Other)
No response