Skip to content

Commit 3fd1e1d

Browse files
committed
fix: remove $BOOT_ADDRESS support
1 parent cb95764 commit 3fd1e1d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/cosmic-swingset/lib/chain-main.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ import makeBlockManager from './block-manager';
66
const AG_COSMOS_INIT = 'AG_COSMOS_INIT';
77

88
export default async function main(progname, args, { path, env, agcc }) {
9-
const bootAddress = env.BOOT_ADDRESS;
10-
const role = 'chain';
11-
129
const portNums = {};
1310

1411
// TODO: use the 'basedir' pattern
@@ -184,10 +181,7 @@ export default async function main(progname, args, { path, env, agcc }) {
184181
}
185182

186183
const vatsdir = path.resolve(__dirname, '../lib/ag-solo/vats');
187-
const argv = [`--role=${role}`];
188-
if (bootAddress) {
189-
argv.push(...bootAddress.trim().split(/\s+/));
190-
}
184+
const argv = [`--role=chain`];
191185
const s = await launch(
192186
stateDBDir,
193187
mailboxStorage,

0 commit comments

Comments
 (0)