-
Notifications
You must be signed in to change notification settings - Fork 215
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: fusdc ChainPolicy
schema
#10679
Conversation
Deploying agoric-sdk with Cloudflare Pages
|
db22887
to
48171d8
Compare
@@ -58,11 +58,14 @@ export interface PoolMetrics extends PoolStats { | |||
} | |||
|
|||
export interface ChainPolicy { | |||
nobleContractAddress: EvmHash; | |||
/** `msg.sender` of DepositAndBurn to TokenMessenger must be an attenuated wrapper contract that does not contain `replaceDepositForBurn` */ |
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.
👌
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.
I'd like to see a few words from this JSDoc lifed to the PR description and/or title.
not critical.
confirmations: M.number(), | ||
chainId: M.number(), | ||
}, | ||
{ chainType: M.number() }, |
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.
👍
@@ -17,10 +17,10 @@ Generated by [AVA](https://avajs.dev). | |||
{ | |||
chainPolicies: { | |||
Arbitrum: { | |||
attenuatedCttpBridgeAddress: '0xe298b93ffB5eA1FB628e0C0D55A43aeaC268e347', |
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.
This address is different than the previous nobleContractAddress
, should we update it in multichain-testing/test/fast-usdc/config.ts as well?
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.
Good catch I am basing this on top of master (instead), but I'll make sure to make this change there too
@@ -68,7 +68,8 @@ export const configurations = { | |||
'0x19330d10D9Cc8751218eaf51E8885D058642E08A', | |||
chainId: 42161, | |||
confirmations: 2, | |||
nobleContractAddress: '0x19330d10D9Cc8751218eaf51E8885D058642E08A', | |||
attenuatedCttpBridgeAddress: | |||
'0xe298b93ffB5eA1FB628e0C0D55A43aeaC268e347', |
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.
were these properties previously sorted?
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.
fixed
@@ -58,11 +58,14 @@ export interface PoolMetrics extends PoolStats { | |||
} | |||
|
|||
export interface ChainPolicy { | |||
nobleContractAddress: EvmHash; | |||
/** `msg.sender` of DepositAndBurn to TokenMessenger must be an attenuated wrapper contract that does not contain `replaceDepositForBurn` */ |
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.
I'd like to see a few words from this JSDoc lifed to the PR description and/or title.
not critical.
4ed677f
to
d99ae45
Compare
48171d8
to
f046f07
Compare
Base branch is changed to master. Please re-run the integration tests by adding 'force:integration' label. |
- rename `nobleContractAddress` to `attenuatedCttpBridgeAddress` - include jsdoc comments for `ChainPolicy` type - removed `chainType` from `ChainPolicy`. unused and should have been an enum. not needed for OCW currently
f046f07
to
8955990
Compare
Description
nobleContractAddress
toattenuatedCttpBridgeAddress
as it better captures the functionality in FUSDC.replaceDepositForBurn
. The Oracle Nodes must only report transactions wheredepositor
forDepositForBurn
is this value.ChainPolicy
typeSecurity Considerations
None
Scaling Considerations
None
Documentation Considerations
Improves docs via jsdoc annotations
Testing Considerations
None
Upgrade Considerations
None, unreleased code