Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWindle committed Sep 25, 2023
1 parent c9f7c27 commit 5c7336f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion yarn-project/aztec-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
"path": "../world-state"
}
],
"include": ["src", "../types/src/aztec_node/rpc"]
"include": ["src"]
}
9 changes: 2 additions & 7 deletions yarn-project/aztec-sandbox/src/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { setupFileDebugLog } from '../logging.js';
import { createP2PSandbox, createSandbox } from '../sandbox.js';
import { github, splash } from '../splash.js';

const { SERVER_PORT = 8080, P2P_ENABLED = 'false' } = process.env;
const { SERVER_PORT = 8080 } = process.env;

const logger = createDebugLogger('aztec:sandbox');

Expand Down Expand Up @@ -51,12 +51,7 @@ async function main() {

logger.info(`Setting up Aztec Sandbox v${version} (nargo ${NoirVersion.tag}), please stand by...`);

const p2pSandbox = P2P_ENABLED === 'true';
if (p2pSandbox) {
logger.info(`Setting up Aztec Sandbox as P2P Node`);
}

const { rpcServer, stop, accounts } = await createAndDeploySandbox(p2pSandbox);
const { rpcServer, stop, accounts } = await createAndDeploySandbox(false);

const shutdown = async () => {
logger.info('Shutting down...');
Expand Down

0 comments on commit 5c7336f

Please sign in to comment.