Tooling
Add new rollup type
Tool to call addNewRollupType function.
This tool adds a new rollup type to PolygonRollupManager contract.
- Go to repository: agg-contracts-internal.
- You can use this tool to add new rollup type
- Follow the steps found in this README.
- Set parameters
add_rollup_type.json. - Run tool
npx hardhat run ./tools/addRollupType/addRollupType.ts --network <network>
Create new rollup (attachAggchainToAL)
Tool to call attachAggchainToAL function.
This tool adds a new aggchain to PolygonRollupManager contract.
- Go to repository: agg-contracts-internal.
- You can use this tool to add new chain
- Follow the steps found in this README.
- Set parameters
create_new_rollup.json. - Copy
genesis.jsonfile - Run tool
npx hardhat run ./tools/createNewRollup/createNewRollup.ts --network <network>
Upate rollup
Tool to call updateRollup function.
This tool update rollup to new rollup type in PolygonRollupManager contract.
- Go to repository: agg-contracts-internal.
- You can use this tool to update rollup to new type
- Follow the steps found in this README.
- Set parameters
updateRollup.json - Run tool
npx hardhat run ./tools/updateRollup/updateRollup.ts --network <network>