Closed elek closed 1 year ago
Yes, there was general update of zkSync ecosystem, a few weeks ago, and we got many breaking changes.
For now, we still working on updating all SDKs, to catch up current state and functionality, so it will take some more time.
Sorry for inconvenience, you can try to use dev
branch temporarily, but for your own risk.
Thanks the answer.
I can wait, just tried to be sure that it's not my fault ;-)
Happy to help with testing dev
branch...
Same happened to me. I guess we are going to wait for the updates.
I started to use the dev
branch and worked well (it can submit transaction)
But when I tried to call eth_getTransactionByHash
I got transaction type not supported
error. I think it's not zksync2-go specific as it seems to be a standard response for a good JSON-RPC call....
But when I tried to call
eth_getTransactionByHash
I gottransaction type not supported
error. I think it's not zksync2-go specific as it seems to be a standard response for a good JSON-RPC call....
You can't get some of Txs (and many other calls) on L2 (ZkSync network) using common go-ethereum library due to custom TxType of their EIP712 transactions. And go-ethereum library has strict validations on server replies.
Use zksync2.Provider implementation, like DefaultProvider and its method GetTransaction(txHash common.Hash) (*TransactionResponse, error)
in this case.
Prints out:
As far as I remember it worked before an updated ~ near end of January / beginning of February...