-
Notifications
You must be signed in to change notification settings - Fork 187
feat: oracle bridge upgrade on admin networks #4817
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Reinis Martinsons <[email protected]>
}, | ||
"devDependencies": { | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.8.3" |
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.
@safe-global/types-kit
was not compatible with older typescipt from the root of the workspace.
(e) => | ||
e.returnValues.calls === | ||
[{ to: contractsByNetId[network.chainId].registry.options.address, data: registerContractData }] | ||
const relayedRegisterContractEvent = relayedTransactions.find((e) => |
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.
The newer typescript version errored to build this as it does not allow comparison of object references
data: BytesLike; | ||
}[] = []; | ||
const changeImplementationAddressTx = await finder.populateTransaction.changeImplementationAddress( | ||
ethersUtils.formatBytes32String("Oracle"), |
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.
nit: use interfaceName.Oracle
from
const { interfaceName } = require("@uma/common");
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.
totally forgot we had it, will fix
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.
LGTM!
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
Motivation
The Oracle bridge contract upgrade from #4816 should be rolled out also to admin controlled networks.
Summary
Updates contract deployment address and scripts for generating and verifying multisig payload for upgrading Oracle bridging contracts on admin controlled networks.
Testing
Check a box to describe how you tested these changes and list the steps for reviewers to test.
Issue(s)
Fixes #XXXX