Skip to content

Commit

Permalink
Merge pull request #33 from Agoric/upgrade-12
Browse files Browse the repository at this point in the history
include proposal 63 for agoric-upgrade-12
  • Loading branch information
turadg authored Nov 29, 2023
2 parents c304e16 + 52a9975 commit dca2e02
Show file tree
Hide file tree
Showing 6 changed files with 1,964 additions and 0 deletions.
1 change: 1 addition & 0 deletions proposals/63:upgrade-12/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
6 changes: 6 additions & 0 deletions proposals/63:upgrade-12/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"releaseNotes": "https://github.com/Agoric/agoric-sdk/releases/tag/agoric-upgrade-12",
"sdkImageTag": "38",
"planName": "agoric-upgrade-12",
"type": "Software Upgrade Proposal"
}
12 changes: 12 additions & 0 deletions proposals/63:upgrade-12/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"type": "module",
"license": "Apache-2.0",
"dependencies": {
"ava": "^5.3.1",
"execa": "^7.2.0"
},
"scripts": {
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops"
},
"packageManager": "[email protected]"
}
14 changes: 14 additions & 0 deletions proposals/63:upgrade-12/post.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import test from 'ava';

import { agd } from '../../upgrade-test-scripts/lib/cliHelper.js';

test('Ensure MaxBytes param was updated', async t => {
const { value: rawParams } = await agd.query(
'params',
'subspace',
'baseapp',
'BlockParams',
);
const blockParams = JSON.parse(rawParams);
t.is(blockParams.max_bytes, '5242880');
});
4 changes: 4 additions & 0 deletions proposals/63:upgrade-12/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
source /usr/src/upgrade-test-scripts/env_setup.sh

yarn ava post.test.js
Loading

0 comments on commit dca2e02

Please sign in to comment.