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

Create deployL2-it.js to deploy contract to l2 network for integration test and wait until it finalized #103

Merged
merged 13 commits into from
Aug 5, 2024

Conversation

ping-ke
Copy link
Contributor

@ping-ke ping-ke commented Jul 30, 2024

Create deployL2-it.js to deploy the contract to l2 network for integration test

  1. Add deployL2-it.js
  • Change shardSizeBits to 32 (4GB)
  • Change minimumDiff to 1572864 ( 0.1 * 180 (3 minutes) * 1024 * 1024 / 12 = 1572864)
  1. Add commands to package.json
    "deployL2ITDev": "npx hardhat run scripts/deployL2-it.js --network qkc_devnet",
    "deployL2ITTest": "npx hardhat run scripts/deployL2-it.js --network qkc_testnet"

image

scripts/deployL2-it.js Outdated Show resolved Hide resolved
@ping-ke ping-ke requested a review from qzhodl July 31, 2024 12:02
scripts/deployL2-it.js Outdated Show resolved Hide resolved
@ping-ke ping-ke requested a review from qzhodl August 1, 2024 07:55
@ping-ke ping-ke merged commit df774c7 into main Aug 5, 2024
1 check passed
@ping-ke ping-ke changed the title Create deployL2-it.js to deploy contract to l2 network for integration test Create deployL2-it.js to deploy contract to l2 network for integration test and wait until it finalized Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants