Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/forty-guests-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-periphery': patch
---

Re-deploy RetroReceiver
2 changes: 0 additions & 2 deletions packages/contracts-periphery/config/deploy/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { DeployConfig } from '../../src'

const config: DeployConfig = {
ddd: '0x9C6373dE60c2D3297b18A8f964618ac46E011B58',
retroReceiverOwner: '0xc37f6a6c4AB335E20d10F034B90386E2fb70bbF5',
drippieOwner: '0xc37f6a6c4AB335E20d10F034B90386E2fb70bbF5',
}

export default config
2 changes: 0 additions & 2 deletions packages/contracts-periphery/config/deploy/optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { DeployConfig } from '../../src'

const config: DeployConfig = {
ddd: '0x9C6373dE60c2D3297b18A8f964618ac46E011B58',
retroReceiverOwner: '0xc37f6a6c4AB335E20d10F034B90386E2fb70bbF5',
drippieOwner: '0xc37f6a6c4AB335E20d10F034B90386E2fb70bbF5',
}

export default config
2 changes: 1 addition & 1 deletion packages/contracts-periphery/deploy/RetroReceiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const deployFn: DeployFunction = async (hre) => {
const { deploy } = await hre.deployments.deterministic('AssetReceiver', {
salt: hre.ethers.utils.solidityKeccak256(['string'], ['RetroReceiver']),
from: deployer,
args: [config.retroReceiverOwner],
args: [config.ddd],
log: true,
})

Expand Down
2 changes: 1 addition & 1 deletion packages/contracts-periphery/deploy/drippie/Drippie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const deployFn: DeployFunction = async (hre) => {
const { deploy } = await hre.deployments.deterministic('Drippie', {
salt: hre.ethers.utils.solidityKeccak256(['string'], ['Drippie']),
from: deployer,
args: [config.drippieOwner],
args: [config.ddd],
log: true,
})

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

16 changes: 0 additions & 16 deletions packages/contracts-periphery/src/config/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ export interface DeployConfig {
* the DDD to transfer ownership to the final contract owner very quickly after deployment.
*/
ddd: string

/**
* Initial RetroReceiver owner.
*/
retroReceiverOwner: string

/**
* Initial Drippie owner.
*/
drippieOwner: string
}

/**
Expand All @@ -36,12 +26,6 @@ const configSpec: {
ddd: {
type: 'address',
},
retroReceiverOwner: {
type: 'address',
},
drippieOwner: {
type: 'address',
},
}

/**
Expand Down