Skip to content

Commit

Permalink
Small fix to migration task; fix relations for Base Sepolia USDC (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincheng96 committed Mar 22, 2024
1 parent 3af8efb commit e409d2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions deployments/sepolia/usdc/relations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,7 @@ export default {
}
},
baseL1StandardBridge: {
artifact: 'contracts/bridges/optimism/IL1StandardBridge.sol:IL1StandardBridge',
delegates: {
field: {
slot: '0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc'
}
}
artifact: 'contracts/bridges/optimism/IL1StandardBridge.sol:IL1StandardBridge'
},
lineaMessageService: {
artifact: 'contracts/bridges/linea/IMessageService.sol:IMessageService',
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ const config: HardhatUserConfig = {
auxiliaryBase: 'goerli'
},
{
name: 'base-sepolia',
name: 'base-sepolia-usdc',
network: 'base-sepolia',
deployment: 'usdc',
auxiliaryBase: 'sepolia'
Expand Down
2 changes: 1 addition & 1 deletion tasks/deployment_manager/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ task('migrate', 'Runs migration')
let governanceDm: DeploymentManager;
const base = env.config.scenario.bases.find(b => b.network === network && b.deployment === deployment);
const isBridgedDeployment = base.auxiliaryBase !== undefined;
const governanceBase = isBridgedDeployment ? env.config.scenario.bases.find(b => b.name === base.auxiliaryBase) : undefined;
const governanceBase = isBridgedDeployment ? env.config.scenario.bases.find(b => b.network === base.auxiliaryBase) : undefined;

if (governanceBase) {
const governanceEnv = hreForBase(governanceBase, simulate);
Expand Down

0 comments on commit e409d2e

Please sign in to comment.