Skip to content

Commit

Permalink
Merge pull request #5088 from Agoric/swingset-vat-data-dev-dep
Browse files Browse the repository at this point in the history
chore: weaken swingset dependency on vat-data to dev-dependency
  • Loading branch information
mergify[bot] authored Apr 12, 2022
2 parents e01a354 + 216d8e1 commit bef90d3
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/SwingSet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"lint:eslint": "eslint '**/*.js'"
},
"devDependencies": {
"@agoric/vat-data": "^0.1.0",
"@endo/ses-ava": "^0.2.21",
"@types/tmp": "^0.2.0",
"ava": "^3.12.1",
Expand All @@ -34,7 +35,6 @@
"@agoric/store": "^0.6.10",
"@agoric/swing-store": "^0.6.5",
"@agoric/xsnap": "^0.11.2",
"@agoric/vat-data": "^0.1.0",
"@endo/base64": "^0.2.21",
"@endo/bundle-source": "^2.1.1",
"@endo/captp": "^2.0.3",
Expand Down
2 changes: 2 additions & 0 deletions packages/SwingSet/test/upgrade/test-upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function get(capdata, propname) {

async function testUpgrade(t, defaultManagerType) {
const config = {
includeDevDependencies: true, // for vat-data
defaultManagerType,
bootstrap: 'bootstrap',
defaultReapInterval: 'never',
Expand Down Expand Up @@ -93,6 +94,7 @@ test('vat upgrade - xsnap', async t => {

test('failed upgrade - lost kind', async t => {
const config = {
includeDevDependencies: true, // for vat-data
defaultManagerType: 'xs-worker',
bootstrap: 'bootstrap',
defaultReapInterval: 'never',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function getImportSensorKref(impcapdata, i) {

test('collection entry slots trigger doMoreGC', async t => {
const config = {
includeDevDependencies: true, // for vat-data
bootstrap: 'bootstrap',
// defaultReapInterval: 'never',
// defaultReapInterval: 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function getImportSensorKref(impcapdata, i) {

test('VO property deletion is not short-circuited', async t => {
const config = {
includeDevDependencies: true, // for vat-data
bootstrap: 'bootstrap',
// defaultReapInterval: 'never',
// defaultReapInterval: 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function bfile(name) {

async function testUpgrade(t, defaultManagerType) {
const config = {
includeDevDependencies: true, // for vat-data
defaultManagerType,
bootstrap: 'bootstrap',
vats: {
Expand Down
3 changes: 3 additions & 0 deletions packages/SwingSet/test/virtualObjects/test-representatives.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function slot0(iface, kid) {

test.serial('exercise cache', async t => {
const config = {
includeDevDependencies: true, // for vat-data
bootstrap: 'bootstrap',
vats: {
bootstrap: {
Expand Down Expand Up @@ -350,6 +351,7 @@ test('virtual object gc', async t => {
*/

const config = {
includeDevDependencies: true, // for vat-data
bootstrap: 'bootstrap',
defaultManagerType: 'xs-worker',
vats: {
Expand Down Expand Up @@ -403,6 +405,7 @@ test('virtual object gc', async t => {
// Check that facets which don't reference their state still kill their cohort alive
async function orphanTest(t, mode) {
const config = {
includeDevDependencies: true, // for vat-data
bootstrap: 'bootstrap',
vats: {
bob: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function capargs(args, slots = []) {

test('weakMap in vat', async t => {
const config = {
includeDevDependencies: true, // for vat-data
bootstrap: 'bootstrap',
vats: {
bootstrap: {
Expand Down

0 comments on commit bef90d3

Please sign in to comment.