Closed Zena-park closed 2 months ago
npx hardhat test test/layer2/sepolia_test/1.updateSeigs.ts
npx hardhat test test/layer2/sepolia_test/2.withdrawAndDepositL2.ts
npx hardhat test test/layer2/sepolia_test/3.updateSeigsAndClaim.ts
npx hardhat test test/layer2/sepolia_test/4.updateSeigsAndStake.ts
Pause test of sequencer seigniorage Check if sequencer seigniorage is not issued when sequencer seigniorage is paused.
npx hardhat test test/layer2/sepolia_test/6.pauseSequencerSeigs.ts
[x] Deploy the titan-sepolia, thanos-sepolia CandidateAddOn on sepolia
const titan_info = { systemConfig : "0x1cA73f6E80674E571dc7a8128ba370b8470D4D87", type: 1, amount: ethers.BigNumber.from("1000100000000000000000"), flagTon: true, name: "Titan-sepolia", bridge: "0x1F032B938125f9bE411801fb127785430E7b3971", portal: "", l2TON: "0x7c6b91d9be155a6db01f749217d76ff02a7227f2" }
titan_rollupConfigInfo [ status: 1, operatorManager: '0x7afEfd134118B7eCbF25F9E4e73C1aef8BE0603d' ]
titan_CandidateAddOnInfo [ rollupConfig: '0x1cA73f6E80674E571dc7a8128ba370b8470D4D87', candidateAddOn: '0x4400458626eb4d7fc8f10811e9A2fB0A345a8875' ]
const thanos_info = { systemConfig : "0xB8209Cc81f0A8Ccdb09238bB1313A039e6BFf741", type: 2, amount: ethers.BigNumber.from("1000100000000000000000"), flagTon: true, name: "Thanos-sepolia", bridge: "0x385076516318551d566CAaE5EC59c23fe09cbF65", portal: "0x7b6db1316e22167b56211cDDC33431098BaBC3c2", l2TON: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000" }
thanos_rollupConfigInfo [ status: 1, operatorManager: '0xEE85eD759BcE873e0946448a7Fa922A3f177955F' ]
thanos_CandidateAddOnInfo [ rollupConfig: '0xB8209Cc81f0A8Ccdb09238bB1313A039e6BFf741', candidateAddOn: '0x0e5417d597CC19abFb477Fa7e760AdcABDfe60E2' ]
[x] Function Test
test update seigniorage of CandidateAddOn and DAOCandidate
test withdrawAndDepositL2 function of CandidateAddOn
test to execute updateSeignorage and Claim concurrently of OperatorManager(sequencer)
test to execute updateSeignorage and Staking concurrently of OperatorManager(sequencer)
[x] Pause test of sequencer seigniorage
Check if sequencer seigniorage is not issued when sequencer seigniorage is paused.