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-17 (proposal 78) #184

Merged
merged 2 commits into from
Oct 18, 2024
Merged

feat: Add agoric-upgrade-17 (proposal 78) #184

merged 2 commits into from
Oct 18, 2024

Conversation

gibson042
Copy link
Member

Created by following
https://github.com/Agoric/agoric-sdk/tree/agoric-upgrade-17/a3p-integration/proposals#migrate-the-proposal for https://ping.pub/agoric/gov/78

This PR currently copies a:upgrade-17 but not s:stake-bld or z:acceptance, which per CONTRIBUTING.md I think should instead move to a3p-integration/z:acceptance.

I admit to a lack of understanding in how the transfer for this upgrade should proceed, and will update instructions based on review feedback.

Copy link
Member

@dckc dckc left a comment

Choose a reason for hiding this comment

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

close! but due to missing stuff from build-all-submissions.sh, I doubt ci will pass.

Comment on lines 1 to 6
# Generated Artifacts to Ignore in CI
add-LEMONS/
add-OLIVES/
upgrade-bank/
upgrade-provisionPool/
upgrade-orch-core/
Copy link
Member

Choose a reason for hiding this comment

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

I think these are generated in the agoric-sdk context but in this context, they're checked in.

@@ -0,0 +1,208 @@
import {
Copy link
Member

Choose a reason for hiding this comment

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

sigh. another copy of these tools. Here's hoping to migrate stuff to synthetic-chain

# Proposal to upgrade the chain software

This reflects agoric-upgrade-17, which was adopted on mainnet by [governance
proposal 78](https://ping.pub/agoric/gov/78).
Copy link
Member

Choose a reason for hiding this comment

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

maybe include the date? it passed 2024-10-05


import { agd, evalBundles, waitForBlock } from '@agoric/synthetic-chain';

const SUBMISSION_DIR = 'localchaintest-submission';
Copy link
Member

Choose a reason for hiding this comment

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

I think we need this directory populated with files that we built with a3p-integration/scripts/build-all-submissions.sh.

Copy link
Member Author

Choose a reason for hiding this comment

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

Confirmed; CI got some expected errors:

PPT post {
  totalMintedConverted: { brand: '$0.Alleged: IST brand', value: '+20010000' },
  totalMintedProvided: { brand: '$0', value: '+2750000' },
  walletsProvisioned: '+11'
}
  ✘ [fail]: provisionPool › upgrading provisionPool and vat-bank Rejected promise returned by test
    ℹ add assets before
    ℹ upgrade Bank
  ─

  localchain › localchain passes tests

  Rejected promise returned by test. Reason:

  Error {
    code: 'ENOENT',
    errno: -2,
    path: 'localchaintest-submission',
    syscall: 'scandir',
    message: 'ENOENT: no such file or directory, scandir \'localchaintest-submission\'',
  }



  provisionPool › upgrading provisionPool and vat-bank
  Rejected promise returned by test. Reason:

  Error {
    code: 'ENOENT',
    errno: -2,
    path: 'upgrade-bank',
    syscall: 'scandir',
    message: 'ENOENT: no such file or directory, scandir \'upgrade-bank\'',
  }

Comment on lines +13 to +16
const NULL_UPGRADE_BANK_DIR = 'upgrade-bank';
const UPGRADE_PP_DIR = 'upgrade-provisionPool';
const ADD_LEMONS_DIR = 'add-LEMONS';
const ADD_OLIVES_DIR = 'add-OLIVES';
Copy link
Member

Choose a reason for hiding this comment

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

likewise I think we need these directories populated.

@@ -0,0 +1,166 @@
/**
* @file work-around: importing @agoric/synthetic-chain hangs XXX
Copy link
Member

Choose a reason for hiding this comment

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

??? I wonder what that's about.

But I guess it passed review in agoric-sdk, so... oh well.

@gibson042 gibson042 requested a review from dckc October 17, 2024 16:12
Copy link
Member

@dckc dckc left a comment

Choose a reason for hiding this comment

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

well done.

¡bien hecho!

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