Skip to content

Commit 83a74e1

Browse files
committed
docs(fast-inbox): sweep remaining inboxLag and inHash references (A-1388)
Removes the dead AZTEC_INBOX_LAG entries from the spartan environment profiles and the governance-upgrade tutorial, rewrites the validator and sequencer README sections that still described the legacy inHash flow, and drops e2e comments that still explained fixture settings in terms of the deleted inboxLag / L1ToL2MessagesNotReadyError behavior. Versioned docs snapshots are left untouched.
1 parent d782c0b commit 83a74e1

13 files changed

Lines changed: 7 additions & 22 deletions

File tree

docs/docs-developers/docs/tutorials/testing_governance_rollup_upgrade.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ export AZTEC_EPOCH_DURATION=16
107107
export AZTEC_TARGET_COMMITTEE_SIZE=48
108108
export AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=2
109109
export AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=2
110-
export AZTEC_INBOX_LAG=2
111110
export AZTEC_PROOF_SUBMISSION_EPOCHS=2
112111
export AZTEC_LOCAL_EJECTION_THRESHOLD=0
113112
export AZTEC_SLASHING_ROUND_SIZE_IN_EPOCHS=1

spartan/environments/bench-10tps.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ AZTEC_SLOT_DURATION=72
1818
AZTEC_PROOF_SUBMISSION_EPOCHS=2
1919
AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=1
2020
AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=1
21-
AZTEC_INBOX_LAG=2
2221

2322
# 2B mana target - good for about ~800 txs at 2.5M mana each
2423
AZTEC_MANA_TARGET=2000000000

spartan/environments/bench-inclusion-sweep.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ AZTEC_SLOT_DURATION=72
1919
AZTEC_PROOF_SUBMISSION_EPOCHS=100
2020
AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=1
2121
AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=1
22-
AZTEC_INBOX_LAG=2
2322

2423
AZTEC_MANA_TARGET=2000000000
2524

spartan/environments/next-net.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ SEQ_MAX_TX_PER_CHECKPOINT=12
3939
SEQ_BUILD_CHECKPOINT_IF_EMPTY=true
4040
SEQ_BLOCK_DURATION_MS=5500
4141

42-
AZTEC_INBOX_LAG=2
4342

4443
VALIDATOR_REPLICAS=2
4544
VALIDATORS_PER_NODE=24

spartan/environments/next-scenario.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ DESTROY_ETH_DEVNET=true
77
CREATE_ETH_DEVNET=true
88
AZTEC_EPOCH_DURATION=32
99
AZTEC_SLOT_DURATION=36
10-
AZTEC_INBOX_LAG=2
1110
ETHEREUM_CHAIN_ID=1337
1211
LABS_INFRA_MNEMONIC="test test test test test test test test test test test junk"
1312
FUNDING_PRIVATE_KEY="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"

spartan/environments/staging-internal.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ SPONSORED_FPC=false
3636
# Rollup
3737
AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=2
3838
AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=2
39-
AZTEC_INBOX_LAG=2
4039
AZTEC_MANA_TARGET=75000000
4140
AZTEC_PROVING_COST_PER_MANA=12500000
4241

spartan/environments/staging-public.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ SPONSORED_FPC=false
3636
# Rollup
3737
AZTEC_LAG_IN_EPOCHS_FOR_VALIDATOR_SET=2
3838
AZTEC_LAG_IN_EPOCHS_FOR_RANDAO=2
39-
AZTEC_INBOX_LAG=2
4039
AZTEC_MANA_TARGET=75000000
4140
AZTEC_PROVING_COST_PER_MANA=12500000
4241

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ export const PIPELINED_FEE_PADDING = 30;
2828
*
2929
* The preset runs the production Sequencer with the always-enforced timetable at real (wall-clock)
3030
* timing, yielding exactly 2 blocks per slot. It sets:
31-
* - `inboxLag: 2` so the sequencer sources L1->L2 messages from checkpoint N-1 (already sealed),
32-
* avoiding `L1ToL2MessagesNotReadyError` when building for slot N during slot N-1.
3331
* - `minTxsPerBlock: 0` so empty checkpoints land even when a tx arrives late in the build window
3432
* (otherwise the chain stalls on alternating slots).
3533
* - `aztecSlotDuration: 12` / `ethereumSlotDuration: 4` so the pipelined cycle fits inside the

yarn-project/end-to-end/src/multi-node/governance/add_rollup.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@ describe('multi-node/governance/add_rollup', () => {
8888
aztecTargetCommitteeSize: NUM_VALIDATORS,
8989
governanceProposerRoundSize: 10,
9090
// Allow validators to build empty checkpoints so the chain keeps advancing while we wait for
91-
// L1->L2 messages to land in the next checkpoint's inbox tree.
91+
// L1->L2 messages to be consumed from the streaming Inbox.
9292
minTxsPerBlock: 0,
93-
// inboxLag: 2 sources L1->L2 messages from an already-sealed checkpoint under pipelining, avoiding
94-
// L1ToL2MessagesNotReadyError.
9593
// Fund the bridging accounts (and the sponsored FPC) at genesis. Skip the hardcoded-account
9694
// fast-path so our additionallyFundedAccounts are not clobbered.
9795
skipHardcodedAccount: true,

yarn-project/end-to-end/src/p2p/fee_asset_price_oracle_gossip.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ describe('e2e_p2p_network', () => {
4646
slashingRoundSizeInEpochs: 2,
4747
slashingQuorum: 5,
4848
listenAddress: '127.0.0.1',
49-
// Pipelining: target-slot is one ahead of build-slot; inboxLag sources L1->L2
50-
// messages from the previous checkpoint to avoid L1ToL2MessagesNotReadyError.
5149
},
5250
});
5351

0 commit comments

Comments
 (0)