Skip to content

Commit

Permalink
[feat] change default _batchFee
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaji-wei committed Mar 26, 2024
1 parent a0c3cf6 commit 5424976
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ contract PolygonRollupManagerNotUpgraded is PolygonRollupManager {
trustedAggregatorTimeout = _trustedAggregatorTimeout;

// Constant deployment variables
_batchFee = 0.1 ether; // 0.1 Matic
_batchFee = 0 ether; // 0.0 Matic
verifyBatchTimeTarget = 30 minutes;
multiplierBatchFee = 1002;

Expand Down
8 changes: 4 additions & 4 deletions deployment/v2/1_createGenesis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,10 @@ async function main() {
address: finalDeployer,
});

if (deployParameters.test) {
// Add tester account with ether
genesis[genesis.length - 1].balance = "100000000000000000000000";
}
// if (deployParameters.test) {
// // Add tester account with ether
// genesis[genesis.length - 1].balance = "100000000000000000000000";
// }

// calculate root
const poseidon = await getPoseidon();
Expand Down
4 changes: 3 additions & 1 deletion deployment/v2/4_createRollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,9 @@ async function main() {
outputJson.createRollupBlockNumber = blockDeploymentRollup.number;
outputJson.rollupAddress = newZKEVMAddress;
outputJson.verifierAddress = verifierContract.target;
outputJson.consensusContract = consensusContract;
outputJson.consensusContract = PolygonconsensusContract.target;
outputJson.forkID = forkID;
outputJson.trustedSequencer = trustedSequencer;

fs.writeFileSync(pathOutputJson, JSON.stringify(outputJson, null, 1));
}
Expand Down

0 comments on commit 5424976

Please sign in to comment.