Skip to content

Commit bee1d34

Browse files
committed
chore(fast-inbox): drop AZTEC_INBOX_LAG config and e2e plumbing (A-1388)
Removes the legacy inboxLag / AZTEC_INBOX_LAG config field and env var from ethereum config, foundation env vars, the network-consensus-config list, the l1-contracts and spartan network defaults, and the e2e test option plumbing. Also drops the removed inHash argument from the e2e web3signer createBlockProposal wrapper.
1 parent d06eb0f commit bee1d34

34 files changed

Lines changed: 1 addition & 50 deletions

l1-contracts/scripts/network-defaults.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"AZTEC_ENTRY_QUEUE_FLUSH_SIZE_MIN": 48,
1515
"AZTEC_ENTRY_QUEUE_FLUSH_SIZE_QUOTIENT": 2,
1616
"AZTEC_ENTRY_QUEUE_MAX_FLUSH_SIZE": 48,
17-
"AZTEC_INBOX_LAG": 1,
1817
"AZTEC_PROOF_SUBMISSION_EPOCHS": 1,
1918
"AZTEC_MANA_TARGET": 100000000,
2019
"AZTEC_PROVING_COST_PER_MANA": 100,

spartan/environments/network-defaults.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ l1-contracts: &l1-contracts-defaults
5959
#---------------------------------------------------------------------------
6060
# Proof & Block Configuration
6161
#---------------------------------------------------------------------------
62-
# Checkpoints to lag in inbox (prevents sequencer DOS attacks).
63-
AZTEC_INBOX_LAG: 2
6462
# Epochs after end that proofs are still accepted.
6563
AZTEC_PROOF_SUBMISSION_EPOCHS: 1
6664
# Target mana consumption per block.

spartan/scripts/deploy_network.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,6 @@ AZTEC_LAG_IN_EPOCHS_FOR_RANDAO = ${AZTEC_LAG_IN_EPOCHS_FOR_RANDAO:-null}
460460
AZTEC_SLOT_DURATION = ${AZTEC_SLOT_DURATION:-null}
461461
AZTEC_EPOCH_DURATION = ${AZTEC_EPOCH_DURATION:-null}
462462
AZTEC_TARGET_COMMITTEE_SIZE = ${AZTEC_TARGET_COMMITTEE_SIZE:-null}
463-
AZTEC_INBOX_LAG = ${AZTEC_INBOX_LAG:-null}
464463
AZTEC_PROOF_SUBMISSION_EPOCHS = ${AZTEC_PROOF_SUBMISSION_EPOCHS:-null}
465464
AZTEC_ACTIVATION_THRESHOLD = ${AZTEC_ACTIVATION_THRESHOLD:-null}
466465
AZTEC_EJECTION_THRESHOLD = ${AZTEC_EJECTION_THRESHOLD:-null}

spartan/terraform/deploy-rollup-contracts/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ locals {
4343
AZTEC_SLOT_DURATION = var.AZTEC_SLOT_DURATION
4444
AZTEC_EPOCH_DURATION = var.AZTEC_EPOCH_DURATION
4545
AZTEC_TARGET_COMMITTEE_SIZE = var.AZTEC_TARGET_COMMITTEE_SIZE
46-
AZTEC_INBOX_LAG = var.AZTEC_INBOX_LAG
4746
AZTEC_PROOF_SUBMISSION_EPOCHS = var.AZTEC_PROOF_SUBMISSION_EPOCHS
4847
AZTEC_ACTIVATION_THRESHOLD = var.AZTEC_ACTIVATION_THRESHOLD
4948
AZTEC_EJECTION_THRESHOLD = var.AZTEC_EJECTION_THRESHOLD

spartan/terraform/deploy-rollup-contracts/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ variable "AZTEC_PROOF_SUBMISSION_EPOCHS" {
8686
nullable = true
8787
}
8888

89-
variable "AZTEC_INBOX_LAG" {
90-
description = "Checkpoints to lag in inbox (prevents sequencer DOS attacks)"
91-
type = string
92-
nullable = true
93-
}
94-
9589
variable "AZTEC_ACTIVATION_THRESHOLD" {
9690
description = "Aztec activation threshold"
9791
type = string

yarn-project/end-to-end/src/composed/web3signer/e2e_multi_validator_node_key_store.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ describe('e2e_multi_validator_node', () => {
376376
blockHeader: BlockHeader,
377377
checkpointNumber: CheckpointNumber,
378378
indexWithinCheckpoint: number,
379-
inHash: Fr,
380379
archive: Fr,
381380
txs: Tx[],
382381
proposerAddress: EthAddress | undefined,
@@ -397,7 +396,6 @@ describe('e2e_multi_validator_node', () => {
397396
blockHeader,
398397
checkpointNumber,
399398
IndexWithinCheckpoint(indexWithinCheckpoint),
400-
inHash,
401399
archive,
402400
txs,
403401
proposerAddress,

yarn-project/end-to-end/src/fixtures/fixtures.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ export const PIPELINED_FEE_PADDING = 30;
4242
* - `walletMinFeePadding: PIPELINED_FEE_PADDING` (30x) to absorb the wider fee evolution window.
4343
*/
4444
export const PIPELINING_SETUP_OPTS = {
45-
inboxLag: 2,
4645
minTxsPerBlock: 0,
4746
aztecSlotDuration: 12,
4847
ethereumSlotDuration: 4,
@@ -73,7 +72,6 @@ export const PIPELINING_SETUP_OPTS = {
7372
*/
7473
export const AUTOMINE_E2E_OPTS = {
7574
useAutomineSequencer: true,
76-
inboxLag: 1,
7775
minTxsPerBlock: 0,
7876
aztecSlotDuration: 12,
7977
ethereumSlotDuration: 4,

yarn-project/end-to-end/src/multi-node/block-production/multi_validator_node.parallel.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ describe('multi-node/block-production/multi_validator_node', () => {
5757
anvilSlotsInAnEpoch: 4,
5858
blockDurationMs: 2000,
5959
minTxsPerBlock: 0,
60-
inboxLag: 2,
6160
});
6261

6362
// All 5 validators in a single physical node.

yarn-project/end-to-end/src/multi-node/block-production/redistribution.parallel.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ describe('multi-node/block-production/redistribution', () => {
5656
const test = await MultiNodeTestContext.setup({
5757
numberOfAccounts: 0,
5858
initialValidators: validators,
59-
inboxLag: 2,
6059
mockGossipSubNetwork: true,
6160
startProverNode: true,
6261
aztecEpochDuration: 4,

yarn-project/end-to-end/src/multi-node/block-production/setup.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ export async function setupBlockProductionWithProver(opts: {
171171
...setupOpts,
172172
pxeOpts: { syncChainTip },
173173
skipInitialSequencer: true,
174-
inboxLag: 2,
175174
},
176175
nodeOpts: (index: number) => ({
177176
dontStartSequencer: true,

0 commit comments

Comments
 (0)