Skip to content

chore: update rollup config for testnet and mainnet#20827

Merged
aminsammara merged 4 commits intomerge-train/spartanfrom
am/chore/update-rollup-config
Feb 25, 2026
Merged

chore: update rollup config for testnet and mainnet#20827
aminsammara merged 4 commits intomerge-train/spartanfrom
am/chore/update-rollup-config

Conversation

@aminsammara
Copy link
Contributor

@aminsammara aminsammara commented Feb 24, 2026

Summary

  • Mana target: 75M for both testnet and mainnet (was 150M testnet, 0 mainnet)
  • Proving cost per mana: 25M for both testnet and mainnet (was 100 testnet, 0 mainnet)
  • Committee size: 48 for mainnet (was 24), testnet already 48
  • Local ejection threshold: 1.62e23 for mainnet (was 1.96e23)
  • Slash amounts: 100000e18 for testnet small/medium/large (was 10e18/20e18/50e18)
  • Duplicate proposal/attestation penalties: 0 for both testnet and mainnet
  • Checkpoint reward: 500 tokens (was 400)
  • Governance execution delay: 30 days on mainnet (was 7 days)

Test plan

  • Verify generated configs match after yarn generate
  • Confirm testnet deployment picks up new values
  • Confirm mainnet deployment picks up new values

AZTEC_MANA_TARGET: 150000000
AZTEC_MANA_TARGET: 75000000
AZTEC_PROVING_COST_PER_MANA: 25000000
AZTEC_SLASH_AMOUNT_SMALL: 100e23
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10_000_000 😬

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

Copy link
Contributor

@LHerskind LHerskind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes. I think it looks sane. Main interest is why soe many on the testnet.env got added when they seemed unchanged on the yml.

SLASH_ATTEST_DESCENDANT_OF_INVALID_PENALTY: 10e18
# Penalty for proposing two different block or checkpoint proposal for the same position.
SLASH_DUPLICATE_PROPOSAL_PENALTY: 10e18
SLASH_DUPLICATE_PROPOSAL_PENALTY: 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recall about this one. So maybe someone with memory should chime in there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spalladino created these issues out of onsite conversations about not penalizing for this initially https://linear.app/aztec-labs/issue/TMNT-503/set-double-proposalattestation-slashing-to-zero-initially

@aminsammara aminsammara merged commit 18b5473 into merge-train/spartan Feb 25, 2026
10 checks passed
@aminsammara aminsammara deleted the am/chore/update-rollup-config branch February 25, 2026 11:02
AztecBot pushed a commit that referenced this pull request Feb 25, 2026
## Summary

- **Mana target**: 75M for both testnet and mainnet (was 150M testnet, 0 mainnet)
- **Proving cost per mana**: 25M for both testnet and mainnet (was 100 testnet, 0 mainnet)
- **Committee size**: 48 for mainnet (was 24), testnet already 48
- **Local ejection threshold**: 1.62e23 for mainnet (was 1.96e23)
- **Slash amounts**: 100000e18 for testnet small/medium/large (was 10e18/20e18/50e18)
- **Duplicate proposal/attestation penalties**: 0 for both testnet and mainnet
- **Checkpoint reward**: 500 tokens (was 400)
- **Governance execution delay**: 30 days on mainnet (was 7 days)

## Test plan
- [ ] Verify generated configs match after `yarn generate`
- [ ] Confirm testnet deployment picks up new values
- [ ] Confirm mainnet deployment picks up new values
@AztecBot
Copy link
Collaborator

✅ Successfully backported to backport-to-v4-staging #20752.

alexghr added a commit that referenced this pull request Feb 25, 2026
BEGIN_COMMIT_OVERRIDE
chore: fix worker wallet in jest (#20725)
fix: pxe native prover log level (#20724)
chore: encode LOG_LEVEL (#20678)
chore: fix worker wallet log level (#20754)
chore: Removed dead code (#20740)
fix: getVotes return empty instead of stale data (#20756)
fix: pass log level to AVM simulator (#20762)
chore: double Node.js libuv thread count (#20709)
fix: underflow in snapshot synch (#20780)
fix: separate rejected and aborted proving jobs (#20777)
fix: evicted transactions could reappear after a node restart (#20773)
fix: (A-575) prevent checkpoint event spam in L2BlockStream on restart
(#20791)
fix: charge 3.6M for epoch verification (#20765)
fix(ethereum): remove viem NonceManager to fix nonce gap after failed
sends (#20819)
fix: limit number of threads when verifying server-side proofs (#20818)
chore: Comment update (#20820)
feat: add support for signed integers on contract functions (#20784)
feat: expose blockheader getters (#20790)
docs: minor clarification (#20788)
fix: Use async poseidon (#20826)
chore: update rollup config for testnet and mainnet (#20827)
END_COMMIT_OVERRIDE

---------

Co-authored-by: alexghr <alexghr@users.noreply.github.com>
Co-authored-by: PhilWindle <PhilWindle@users.noreply.github.com>
Co-authored-by: LHerskind <LHerskind@users.noreply.github.com>
Co-authored-by: ludamad <ludamad@users.noreply.github.com>
Co-authored-by: mrzeszutko <mrzeszutko@users.noreply.github.com>
Co-authored-by: danielntmd <danielntmd@users.noreply.github.com>
Co-authored-by: PhilWindle <60546371+PhilWindle@users.noreply.github.com>
Co-authored-by: spypsy <spypsy@users.noreply.github.com>
Co-authored-by: nventuro <nventuro@users.noreply.github.com>
Co-authored-by: aminsammara <aminsammara@users.noreply.github.com>
Co-authored-by: Phil Windle <philip.windle@gmail.com>
github-merge-queue bot pushed a commit that referenced this pull request Feb 26, 2026
BEGIN_COMMIT_OVERRIDE
fix: evicted transactions could reappear after a node restart (#20773)
fix: (A-575) prevent checkpoint event spam in L2BlockStream on restart
(#20791)
chore: New alpha-net environment (#20800)
chore: increase testnet validators (#20809)
chore: Configs for next-net, testnet etc (#20803)
fix(ethereum): remove viem NonceManager to fix nonce gap after failed
sends (#20819)
fix: limit number of threads when verifying server-side proofs (#20818)
chore: Comment update (#20820)
chore: Temper noisy log line (#20821)
feat: read logs from s3, pass on dashboard, health report (#20507)
fix: Use async poseidon (#20826)
chore: update rollup config for testnet and mainnet (#20827)
fix: Reduce tx hash conversions inside tx pool (#20829)
chore: backport skill (#20851)
feat: use native crypto to compute p2p message ID (#20846)
feat(spartan): (A-535) enable admin API key auth for next-scenario
network (#20738)
chore: increase max fee bots use in tests (#20867)
refactor(aztec-node): skip unnecessary subsystems in prover-only mode
and remove P2PClientType enum (#20848)
feat(blob-client): (A-574) replace deprecated blob_sidecars API and
reduce call overhead (#20845)
fix: deflake batch tx req (#20861)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants