Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble deploying custom cli contracts that are zk chains #5974

Closed
nidz-the-fact opened this issue Jan 17, 2025 · 6 comments
Closed

Trouble deploying custom cli contracts that are zk chains #5974

nidz-the-fact opened this issue Jan 17, 2025 · 6 comments
Assignees

Comments

@nidz-the-fact
Copy link
Contributor

nidz-the-fact commented Jan 17, 2025

I'm having trouble deploying custom cli contracts that are zk chains. Please check. Thank you.

ref: https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155
use command: npx thirdweb deploy --zksync -k <secret-key>
config:

zksolc: {
    version: "1.3.9",
    compilerSource: "binary",
    settings: {
      optimizer: {
        enabled: true,
      },
    },
  },
paths: {
    artifacts: "./artifacts-zk",
    cache: "./cache-zk",
    sources: "./contracts",
    tests: "./test", 
},
solidity {
    version: "0.8.17",
    settings: {
      optimizer: {
        enabled: true,
        runs: 200,
      },
    },
}

Problem review
Image

Image

Image

Thanks

Copy link

linear bot commented Jan 17, 2025

@gregfromstl
Copy link
Member

Hey @nidz-the-fact,

We'll try to reproduce this and get back to you.

@nidz-the-fact
Copy link
Contributor Author

nidz-the-fact commented Jan 20, 2025

And I thought: When I tested repeatedly, I found that there was 1 bug. The problem was when I entered the website and made a transaction for the first time, I encountered the

error

"Transaction error UnknownRpcError: An unknown RPC error occurred.

Details: Failed to initialize request
Version: [email protected]" must be pressed a second time. To be able to work"

When I use Thirdweb SDK interact with zk chains. Please check again. @gregfromstl

ref.https://portal.thirdweb.com/references/typescript/v5/ClaimButton
demo.https://github.com/Abstract-Foundation/examples/tree/main/agw-thirdweb-nextjs

Thanks

20250118-0822-47.9153445.mp4

@nidz-the-fact
Copy link
Contributor Author

And I thought: When I tested repeatedly, I found that there was 1 bug. The problem was when I entered the website and made a transaction for the first time, I encountered the

error

"Transaction error UnknownRpcError: An unknown RPC error occurred.
Details: Failed to initialize request
Version: [email protected]" must be pressed a second time. To be able to work"

When I use Thirdweb SDK interact with zk chains. Please check again. @gregfromstl

ref.https://portal.thirdweb.com/references/typescript/v5/ClaimButton demo.https://github.com/Abstract-Foundation/examples/tree/main/agw-thirdweb-nextjs

Thanks

20250118-0822-47.9153445.mp4

Sorry, I think this problem probably comes from pop-up blocked in the browser operating system I use.

@nidz-the-fact
Copy link
Contributor Author

I still can't use it @gregfromstl @kumaryash90 @warengonzaga This problem has not been resolved yet.

Copy link
Contributor

github-actions bot commented Feb 2, 2025

This issue has been inactive for 7 days. It is now marked as stale and will be closed in 2 days if no further activity occurs.

@github-actions github-actions bot added the Stale label Feb 2, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants