Skip to content
Merged
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
8 changes: 5 additions & 3 deletions yarn-project/end-to-end/src/e2e_p2p/gossip_network.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const CHECK_ALERTS = process.env.CHECK_ALERTS === 'true';
const NUM_VALIDATORS = 4;
const NUM_TXS_PER_NODE = 2;
const BOOT_NODE_UDP_PORT = 4500;
const AZTEC_SLOT_DURATION = 36;
const AZTEC_EPOCH_DURATION = 4;

const DATA_DIR = fs.mkdtempSync(path.join(os.tmpdir(), 'gossip-'));

Expand Down Expand Up @@ -61,8 +63,8 @@ describe('e2e_p2p_network', () => {
startProverNode: false, // we'll start our own using p2p
initialConfig: {
...SHORTENED_BLOCK_TIME_CONFIG_NO_PRUNES,
aztecSlotDuration: 36,
aztecEpochDuration: 4,
aztecSlotDuration: AZTEC_SLOT_DURATION,
aztecEpochDuration: AZTEC_EPOCH_DURATION,
slashingRoundSizeInEpochs: 2,
slashingQuorum: 5,
listenAddress: '127.0.0.1',
Expand Down Expand Up @@ -211,7 +213,7 @@ describe('e2e_p2p_network', () => {
return provenBlock > 0;
},
'proven block',
120,
SHORTENED_BLOCK_TIME_CONFIG_NO_PRUNES.aztecProofSubmissionWindow * AZTEC_EPOCH_DURATION * AZTEC_SLOT_DURATION,
);
});
});
Loading