-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(infra): verify that admin addresses for proxied contracts are checked by check-deploy #4171
base: main
Are you sure you want to change the base?
Conversation
|
@@ -25,7 +25,7 @@ export function localAccountRouters(): ChainMap<Address> { | |||
export const safes: ChainMap<Address | undefined> = { | |||
mantapacific: '0x03ed2D65f2742193CeD99D48EbF1F1D6F12345B6', // does not have a UI | |||
celo: '0x879038d6Fc9F6D5e2BA73188bd078486d77e1156', | |||
ethereum: '0x3965AC3D295641E452E0ea896a086A9cD7C6C5b6', | |||
ethereum: '0x0DA0C3e52C977Ed3cBc641fF02DD271c3ED55aFe', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed this to a known safe address on ethereum
@@ -90,6 +95,12 @@ export abstract class HyperlaneAppChecker< | |||
if (await isProxy(provider, contract.address)) { | |||
// Check the ProxiedContract's admin matches expectation | |||
const actualAdmin = await proxyAdmin(provider, contract.address); | |||
this.logger.debug( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking admin addresses for proxied contracts here
const ownableContracts = await this.ownables(chain); | ||
this.logger.debug(`Ownable contracts: ${Object.keys(ownableContracts)}`); | ||
for (const [name, contract] of Object.entries(ownableContracts)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if ownable contracts are owned by addresses defined in config
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4171 +/- ##
=====================================
Coverage 0.00% 0.00%
=====================================
Files 1 1
Lines 14 14
=====================================
Misses 14 14
|
…hecked by check-deploy
1b056a8
to
8320017
Compare
@@ -44,7 +44,7 @@ export const safes: ChainMap<Address | undefined> = { | |||
mode: '0xaCD1865B262C89Fb0b50dcc8fB095330ae8F35b5', | |||
}; | |||
|
|||
export const DEPLOYER = '0xa7ECcdb9Be08178f896c26b7BbD8C3D4E844d9Ba'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed deployer key to throw violation for warp
Description
Core
Warp
Drive-by changes
Related issues
Backward compatibility
Testing