Skip to content

Commit

Permalink
debug: scenario is running localy, but not via github. debuging
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-woof-software committed Jun 13, 2024
1 parent cecbae4 commit 6314494
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scenario/CrossChainGovernanceScenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,24 +152,30 @@ scenario(
}
);

scenario(
scenario.only(
'upgrade Arbitrum governance contracts and ensure they work properly',
{
filter: async ctx => matchesDeployment(ctx, [{network: 'arbitrum'}, {network: 'arbitrum-goerli'}])
},
async ({ comet, configurator, proxyAdmin, timelock: oldLocalTimelock, bridgeReceiver: oldBridgeReceiver }, context, world) => {
console.log('debug')
const dm = world.deploymentManager;
const governanceDeploymentManager = world.auxiliaryDeploymentManager;
console.log('governanceDeploymentManager', !!governanceDeploymentManager)
if (!governanceDeploymentManager) {
throw new Error('cannot execute governance without governance deployment manager');
}

console.log('before new bridge receiver')
// Deploy new ArbitrumBridgeReceiver
const newBridgeReceiver = await dm.deploy<ArbitrumBridgeReceiver, []>(
'newBridgeReceiver',
'bridges/arbitrum/ArbitrumBridgeReceiver.sol',
[]
);
console.log('after new bridge receiver')
console.log({address: newBridgeReceiver.address})
console.log({newBridgeReceiver})

// Deploy new local Timelock
const secondsPerDay = 24 * 60 * 60;
Expand Down

0 comments on commit 6314494

Please sign in to comment.