Skip to content
Merged
Changes from 1 commit
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
10 changes: 6 additions & 4 deletions yarn-project/end-to-end/src/e2e_p2p/p2p_network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
createSnapshotManager,
deployAccounts,
} from '../fixtures/snapshot_manager.js';
import { getPrivateKeyFromIndex } from '../fixtures/utils.js';
import { getPrivateKeyFromIndex, getSponsoredFPCAddress } from '../fixtures/utils.js';
import { getEndToEndTestTelemetryClient } from '../fixtures/with_telemetry_utils.js';

// Use a fixed bootstrap node private key so that we can re-use the same snapshot and the nodes can find each other
Expand Down Expand Up @@ -319,9 +319,11 @@ export class P2PNetworkTest {
async setup() {
this.ctx = await this.snapshotManager.setup();

this.prefilledPublicData = (
await getGenesisValues(this.ctx.initialFundedAccounts.map(a => a.address))
).prefilledPublicData;
const sponsoredFPCAddress = await getSponsoredFPCAddress();
const initialFundedAccounts = [...this.ctx.initialFundedAccounts.map(a => a.address), sponsoredFPCAddress];

const { prefilledPublicData } = await getGenesisValues(initialFundedAccounts);
this.prefilledPublicData = prefilledPublicData;

this.startSyncMockSystemTimeInterval();

Expand Down
Loading