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

update difficulty for integration test #113

Merged
merged 3 commits into from
Oct 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/deployL2-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function deployContract() {
console.log("storage impl address is ", impl);

const data = implContract.interface.encodeFunctionData("initialize", [
1572864, // minimumDiff 0.1 * 180 (3 minutes) * 1024 * 1024 / 12 = 1572864 for 0.1 replicas that can have 1M IOs in one epoch
5242880, // minimumDiff 0.1 * 600 (10 minutes) * 1024 * 1024 / 12 = 5242880 for 0.1 replicas that can have 1M IOs in one epoch
ping-ke marked this conversation as resolved.
Show resolved Hide resolved
6144000000000000000n, // prepaidAmount - 50% * 2^30 / 131072 * 1500000Gwei, it also means 3145 ETH for half of the shard
1048576, // nonceLimit 1024 * 1024 = 1M samples and finish sampling in 1.3s with IO rate 6144 MB/s: 4k * 2(random checks) / 6144 = 1.3s
treasuryAddress, // treasury
Expand Down
Loading