Skip to content

Commit 124fffd

Browse files
committed
feat: add agoric-upgrade-22 (proposal 110)
uses u22b tags, image and commit hashes
1 parent c34f2e7 commit 124fffd

File tree

8 files changed

+7516
-0
lines changed

8 files changed

+7516
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test/generated/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

proposals/110:upgrade-22/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Proposal to upgrade the chain software
2+
3+
This reflects agoric-upgrade-22, which was adopted on mainnet by [governance
4+
proposal 110](https://ping.pub/agoric/gov/110) at block height 21690000 and
5+
block time 2025-09-22T14:58:21.6012506Z.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"agoricProposal": {
3+
"releaseNotes": "https://github.com/Agoric/agoric-sdk/releases/tag/agoric-upgrade-22",
4+
"sdkImageTag": "69",
5+
"planName": "agoric-upgrade-22",
6+
"upgradeInfo": {
7+
"binaries": {
8+
"any": "https://github.com/Agoric/agoric-sdk/archive/d15cbb93a8c1e96b364de7d961909ff1199876e5.zip//agoric-sdk-d15cbb93a8c1e96b364de7d961909ff1199876e5?checksum=sha256:f25438f02d624da76f08889bf977b30fe7f8098139ef4965dba629923b78ee9d"
9+
},
10+
"source": "https://github.com/Agoric/agoric-sdk/archive/d15cbb93a8c1e96b364de7d961909ff1199876e5.zip?checksum=sha256:f25438f02d624da76f08889bf977b30fe7f8098139ef4965dba629923b78ee9d"
11+
},
12+
"type": "Software Upgrade Proposal"
13+
},
14+
"type": "module",
15+
"license": "Apache-2.0",
16+
"dependencies": {
17+
"@agoric/client-utils": "dev",
18+
"@agoric/ertp": "dev",
19+
"@agoric/internal": "dev",
20+
"@agoric/synthetic-chain": "^0.6.1",
21+
"@agoric/zoe": "dev",
22+
"@endo/errors": "^1.2.13",
23+
"@endo/init": "^1.1.12",
24+
"@endo/marshal": "^1.8.0",
25+
"agoric": "dev",
26+
"ava": "^5.3.1",
27+
"execa": "9.1.0"
28+
},
29+
"ava": {
30+
"concurrency": 1,
31+
"timeout": "2m",
32+
"files": [
33+
"!submission"
34+
]
35+
},
36+
"scripts": {
37+
"agops": "yarn --cwd /usr/src/agoric-sdk/ agops"
38+
},
39+
"packageManager": "[email protected]",
40+
"devDependencies": {
41+
"eslint": "^8.57.0",
42+
"npm-run-all": "^4.1.5",
43+
"typescript": "~5.9.2"
44+
}
45+
}

proposals/110:upgrade-22/test.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
set -euo pipefail
4+
5+
# segregate so changing these does not invalidate the proposal image
6+
# à la https://github.com/Agoric/agoric-3-proposals/pull/213
7+
cd test
8+
9+
GLOBIGNORE=initial.test.js
10+
yarn ava initial.test.js
11+
12+
yarn ava *.test.js
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import test from 'ava';
2+
import '@endo/init/debug.js';
3+
4+
import { getVatDetails } from '@agoric/synthetic-chain';
5+
6+
const expectedVatDetails = {
7+
bank: { incarnation: 2 },
8+
network: { incarnation: 3 },
9+
ibc: { incarnation: 3 },
10+
localchain: { incarnation: 3 },
11+
orchestration: { incarnation: 2 },
12+
provisionPool: { incarnation: 2 },
13+
transfer: { incarnation: 3 },
14+
walletFactory: { incarnation: 9 },
15+
zoe: { incarnation: 3 },
16+
};
17+
18+
test('post-upgrade vat details', async t => {
19+
const actualVatDetails = {};
20+
for await (const vatName of Object.keys(expectedVatDetails)) {
21+
actualVatDetails[vatName] = await getVatDetails(vatName);
22+
}
23+
t.like(actualVatDetails, expectedVatDetails);
24+
});
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"compilerOptions": {
3+
"noEmit": true,
4+
"target": "esnext",
5+
"module": "esnext",
6+
"moduleResolution": "bundler",
7+
"allowJs": true,
8+
"checkJs": true,
9+
"strict": false,
10+
"strictNullChecks": true,
11+
"noImplicitThis": true,
12+
// XXX synthetic-chain has some errors
13+
"skipLibCheck": true
14+
},
15+
"exclude": [
16+
"generated/"
17+
]
18+
}

0 commit comments

Comments
 (0)