-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: update addAsset scripts #62
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
const manifestBundleRef = { | ||
bundleID: | ||
"b1-4fa91236698b96550e441179909297b8df96deea6a53bd3d5ae27415d0cab5cf620b8243a70e82a0c27807da572bf90a2094e169cb872e72fa975988b0a8257c" | ||
"b1-c016d741a13041e8eefbd05fc5f645113e10beba55fdce2d5ed979bbb1c95077cf2edbe359d588e28bf68d837665458e65c1d534d32f090125951458c461a829" | ||
}; | ||
const getManifestCall = harden([ | ||
"getManifestForPriceFeed", | ||
|
@@ -22,7 +22,7 @@ const getManifestCall = harden([ | |
maxSubmissionCount: 1000, | ||
maxSubmissionValue: | ||
115792089237316195423570985008687907853269984665640564039457584007913129639936n, | ||
minSubmissionCount: 3, | ||
minSubmissionCount: 3, // TODO: parameterize | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @otoole-brendan this means that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm that would mean needing to use 3x gov accounts with oracle rights to change price right? How are we handling this on Emerynet where control oracles with 2x Gov accounts? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. or we adjust setPrice to use all 3 gov accounts as oracles There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @otoole-brendan writes elsewhere:
|
||
minSubmissionValue: 1n, | ||
restartDelay: 1, | ||
timeout: 10, | ||
|
@@ -31,7 +31,7 @@ const getManifestCall = harden([ | |
"%%NoracleAddressesN%%" | ||
], | ||
priceAggregatorRef: { | ||
bundleID: "b1-991f5fece438a302e710b2612f67a5bafd23362dc6e1a27228e3b6be3775cb07ef1d1456f3259256dc572effb7c671d8c882a3251b7551bf08e7f93f7d4c71e1", | ||
bundleID: "b1-eca5ebeecb317450e049b450fa6449287844a324b0385cbc73e320adef79a168c71ffe441e95ef4ce7b4d15e62bb01ed87dace27d09646609ae3f20c5496a3e9", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How is this bundle built? I'd like to verify that I can reproduce it. This applies to all 4 bundles that need to be uploaded. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in the branch agoric-upgrade-18, I ran
and that generated the four bundles. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I cannot confirm the add-oracle bundle. the others look ok: priceAggregatorRef, scaledPriceAuthorityRef, add-vault
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. u18 ci (from Agoric/agoric-sdk#10773 , from Agoric/agoric-sdk@f8c45b8a2e) gets what I got:
And it sounds like you can get |
||
}, | ||
}, | ||
]); | ||
|
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 way we verified this change was that you ran a local a3p chain, right @Chris-Hibbert ?
Do you happen to still have the logs we looked at? The
yarn docker:logs
output of the stuff executing. It would be about a screenful. Share them in a comment on this PR, please? Timestamps in particular give me warm fuzzies.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 tested both on a local chain and on xnet. This looks like the relevant section from the local chain
On XNet, I used this GCloud Query