Skip to content

Commit

Permalink
fix(vats): move to decentral-core-config.json to prevent breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Jan 16, 2022
1 parent 8d56eaf commit 63c7541
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/vats/decentral-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"bundles": {
"zcf": {
"sourceSpec": "@agoric/zoe/contractFacet.js"
},
}
},
"defaultManagerType": "xs-worker",
"vats": {
"bank": {
"sourceSpec": "./src/vat-bank.js"
},
Expand Down Expand Up @@ -39,12 +42,9 @@
"parameters": {
"zcfBundleName": "zcf"
}
}
},
"defaultManagerType": "xs-worker",
"vats": {
},
"bootstrap": {
"sourceSpec": "./src/bootstrap-core.js"
"sourceSpec": "./src/bootstrap.js"
}
}
}
84 changes: 84 additions & 0 deletions packages/vats/decentral-core-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"bootstrap": "bootstrap",
"vats": {
"bootstrap": {
"sourceSpec": "./src/core/boot.js",
"parameters": {
"bootstrapManifest": {
"connectVattpWithMailbox": {
"vatPowers": { "D": true },
"vats": { "vattp": true },
"devices": { "mailbox": true }
},
"makeVatsFromBundles": {
"vats": { "vatAdmin": true },
"devices": { "vatAdmin": true },
"produce": { "vatAdminSvc": true, "loadVat": true }
},
"buildZoe": {
"consume": { "vatAdminSvc": true, "loadVat": true, "client": true },
"produce": { "zoe": true, "feeMintAccess": true }
},
"makeBoard": {
"consume": { "loadVat": true, "client": true },
"produce": { "board": true }
},
"makeAddressNameHubs": {
"consume": { "client": true },
"produce": { "agoricNames": true, "agoricNamesAdmin": true, "nameAdmins": true }
},
"makeClientBanks": {
"consume": {
"loadVat": true,
"client": true,
"bridgeManager": true
},
"produce": { "bankManager": true }
}
}
}
}
},
"bundles": {
"zcf": {
"sourceSpec": "@agoric/zoe/contractFacet.js"
},
"bank": {
"sourceSpec": "./src/vat-bank.js"
},
"board": {
"sourceSpec": "./src/vat-board.js"
},
"distributeFees": {
"sourceSpec": "./src/vat-distributeFees.js"
},
"ibc": {
"sourceSpec": "./src/vat-ibc.js"
},
"mints": {
"sourceSpec": "./src/vat-mints.js"
},
"network": {
"sourceSpec": "./src/vat-network.js"
},
"priceAuthority": {
"sourceSpec": "./src/vat-priceAuthority.js"
},
"provisioning": {
"sourceSpec": "./src/vat-provisioning.js"
},
"sharing": {
"sourceSpec": "./src/vat-sharing.js"
},
"walletManager": {
"sourceSpec": "./src/vat-walletManager.js"
},
"zoe": {
"sourceSpec": "./src/vat-zoe.js",
"parameters": {
"zcfBundleName": "zcf"
}
}
},
"defaultManagerType": "xs-worker"
}

0 comments on commit 63c7541

Please sign in to comment.