Cannot read properties of undefined (reading 'PolygonZkEVMBridge') error during using the ZkEvmClient #422
Unanswered
qiushui777
asked this question in
Q&A
Replies: 1 comment
-
Hi @qiushui777 Are you able to resolve this error? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to write a script that generates the proof when bridging from zkevm to ethereum.
here is the codes
However, I got this error.
err TypeError: Cannot read properties of undefined (reading 'PolygonZkEVMBridge') at /root/node_modules/@maticnetwork/maticjs/dist/matic.node.js:5225:45 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getPOSClient (/root/dev/qscrosschainarb/zkprovebyte.js:25:3) at async execute_slow (/root/dev/qscrosschainarb/zkprovebyte.js:54:18)
What's wrong here? I think I follow the codes from the website(https://docs.polygon.technology/tools/matic-js/zkevm/initialize/).
Any help here?
Beta Was this translation helpful? Give feedback.
All reactions