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

chore: More upgrade-16 cherry-picks #9675

Merged
merged 7 commits into from
Jul 10, 2024

Conversation

gibson042
Copy link
Member

Description

Includes commits from the following PRs:

...plus a new commit introducing upgrade name "agoric-upgrade-16-2".

Constructed using the following git rebase -i HEAD todo list:

# pull request #9671
# resolve conflicts by:
# * `git rm packages/orchestration/test/supports.ts`
# * in packages/vats/src/proposals/transfer-proposal.js, take the proposed imports
# * in packages/vats/test/localchain.test.js, leave `import { NonNullish } from '@agoric/assert'`
#   but take the VTRANSFER_IBC_EVENT change
pick 217005a921dcac6928c999e6bfe06330a5947ac5 fix: adopt `VTRANSFER_IBC_EVENT` as an action-type (#9671)

# pull request #9672 branch mfig-update-swingset-configs
label base-mfig-update-swingset-configs
pick 870d2052ce1ca6778f6afa4396e01d5833b7ef38 fix(vm-config): always use `init-localchain` and `init-transfer`
pick 236a3f03c33cbee1e393e05db24d905e782b4e63 chore(vm-config): remove obsolete `pegasus/init-core.js`
pick 7f7a8bd0a0f07b172b7879bdc19ac81d8f37cb37 chore(bank): demote noisy logs to `debug` level
pick 9b317a08ead45f314330d609fe7915cd00f9e0e3 docs: purpose of itest-vaults config
label mfig-update-swingset-configs
reset base-mfig-update-swingset-configs
merge -C 8f019c091902561290e54ebe2900f12e2e5fbdf8 mfig-update-swingset-configs # fix(vm-config): always use `init-localchain` and `init-transfer` (#9672)

michaelfig and others added 7 commits July 9, 2024 19:22
closes: #9670

Ensure that the `VTRANSFER_IBC_EVENT` messages are plumbed through the `cosmic-swingset` layer.

Prevents chain halt when the `x/vtransfer` facilities are used.

This bug was overlooked because end-to-end testing of this facility was not completed until a late stage. Earlier unit testing used mocks of the bridge device that did not have the same problematic behaviour. More automated end-to-end IBC testing in a close-to-production setting is needed.

Fixing this `cosmic-swingset` behaviour does not require upgrade of any other components.
## Description

While working on orchnet, I discovered that `decentral-itest-vaults-config.json` lacked references to the `init-localchain.js` and `init-transfer.js` core-evals.

This PR:
- enables them for future chains, since we intend to use them wherever `init-network.js` is present
- removes config references to Pegasus, since it is an obsolete demonstration of an IBC contract, and now we have newer and better examples,
- reduces loud warnings from `vat-bank.js` when unregistered asset balances were detected, since we expect this to be commonplace when dealing with IBC assets from many chains

### Security Considerations
n/a

### Scaling Considerations
Less logging from `vat-bank.js`, once it is upgraded (or started on a new chain).

### Testing Considerations


### Upgrade Considerations
The `vat-bank.js` changes do not modify functionality except logging, so I consider it safe to include for future chains without requiring mainnet's bank vat to be upgraded.
@gibson042 gibson042 requested a review from mhofman July 9, 2024 23:25
@gibson042 gibson042 changed the title Gibson upgrade 16 rc2 cherry picks chore: More upgrade-16 cherry-picks Jul 9, 2024
Copy link

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: df59ce3
Status: ✅  Deploy successful!
Preview URL: https://00fc3f07.agoric-sdk.pages.dev
Branch Preview URL: https://gibson-upgrade-16-rc2-cherry.agoric-sdk.pages.dev

View logs

@mhofman mhofman added the force:integration Force integration tests to run on PR label Jul 9, 2024
Copy link
Member

@mhofman mhofman left a comment

Choose a reason for hiding this comment

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

Verified that the rebase todo produces the same changes

@gibson042 gibson042 merged commit 5a29e6a into dev-upgrade-16 Jul 10, 2024
83 checks passed
@gibson042 gibson042 deleted the gibson-upgrade-16-rc2-cherry-picks branch July 10, 2024 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
force:integration Force integration tests to run on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants