Skip to content

Commit

Permalink
fix(exec): Fix issue verifying chugsplash contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
RPate97 committed Jan 24, 2023
1 parent b47f704 commit 5a135ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/bright-suns-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@chugsplash/contracts': patch
'@chugsplash/executor': patch
---

Fix issue verifying ChugSplash contracts
1 change: 1 addition & 0 deletions packages/contracts/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export const DEFAULT_ADAPTER_ADDRESS = ethers.utils.getCreate2Address(
export const CHUGSPLASH_CONSTRUCTOR_ARGS = {}
CHUGSPLASH_CONSTRUCTOR_ARGS[chugsplashRegistrySourceName] = [
PROXY_UPDATER_ADDRESS,
REVERTER_ADDRESS,
OWNER_BOND_AMOUNT,
EXECUTION_LOCK_TIME,
EXECUTOR_PAYMENT_PERCENTAGE,
Expand Down
2 changes: 1 addition & 1 deletion packages/executor/src/utils/etherscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const verifyChugSplash = async (
etherscanApiKey,
minimumCompilerInput,
buildInfo.solcVersion,
CHUGSPLASH_CONSTRUCTOR_ARGS[address]
CHUGSPLASH_CONSTRUCTOR_ARGS[sourceName]
)
}

Expand Down

0 comments on commit 5a135ec

Please sign in to comment.