Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions yarn-project/aztec/src/cli/cmds/start_node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import type { LogFn } from '@aztec/foundation/log';
import { sleep } from '@aztec/foundation/sleep';
import { ProvingJobConsumerSchema, createProvingJobBrokerClient } from '@aztec/prover-client/broker';
import { type CliPXEOptions, type PXEConfig, allPxeConfigMappings } from '@aztec/pxe/config';
import { AztecAddress } from '@aztec/stdlib/aztec-address';
import { AztecNodeAdminApiSchema, AztecNodeApiSchema } from '@aztec/stdlib/interfaces/client';
import { P2PApiSchema, ProverNodeApiSchema, type ProvingJobBroker } from '@aztec/stdlib/interfaces/server';
import {
Expand Down Expand Up @@ -155,8 +154,7 @@ export async function startNode(

const testAccounts = nodeConfig.testAccounts ? (await getInitialTestAccountsData()).map(a => a.address) : [];
const sponsoredFPCAccounts = nodeConfig.sponsoredFPC ? [await getSponsoredFPCAddress()] : [];
const prefundAddresses = (nodeConfig.prefundAddresses ?? []).map(a => AztecAddress.fromString(a));
const initialFundedAccounts = testAccounts.concat(sponsoredFPCAccounts).concat(prefundAddresses);
const initialFundedAccounts = testAccounts.concat(sponsoredFPCAccounts);

userLog(`Initial funded accounts: ${initialFundedAccounts.map(a => a.toString()).join(', ')}`);

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/ethereum/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export const genesisStateConfigMappings: ConfigMappingsType<GenesisStateConfig>
},
prefundAddresses: {
env: 'PREFUND_ADDRESSES',
description: 'Comma-separated list of Aztec addresses to prefund with fee juice at genesis.',
description: 'Comma-separated list of Aztec addresses to prefund with fee juice at genesis (local network only).',
parseEnv: (val: string) =>
val
.split(',')
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/node-lib/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const sharedNodeConfigMappings: ConfigMappingsType<SharedNodeConfig> = {
},
prefundAddresses: {
env: 'PREFUND_ADDRESSES',
description: 'Comma-separated list of Aztec addresses to prefund with fee juice at genesis.',
description: 'Comma-separated list of Aztec addresses to prefund with fee juice at genesis (local network only).',
parseEnv: (val: string) =>
val
.split(',')
Expand Down
Loading