Skip to content
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: add agoric-upgrade-18 (proposal 83) #211

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

mujahidkay
Copy link
Member

@mujahidkay mujahidkay commented Jan 13, 2025

Description

This PR adopts governance proposal 83 as per upgrade 18. Created via following instructions here.
Companion agoric-sdk PR

When a proposal passes on agoric-3 Mainnet, it should be included in the history that this synthetic image tracks.

  • before this PR, change any fromTag using latest (such as a3p-integration) to use a fixed version (otherwise they will fail when this PR changes latest and they pick it up)
  • before merging this PR, include a link to a PR that adopts its fromTag use-${proposalName} (where proposalName is the part of the agoric-3-proposals proposal directory name after the colon, cf. a3p-integration/proposals)
  • after this PR merges, merge that other PR

Copy link
Member

@turadg turadg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This meets the mechanical criteria of transferring the proposal and core-eval builds from agoric-sdk.

We could improve the code factoring but that's out of scope. This code won't be updated much at all so the duplication and possible confusion in naming isn't very consequential.

Heads up that this repo doesn't have autoquash so you'll have to do that locally before merging.

UPDATE: I took the liberty of doing that and force-pushing so you'd have a mergeable branch.

./verifyPushedPrice.js 'ATOM' 12.01
./verifyPushedPrice.js 'stATOM' 12.01

./openVault.js
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the future we might want some vstorage snapshot tests to document the new state the subsequent tests can depend on. Out of scope, just thinking out loud

await registerOraclesForBrand(brand, oraclesByBrand);
console.log(`Registering Oracle for ${brand}`);

await verifyPushedPrice(price, brand, oraclesByBrand, ROUND_ID);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this function is poorly named because it's doing more than verifying: it's pushing prices. This script is also doing more: registering oracles.

I think it's okay to land but just wanted to point that out for your consideration.

@mujahidkay mujahidkay merged commit 7223f5b into main Jan 22, 2025
2 checks passed
@mujahidkay mujahidkay deleted the mk/migrate-u18 branch January 22, 2025 05:49
mergify bot added a commit to Agoric/agoric-sdk that referenced this pull request Jan 31, 2025
Agoric/agoric-3-proposals#211







## Description

This PR updates a3p to use upgrade-18 image as well as remove u18 core proposals from upgrade.go. 
### Security Considerations
None

### Scaling Considerations
None

### Documentation Considerations
None

### Testing Considerations
All testing as it updates the base image for a3p

### Upgrade Considerations
Removes u18 core proposals from upgrade.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants