Commit 36d9008
committed
Squashed commit of the following:
commit eb94d3a
Merge: f847091 3b76348
Author: AztecBot <[email protected]>
Date: Mon Aug 4 05:45:06 2025 +0000
Merge branch 'next' into merge-train/barretenberg
commit 3b76348
Author: Lasse Herskind <[email protected]>
Date: Mon Aug 4 06:03:02 2025 +0100
chore: address comments (#16175)
Please read [contributing guidelines](CONTRIBUTING.md) and remove this
line.
For audit-related pull requests, please use the [audit PR
template](?expand=1&template=audit.md).
commit f847091
Merge: a86bcc3 b0affa7
Author: AztecBot <[email protected]>
Date: Sun Aug 3 22:08:04 2025 +0000
Merge branch 'next' into merge-train/barretenberg
commit b0affa7
Author: Lasse Herskind <[email protected]>
Date: Sun Aug 3 22:26:43 2025 +0100
chore: updated fmt settings foundry.toml (#16155)
Updated the `foundry.toml` to also wrap the comments and use the default
line_length of 120 instead of the previous 100. Threw some thousands
separators in there as well for constant values.
```toml
[fmt]
line_length = 120
tab_width = 2
variable_override_spacing=false
wrap_comments = true
number_underscore = "thousands"
override_spacing = false
```
commit a86bcc3
Merge: c7a5799 3ded0f6
Author: AztecBot <[email protected]>
Date: Sun Aug 3 20:41:47 2025 +0000
Merge branch 'next' into merge-train/barretenberg
commit c7a5799
Merge: fd73d0e 935a8fa
Author: AztecBot <[email protected]>
Date: Sun Aug 3 20:11:19 2025 +0000
Merge branch 'next' into merge-train/barretenberg
commit 3ded0f6
Author: Jan Beneš <[email protected]>
Date: Sun Aug 3 21:56:09 2025 +0200
chore: minor fixes and docs improvements in governance (#16039)
When doing my internal review of governance contracts I stumbled upon
plenty of small and uncontroversial issues with which it didn't really
make sense to clutter my review document.
---------
Co-authored-by: LHerskind <[email protected]>
commit fd73d0e
Merge: e2b45d5 99e70e6
Author: AztecBot <[email protected]>
Date: Sun Aug 3 19:29:46 2025 +0000
Merge branch 'next' into merge-train/barretenberg
commit 935a8fa
Author: Maddiaa <[email protected]>
Date: Sun Aug 3 20:16:22 2025 +0100
feat(sol): vk hashing (#16015)
Perform vk hashing in the solidity verifier
Takes a different approach to the traditional verifiers.
As the vk is fixed ahead of time, we hash it and include it in the
precompiled contract, therefore it is preprocessed
and does not need to be recomputed by the verifier.
commit 99e70e6
Author: Lasse Herskind <[email protected]>
Date: Sun Aug 3 19:46:27 2025 +0100
chore!: depositAmount and minimumStake naming (#16148)
Addressing feedback from @benesjan. Also using his prompt idea to see
how well it works.
---
This PR refactors validator staking terminology throughout the Aztec
codebase to improve clarity and better reflect the purpose of key
staking parameters. The main changes involve renaming `depositAmount` to
`activationThreshold` and `minimumStake` to `ejectionThreshold`, along
with related library and method renames.
- **`depositAmount` → `activationThreshold`**: The amount of tokens
required to activate a validator and join the validator set
- **`minimumStake` → `ejectionThreshold`**: The minimum token balance
below which a validator is ejected from the active set
- **Solidity Contracts**: Updated all references in `Rollup.sol`,
`IStaking.sol`, `GSE.sol`, and related contracts
- **Libraries**:
- `UserLib` → `CheckpointedUintLib` (more descriptive name for
checkpoint management)
- `DelegationLib` → `StakeDelegationLib` (clearer purpose indication)
- **Methods**: `finaliseHelper()` → `finaliseWithdraw()` in GSE contract
for better clarity
- Updated environment variables:
- `AZTEC_DEPOSIT_AMOUNT` → `AZTEC_ACTIVATION_THRESHOLD`
- `AZTEC_MINIMUM_STAKE` → `AZTEC_EJECTION_THRESHOLD`
- Updated all configuration files, test constants, and deployment
scripts
- Updated CLI reference documentation to reflect new parameter names
- Updated all code comments to use the new terminology
1. **Improved Clarity**: The new names clearly indicate the purpose of
each parameter - one for entering the validator set, one for being
removed from it
2. **Better Developer Experience**: Developers can immediately
understand what these thresholds represent without needing additional
context
3. **Consistency**: Uniform terminology across the entire codebase
reduces confusion
4. **Future-Proof**: The new names are more generic and adaptable to
potential future staking mechanism changes
1 parent 66cf61d commit 36d9008
File tree
277 files changed
+3189
-4827
lines changed- .github/workflows
- barretenberg
- cpp
- pil/vm2/opcodes
- src/barretenberg
- dsl/acir_proofs
- flavor
- honk/utils
- transcript
- ultra_honk
- vm2
- constraining/relations
- generated
- relations
- tracegen
- sol
- scripts
- src/honk
- instance
- docs
- docs
- the_aztec_network/guides/run_nodes
- src/preprocess
- l1-contracts
- script
- src
- core
- interfaces
- messagebridge
- libraries
- compressed-data
- fees
- crypto
- rollup
- messagebridge
- reward-boost
- slashing
- governance
- interfaces
- libraries
- proposer
- mock
- staking_asset_handler
- periphery
- interfaces
- test
- base
- benchmark
- boosted_rewards
- builder
- compression
- delegation
- external
- fee_portal
- fees
- governance
- coin-issuer
- governance-proposer
- scenario
- governance
- address_snapshots
- checkpointedUintLib
- proposallib
- scenarios
- gse
- gse
- stakedelegationlib
- registry
- reward-distributor
- scenario
- slashing
- harnesses
- merkle
- helpers
- portals
- staking_asset_handler
- merkle
- zkpassport
- staking
- validator-selection
- noir-projects/aztec-nr
- yarn-project
- archiver/src/archiver
- aztec/src/cli
- cli/src/cmds/infrastructure
- end-to-end/src
- e2e_epochs
- e2e_p2p
- fixtures
- ethereum/src
- contracts
- foundation/src/config
- ivc-integration/src
- prover-node/src
- sequencer-client/src
- publisher
- sequencer
- slasher/src
- stdlib/src
- block
- interfaces
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
277 files changed
+3189
-4827
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | | - | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 36 | + | |
| 37 | + | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | | - | |
45 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | | - | |
48 | | - | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | | - | |
51 | | - | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
43 | | - | |
44 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
Lines changed: 30 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | | - | |
371 | | - | |
| 369 | + | |
| 370 | + | |
372 | 371 | | |
373 | 372 | | |
374 | | - | |
375 | | - | |
376 | | - | |
| 373 | + | |
| 374 | + | |
377 | 375 | | |
378 | 376 | | |
379 | 377 | | |
| |||
403 | 401 | | |
404 | 402 | | |
405 | 403 | | |
406 | | - | |
| 404 | + | |
407 | 405 | | |
408 | | - | |
409 | 406 | | |
410 | 407 | | |
411 | 408 | | |
412 | | - | |
| 409 | + | |
413 | 410 | | |
414 | 411 | | |
415 | 412 | | |
416 | 413 | | |
417 | 414 | | |
418 | 415 | | |
419 | 416 | | |
420 | | - | |
421 | | - | |
422 | | - | |
| 417 | + | |
| 418 | + | |
423 | 419 | | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
| 420 | + | |
| 421 | + | |
428 | 422 | | |
429 | 423 | | |
430 | | - | |
| 424 | + | |
431 | 425 | | |
432 | 426 | | |
433 | | - | |
| 427 | + | |
434 | 428 | | |
435 | 429 | | |
436 | 430 | | |
437 | 431 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
450 | 444 | | |
451 | 445 | | |
452 | 446 | | |
| |||
698 | 692 | | |
699 | 693 | | |
700 | 694 | | |
701 | | - | |
| 695 | + | |
702 | 696 | | |
703 | 697 | | |
704 | 698 | | |
| |||
1186 | 1180 | | |
1187 | 1181 | | |
1188 | 1182 | | |
1189 | | - | |
1190 | 1183 | | |
1191 | 1184 | | |
1192 | 1185 | | |
| |||
1731 | 1724 | | |
1732 | 1725 | | |
1733 | 1726 | | |
| 1727 | + | |
1734 | 1728 | | |
1735 | 1729 | | |
1736 | | - | |
| 1730 | + | |
1737 | 1731 | | |
1738 | 1732 | | |
| 1733 | + | |
1739 | 1734 | | |
1740 | 1735 | | |
1741 | 1736 | | |
| |||
1764 | 1759 | | |
1765 | 1760 | | |
1766 | 1761 | | |
1767 | | - | |
1768 | | - | |
1769 | | - | |
| 1762 | + | |
1770 | 1763 | | |
1771 | 1764 | | |
1772 | 1765 | | |
| |||
2170 | 2163 | | |
2171 | 2164 | | |
2172 | 2165 | | |
2173 | | - | |
| 2166 | + | |
2174 | 2167 | | |
2175 | 2168 | | |
2176 | 2169 | | |
| |||
0 commit comments