Skip to content

Releases: Agoric/agoric-sdk

YMax Alpha 1

16 Jul 02:08
f741807
Compare
Choose a tag to compare
YMax Alpha 1 Pre-release
Pre-release

A smart contract for managing diversified stablecoin yield portfolios across multiple chains and yield protocols. Also known as YMax, this proof-of-concept enables portfolio rebalancing across different yield protocols.

Build

Using Makefile

make 3-in-1
~/projects/agoric-sdk/multichain-testing$ make 3-in-1
# make ADDR=agoric1yupasge4528pgkszg9v328x4faxtkldsnygwjl fund-wallet
(cd ../packages/portfolio-deploy; yarn build)

  dist/portfolio.contract.bundle.js  933.6kb

⚡ Done in 38ms
agoric run ../packages/portfolio-deploy/src/portfolio.build.js
agoric: run: running /home/connolly/projects/agoric-sdk/packages/portfolio-deploy/src/portfolio.build.js
creating eval-ymax0-permit.json
creating eval-ymax0.js
You can now run a governance submission command like:
  agd tx gov submit-proposal swingset-core-eval eval-ymax0-permit.json eval-ymax0.js \
    --title="Enable <something>" --description="Evaluate eval-ymax0.js" --deposit=1000000ubld \
    --gas=auto --gas-adjustment=1.2
Remember to install bundles before submitting the proposal:
  agd tx swingset install-bundle @/home/connolly/.agoric/cache/b1-1cfec33f0aea5488aefbbe6b861bf5211081ea139f1bc8bd03540c7b35d6dcb7342b5be675e183cbf2b9d3cd0f9098a2a5e4cf349ce56f11df33835d26d938d7.json
  agd tx swingset install-bundle @/home/connolly/.agoric/cache/b1-d217fb17508ebe5c94e9ab432a9d6f5aea5fba810f7e5d7cc1785a6235e378e8eb117199624eb2f0061fc39126150d6f833617d0c2c26a979b36b0bb81d88a61.json

agoric run ../packages/portfolio-deploy/src/chain-info.build.js
agoric: run: running /home/connolly/projects/agoric-sdk/packages/portfolio-deploy/src/chain-info.build.js
using static mainnet config
configured chains: [ 'agoric', 'axelar', 'noble' ]
creating eval-chain-info-permit.json
creating eval-chain-info.js
You can now run a governance submission command like:
  agd tx gov submit-proposal swingset-core-eval eval-chain-info-permit.json eval-chain-info.js \
    --title="Enable <something>" --description="Evaluate eval-chain-info.js" --deposit=1000000ubld \
    --gas=auto --gas-adjustment=1.2
Remember to install bundles before submitting the proposal:
  agd tx swingset install-bundle @/home/connolly/.agoric/cache/b1-2127a1e2f296c89c04280272f3e110f4e4b56d98804200d001c9e49d9926e7d3130c81995ab3976a5962cd2199abeb2915a6c458c8700a2116bc6c01639e1f73.json

agoric run ../packages/portfolio-deploy/src/access-token-setup.build.js \
        --beneficiary=agoric16nwqe7452za92rwvnldmfdqr34n5rzhphe9sjy
agoric: run: running /home/connolly/projects/agoric-sdk/packages/portfolio-deploy/src/access-token-setup.build.js
CONFIG: {
  qty: 50000000,
  beneficiary: 'agoric16nwqe7452za92rwvnldmfdqr34n5rzhphe9sjy'
}
creating eval-access-token-setup-permit.json
creating eval-access-token-setup.js
You can now run a governance submission command like:
  agd tx gov submit-proposal swingset-core-eval eval-access-token-setup-permit.json eval-access-token-setup.js \
    --title="Enable <something>" --description="Evaluate eval-access-token-setup.js" --deposit=1000000ubld \
    --gas=auto --gas-adjustment=1.2
Remember to install bundles before submitting the proposal:
  agd tx swingset install-bundle @/home/connolly/.agoric/cache/b1-06934dae7861f141432664315f14def6ca9dc2790dba3fab70246ae1d1cf4f9bbe4688406eb9b8e60153da16a89af4d3105f17d6a40873d836f74051c7c9e954.json

agoric-upgrade-21

07 Jul 16:50
Compare
Choose a tag to compare

The Agoric OpCo engineering team is pleased to publish the agoric-upgrade-21 release. This release is primarily intended for migrating cosmos-sdk to v0.47.17 and enabling IST to BLD transitioning for inter protocol sunset, and some client-utils, orchestration and fast USDC improvements.

The full set of changes in this release can be found at #11511 and reviewed in detail at agoric-upgrade-20...agoric-upgrade-21.

Important

Note that Agoric SDK no longer supports Node 18. Please make sure you're on one of the supported versions as outlined in the README.
The release now also requires the use of corepack (part of Node.js). Please run corepack enable before building.

This release has satisfied all pre-release/testnet validation checks, and is now recommended for chains to upgrade from the previous agoric-upgrade-20 release. As a chain-halting upgrade, once approved, all chain validators will need to upgrade from agoric-upgrade-20 to this new version (after the chain halts due to reaching the height required in a governance proposal).

State-sync

State-sync snapshots now only include minimal data to restore a node. However there are still continued performance issues related to state-sync. In particular, we've observed that on some deployments, the snapshot taking and restoring process can take multiple hours, require about 20GB of temporary free disk space, and 16GB of memory.

Cosmos Upgrade Handler Name

Below is the cosmos upgrade handler name for this release. This is the name that can be used in governance proposals to deploy this upgrade.

Cosmos Upgrade Handler Name: agoric-upgrade-21

Tags

Below is the git information related to this software release. Note the git tag does not always match the cosmos upgrade handler name.

Git Tag: agoric-upgrade-21
Git Commit: e4dd46857133403d584bcf822a81817b355532f9
@agoric/cosmos package version: v0.35.0-u21.0
Docker: ghcr.io/agoric/agoric-sdk:63

As shown in go.mod this release is based on:

ibc-go v7.10.0
cosmos-sdk v0.47.17
cometbft v0.37.15

How to upgrade

Presuming that your node is running agoric-upgrade-20, once the upgrade height for a subsequent proposal to upgrade to agoric-upgrade-21 has been reached, your node will halt automatically allowing you to upgrade the agoric stack.

Prerequisites

Install supported versions of Go, Node.js, and a compiler such as gcc or clang as documented in the README.

After installing Node.js, run corepack enable.

Important

Agoric SDK no longer supports Node 18, as mentioned in the README above.

Make sure that the environment running the agd service has the same Node.js version as the environment used for building. In particular, if using nvm to manage Node.js version, the service environment should enable nvm and use the same version.

Building

# (stop the agd service)
cd agoric-sdk
git fetch --all
git checkout agoric-upgrade-21
git clean -xdf && git submodule foreach --recursive git clean -xdf
./bin/agd build
# (start the agd service)

Do not copy the agd script or Go binary to another location. If you would like to have an executable agd in another location, then create a symlink in that location pointing to agoric-sdk/bin/agd.

Troubleshooting module ... was compiled against a different Node.js version and SyntaxError issues

The agd service is not using the same version of Node.js as the one used when building. The most likely cause is that nvm was used to manage the Node.js version in the shell when building. Either install the required version of Node.js globally using the system's package manager, or enable nvm in the environment of the agd service.

Troubleshooting repoconfig.sh: No such file or directory

Unlike typical cosmos-sdk chains where the daemon is a single executable file, Agoric's use of cosmos-sdk depends on many components of agoric-sdk at runtime. Copying agd to /usr/local/bin or the like is unlikely to produce a working installation. For more detail, see: #7825

Troubleshooting Cannot find dependency ... in systemd

If you have LimitNOFILE=4096 in your systemd unit file, change it to LimitNOFILE=65536. For more detail, see #7817

Specifying --upgrade-info for the software upgrade proposal

The ./scripts/gen-upgrade-proposal.sh is designed to aid in composing a agd tx submit-proposal software-upgrade ... command. In particular, it captures package checksums to verify integrity of downloaded software.

agoric-upgrade-21-rc0

19 Jun 22:23
Compare
Choose a tag to compare
agoric-upgrade-21-rc0 Pre-release
Pre-release

The Agoric OpCo engineering team is pleased to publish the agoric-upgrade-21-rc0 release. This release is primarily intended for migrating cosmos-sdk to v0.47.17 and enabling IST to BLD transitioning for inter protocol sunset, and some client-utils, orchestration and fast USDC improvements.

The full set of changes in this release can be found at #11511 and reviewed in detail at agoric-upgrade-20...agoric-upgrade-21-rc0.

Important

Note that Agoric SDK no longer supports Node 18. Please make sure you're on one of the supported versions as outlined in the README.

Assuming this release satisfies all pre-release/testnet validation checks, it will be promoted to agoric-upgrade-21, and recommended for chains to upgrade from the previous agoric-upgrade-20 release. As a chain-halting upgrade, once approved, all chain validators will need to upgrade from agoric-upgrade-20 to this new version (after the chain halts due to reaching the height required in a governance proposal).

State-sync

State-sync snapshots now only include minimal data to restore a node. However there are still continued performance issues related to state-sync. In particular, we've observed that on some deployments, the snapshot taking and restoring process can take multiple hours, require about 20GB of temporary free disk space, and 16GB of memory.

Cosmos Upgrade Handler Name

Below is the cosmos upgrade handler name for this release. This is the name that can be used in governance proposals to deploy this upgrade.

Cosmos Upgrade Handler Name: agoric-upgrade-21

Tags

Below is the git information related to this software release. Note the git tag does not always match the cosmos upgrade handler name.

Git Tag: agoric-upgrade-21-rc0
Git Commit: e4dd46857133403d584bcf822a81817b355532f9
@agoric/cosmos package version: v0.35.0-u21.0
Docker: ghcr.io/agoric/agoric-sdk:63

As shown in go.mod this release is based on:

ibc-go v7.10.0
cosmos-sdk v0.47.17
cometbft v0.37.15

How to upgrade

Presuming that your node is running agoric-upgrade-20, once the upgrade height for a subsequent proposal to upgrade to agoric-upgrade-21-rc0 has been reached, your node will halt automatically allowing you to upgrade the agoric stack.

Prerequisites

Install supported versions of Go, Node.js, and a compiler such as gcc or clang as documented in the README.

Important

Agoric SDK no longer supports Node 18, as mentioned in the README above.

Make sure that the environment running the agd service has the same Node.js version as the environment used for building. In particular, if using nvm to manage Node.js version, the service environment should enable nvm and use the same version.

Building

# (stop the agd service)
cd agoric-sdk
git fetch --all
git checkout agoric-upgrade-21-rc0
git clean -xdf && git submodule foreach --recursive git clean -xdf
./bin/agd build
# (start the agd service)

Do not copy the agd script or Go binary to another location. If you would like to have an executable agd in another location, then create a symlink in that location pointing to agoric-sdk/bin/agd.

Troubleshooting module ... was compiled against a different Node.js version and SyntaxError issues

The agd service is not using the same version of Node.js as the one used when building. The most likely cause is that nvm was used to manage the Node.js version in the shell when building. Either install the required version of Node.js globally using the system's package manager, or enable nvm in the environment of the agd service.

Troubleshooting repoconfig.sh: No such file or directory

Unlike typical cosmos-sdk chains where the daemon is a single executable file, Agoric's use of cosmos-sdk depends on many components of agoric-sdk at runtime. Copying agd to /usr/local/bin or the like is unlikely to produce a working installation. For more detail, see: #7825

Troubleshooting Cannot find dependency ... in systemd

If you have LimitNOFILE=4096 in your systemd unit file, change it to LimitNOFILE=65536. For more detail, see #7817

Specifying --upgrade-info for the software upgrade proposal

The ./scripts/gen-upgrade-proposal.sh is designed to aid in composing a agd tx submit-proposal software-upgrade ... command. In particular, it captures package checksums to verify integrity of downloaded software.

Fast USDC CCTP Beta

14 May 19:15
04bd001
Compare
Choose a tag to compare
Fast USDC CCTP Beta Pre-release
Pre-release

What's Changed

Since fast-usdc-rc2 12 Mar 2025, this release:

  • adds support for EVM destinations (ethereum, Avalanche C-Chain, optimism OP Mainnet, Arbitrum One, base, Polygon PoS) via noble using CCTP

    • adds per-destination fee support
      • including relayFee that is not remitted to liquidity providers
    • adds orchestration support for depositForBurn()
    • adds some orchestration support for non-cosmos chains
  • adds retrying of forwarding for up to an hour to mitigate IBC relayer availability risks

  • remediates existing cases where the liquidity pool wasn't replenished because of transaction batching

  • minimize Fast USDC heap growth (#10955)

Full Changelog: fast-usdc-rc2...fast-usdc-cctp-b1

Bundles, Core Eval Assets

Supplemental assets are taken from the a3p-integration artifact from the a ci job for #11370
sha256:f88d7c482208912b9c9a017c9fa6e187e123644e7fa42b4988ecd056ea601f2e

New Contributors

agoric-upgrade-20

15 May 12:04
Compare
Choose a tag to compare

The Agoric OpCo engineering team is pleased to publish the agoric-upgrade-20 release. This release is primarily intended to upgrade orchestration vats, fix memory leaks, and some mainnet sustainability and platform enhancements.

The full set of changes in this release can be found at #11280 and reviewed in detail at agoric-upgrade-19...agoric-upgrade-20.

This release has satisfied all pre-release/testnet validation checks, and is now recommended for chains to upgrade from the previous agoric-upgrade-19 release. As a chain-halting upgrade, once approved, all chain validators will need to upgrade from agoric-upgrade-19 to this new version (after the chain halts due to reaching the height required in a governance proposal).

State-sync

State-sync snapshots now only include minimal data to restore a node. However there are still continued performance issues related to state-sync. In particular, we've observed that on some deployments, the snapshot taking and restoring process can take multiple hours, require about 20GB of temporary free disk space, and 16GB of memory.

Cosmos Upgrade Handler Name

Below is the cosmos upgrade handler name for this release. This is the name that can be used in governance proposals to deploy this upgrade.

Cosmos Upgrade Handler Name: agoric-upgrade-20

Tags

Below is the git information related to this software release. Note the git tag does not always match the cosmos upgrade handler name.

Git Tag: agoric-upgrade-20
Git Commit: 8e4207fa19dabf76c1f91f8779b5b5b93570ecea
@agoric/cosmos package version: 0.35.0-u20.0
Docker: ghcr.io/agoric/agoric-sdk:62

As shown in go.mod this release is based on:

ibc-go v6.3.1
cosmos-sdk v0.46.16
cometbft v0.34.35

How to upgrade

Presuming that your node is running agoric-upgrade-19, once the upgrade height for a subsequent proposal to upgrade to agoric-upgrade-20 has been reached, your node will halt automatically allowing you to upgrade the agoric stack.

Prerequisites

Install supported versions of Go, Node.js, and a compiler such as gcc or clang as documented in the README.

Make sure that the environment running the agd service has the same Node.js version as the environment used for building. In particular, if using nvm to manage Node.js version, the service environment should enable nvm and use the same version.

Building

# (stop the agd service)
cd agoric-sdk
git fetch --all
git checkout agoric-upgrade-20
git clean -xdf && git submodule foreach --recursive git clean -xdf
./bin/agd build
# (start the agd service)

Do not copy the agd script or Go binary to another location. If you would like to have an executable agd in another location, then create a symlink in that location pointing to agoric-sdk/bin/agd.

Troubleshooting module ... was compiled against a different Node.js version and SyntaxError issues

The agd service is not using the same version of Node.js as the one used when building. The most likely cause is that nvm was used to manage the Node.js version in the shell when building. Either install the required version of Node.js globally using the system's package manager, or enable nvm in the environment of the agd service.

Troubleshooting repoconfig.sh: No such file or directory

Unlike typical cosmos-sdk chains where the daemon is a single executable file, Agoric's use of cosmos-sdk depends on many components of agoric-sdk at runtime. Copying agd to /usr/local/bin or the like is unlikely to produce a working installation. For more detail, see: #7825

Troubleshooting Cannot find dependency ... in systemd

If you have LimitNOFILE=4096 in your systemd unit file, change it to LimitNOFILE=65536. For more detail, see #7817

Specifying --upgrade-info for the software upgrade proposal

The ./scripts/gen-upgrade-proposal.sh is designed to aid in composing a agd tx submit-proposal software-upgrade ... command. In particular, it captures package checksums to verify integrity of downloaded software.

agoric-upgrade-20-rc0

17 Apr 09:15
Compare
Choose a tag to compare
agoric-upgrade-20-rc0 Pre-release
Pre-release

The Agoric OpCo engineering team is pleased to publish the agoric-upgrade-20-rc0 release. This release is primarily intended to upgrade orchestration vats, fix memory leaks, and some mainnet sustainability and platform enhancements.

The full set of changes in this release can be found at #11280 and reviewed in detail at agoric-upgrade-19...agoric-upgrade-20-rc0.

Assuming this release satisfies all pre-release/testnet validation checks, it will be promoted to agoric-upgrade-20, and recommended for chains to upgrade from the previous agoric-upgrade-19 release. As a chain-halting upgrade, once approved, all chain validators will need to upgrade from agoric-upgrade-19 to this new version (after the chain halts due to reaching the height required in a governance proposal).

State-sync

State-sync snapshots now only include minimal data to restore a node. However there are still continued performance issues related to state-sync. In particular, we've observed that on some deployments, the snapshot taking and restoring process can take multiple hours, require about 20GB of temporary free disk space, and 16GB of memory.

Cosmos Upgrade Handler Name

Below is the cosmos upgrade handler name for this release. This is the name that can be used in governance proposals to deploy this upgrade.

Cosmos Upgrade Handler Name: agoric-upgrade-20

Tags

Below is the git information related to this software release. Note the git tag does not always match the cosmos upgrade handler name.

Git Tag: agoric-upgrade-20-rc0
Git Commit: 8e4207fa19dabf76c1f91f8779b5b5b93570ecea
@agoric/cosmos package version: 0.35.0-u20.0
Docker: ghcr.io/agoric/agoric-sdk:62

As shown in go.mod this release is based on:

ibc-go v6.3.1
cosmos-sdk v0.46.16
cometbft v0.34.35

How to upgrade

Presuming that your node is running agoric-upgrade-19, once the upgrade height for a subsequent proposal to upgrade to agoric-upgrade-20-rc0 has been reached, your node will halt automatically allowing you to upgrade the agoric stack.

Prerequisites

Install supported versions of Go, Node.js, and a compiler such as gcc or clang as documented in the README.

Make sure that the environment running the agd service has the same Node.js version as the environment used for building. In particular, if using nvm to manage Node.js version, the service environment should enable nvm and use the same version.

Building

# (stop the agd service)
cd agoric-sdk
git fetch --all
git checkout agoric-upgrade-20-rc0
git clean -xdf && git submodule foreach --recursive git clean -xdf
./bin/agd build
# (start the agd service)

Do not copy the agd script or Go binary to another location. If you would like to have an executable agd in another location, then create a symlink in that location pointing to agoric-sdk/bin/agd.

Troubleshooting module ... was compiled against a different Node.js version and SyntaxError issues

The agd service is not using the same version of Node.js as the one used when building. The most likely cause is that nvm was used to manage the Node.js version in the shell when building. Either install the required version of Node.js globally using the system's package manager, or enable nvm in the environment of the agd service.

Troubleshooting repoconfig.sh: No such file or directory

Unlike typical cosmos-sdk chains where the daemon is a single executable file, Agoric's use of cosmos-sdk depends on many components of agoric-sdk at runtime. Copying agd to /usr/local/bin or the like is unlikely to produce a working installation. For more detail, see: #7825

Troubleshooting Cannot find dependency ... in systemd

If you have LimitNOFILE=4096 in your systemd unit file, change it to LimitNOFILE=65536. For more detail, see #7817

Specifying --upgrade-info for the software upgrade proposal

The ./scripts/gen-upgrade-proposal.sh is designed to aid in composing a agd tx submit-proposal software-upgrade ... command. In particular, it captures package checksums to verify integrity of downloaded software.

PSM MintLimit maintenance

16 Apr 17:26
Compare
Choose a tag to compare
Pre-release

PSM maintenance; didn't go thru full ci.

To build the bundle, after yarn build as usual:

~/projects/agoric-sdk/packages/inter-protocol$ yarn bundle-source --elide-comments --cache-json ./bundles/ src/psm/psm.js psm
yarn run v1.22.22
$ /home/connolly/projects/agoric-sdk/node_modules/.bin/bundle-source --elide-comments --cache-json ./bundles/ src/psm/psm.js psm
Done in 1.92s.

agoric-upgrade-19

20 Mar 21:01
Compare
Choose a tag to compare

The Agoric OpCo engineering team is pleased to publish the agoric-upgrade-19 release. This release is primarily intended for contract upgrades, some kernel improvements and misc fixes.

The full set of changes in this release can be found at #11043, #11072, #11090 and #11115. And reviewed in detail as agoric-upgrade-18a...agoric-upgrade-19.

This release has satisfied all pre-release/testnet validation checks, and is now recommended for chains to upgrade from the previous agoric-upgrade-18a release. As a chain-halting upgrade, once approved, all chain validators will need to upgrade from agoric-upgrade-18a to this new version (after the chain halts due to reaching the height required in a governance proposal).

State-sync

State-sync snapshots now only include minimal data to restore a node. However there are still continued performance issues related to state-sync. In particular, we've observed that on some deployments, the snapshot taking and restoring process can take multiple hours, require about 20GB of temporary free disk space, and 16GB of memory.

Cosmos Upgrade Handler Name

Below is the cosmos upgrade handler name for this release. This is the name that can be used in governance proposals to deploy this upgrade.

MAINNET

Cosmos Upgrade Handler Name: agoric-upgrade-19-mainnet

EMERYNET

Cosmos Upgrade Handler Name: agoric-upgrade-19-emerynet

Tags

Below is the git information related to this software release. Note the git tag does not always match the cosmos upgrade handler name.

Git Tag: agoric-upgrade-19
Git Commit: f0ae74b84cb6de3724bfdcd18b4bea7e8199dee1
@agoric/cosmos package version: 0.35.0-u19.2
Docker: ghcr.io/agoric/agoric-sdk:61

As shown in go.mod this release is based on:

ibc-go v6.3.1
cosmos-sdk v0.46.16
cometbft v0.34.35

How to upgrade

Presuming that your node is running agoric-upgrade-18a, once the upgrade height for a subsequent proposal to upgrade to agoric-upgrade-19 has been reached, your node will halt automatically allowing you to upgrade the agoric stack.

Prerequisites

Important

Agoric SDK now requires Golang version 1.22.12 or greater. To check your Golang version, examine the output produced by running go version in your build environment.

Install supported versions of Go, Node.js, and a compiler such as gcc or clang as documented in the README.

Make sure that the environment running the agd service has the same Node.js version as the environment used for building. In particular, if using nvm to manage Node.js version, the service environment should enable nvm and use the same version.

Building

# (stop the agd service)
cd agoric-sdk
git fetch --all
git checkout agoric-upgrade-19
git clean -xdf && git submodule foreach --recursive git clean -xdf
./bin/agd build
# (start the agd service)

Do not copy the agd script or Go binary to another location. If you would like to have an executable agd in another location, then create a symlink in that location pointing to agoric-sdk/bin/agd.

Troubleshooting module ... was compiled against a different Node.js version and SyntaxError issues

The agd service is not using the same version of Node.js as the one used when building. The most likely cause is that nvm was used to manage the Node.js version in the shell when building. Either install the required version of Node.js globally using the system's package manager, or enable nvm in the environment of the agd service.

Troubleshooting repoconfig.sh: No such file or directory

Unlike typical cosmos-sdk chains where the daemon is a single executable file, Agoric's use of cosmos-sdk depends on many components of agoric-sdk at runtime. Copying agd to /usr/local/bin or the like is unlikely to produce a working installation. For more detail, see: #7825

Troubleshooting Cannot find dependency ... in systemd

If you have LimitNOFILE=4096 in your systemd unit file, change it to LimitNOFILE=65536. For more detail, see #7817

Specifying --upgrade-info for the software upgrade proposal

The ./scripts/gen-upgrade-proposal.sh is designed to aid in composing a agd tx submit-proposal software-upgrade ... command. In particular, it captures package checksums to verify integrity of downloaded software.

agoric-upgrade-19-rc3

13 Mar 15:43
Compare
Choose a tag to compare
agoric-upgrade-19-rc3 Pre-release
Pre-release

The Agoric OpCo engineering team is pleased to publish the agoric-upgrade-19-rc3 release. This release is primarily intended for contract upgrades, some kernel improvements and misc fixes.

The full set of changes in this release can be found at #11043, #11072, #11090 and #11115. And reviewed in detail as agoric-upgrade-18a...agoric-upgrade-19-rc3.

This candidate adopts the latest branch from agoric-labs/ibc-go (which backports v7.10.0 changes).

See also: changes from previous release candidate.

Assuming this release satisfies all pre-release/testnet validation checks, it will be promoted to agoric-upgrade-19, and recommended for chains to upgrade from the previous agoric-upgrade-18a release. As a chain-halting upgrade, once approved, all chain validators will need to upgrade from agoric-upgrade-18a to this new version (after the chain halts due to reaching the height required in a governance proposal).

State-sync

State-sync snapshots now only include minimal data to restore a node. However there are still continued performance issues related to state-sync. In particular, we've observed that on some deployments, the snapshot taking and restoring process can take multiple hours, require about 20GB of temporary free disk space, and 16GB of memory.

Cosmos Upgrade Handler Name

Below is the cosmos upgrade handler name for this release. This is the name that can be used in governance proposals to deploy this upgrade.

MAINNET

Cosmos Upgrade Handler Name: agoric-upgrade-19-mainnet

EMERYNET

Cosmos Upgrade Handler Name: agoric-upgrade-19-emerynet

Tags

Below is the git information related to this software release. Note the git tag does not always match the cosmos upgrade handler name.

Git Tag: agoric-upgrade-19-rc3
Git Commit: f0ae74b84cb6de3724bfdcd18b4bea7e8199dee1
@agoric/cosmos package version: 0.35.0-u19.2
Docker: ghcr.io/agoric/agoric-sdk:61

As shown in go.mod this release is based on:

ibc-go v6.3.1
cosmos-sdk v0.46.16
cometbft v0.34.35

How to upgrade

Presuming that your node is running agoric-upgrade-18a, once the upgrade height for a subsequent proposal to upgrade to agoric-upgrade-19-rc3 has been reached, your node will halt automatically allowing you to upgrade the agoric stack.

Prerequisites

Important

Agoric SDK now requires Golang version 1.22.12 or greater. To check your Golang version, examine the output produced by running go version in your build environment.

Install supported versions of Go, Node.js, and a compiler such as gcc or clang as documented in the README.

Make sure that the environment running the agd service has the same Node.js version as the environment used for building. In particular, if using nvm to manage Node.js version, the service environment should enable nvm and use the same version.

Building

# (stop the agd service)
cd agoric-sdk
git fetch --all
git checkout agoric-upgrade-19-rc3
git clean -xdf && git submodule foreach --recursive git clean -xdf
./bin/agd build
# (start the agd service)

Do not copy the agd script or Go binary to another location. If you would like to have an executable agd in another location, then create a symlink in that location pointing to agoric-sdk/bin/agd.

Troubleshooting module ... was compiled against a different Node.js version and SyntaxError issues

The agd service is not using the same version of Node.js as the one used when building. The most likely cause is that nvm was used to manage the Node.js version in the shell when building. Either install the required version of Node.js globally using the system's package manager, or enable nvm in the environment of the agd service.

Troubleshooting repoconfig.sh: No such file or directory

Unlike typical cosmos-sdk chains where the daemon is a single executable file, Agoric's use of cosmos-sdk depends on many components of agoric-sdk at runtime. Copying agd to /usr/local/bin or the like is unlikely to produce a working installation. For more detail, see: #7825

Troubleshooting Cannot find dependency ... in systemd

If you have LimitNOFILE=4096 in your systemd unit file, change it to LimitNOFILE=65536. For more detail, see #7817

Specifying --upgrade-info for the software upgrade proposal

The ./scripts/gen-upgrade-proposal.sh is designed to aid in composing a agd tx submit-proposal software-upgrade ... command. In particular, it captures package checksums to verify integrity of downloaded software.

Fast USDC Release Candidate 2

12 Mar 21:57
db4dcf4
Compare
Choose a tag to compare

In testing of RC1 we discovered #11102.

What's Changed

  • fix(fast-usdc): disallow all non-positive integer counts in Multiset by @mhofman in #11079
  • misc Orchestration improvements for factoring out Fast USDC by @turadg in #11099
  • ensure Advancer has latest Settler reference by @0xpatrickdev in #11103

Full Changelog: fast-usdc-rc1...fast-usdc-rc2