Skip to content

feat: local ejection threshold#16791

Merged
LHerskind merged 1 commit intonextfrom
lh/tmnt-265-add-stricter-ejection_threshold-at-the-rollup-level
Sep 10, 2025
Merged

feat: local ejection threshold#16791
LHerskind merged 1 commit intonextfrom
lh/tmnt-265-add-stricter-ejection_threshold-at-the-rollup-level

Conversation

@LHerskind
Copy link
Contributor

@LHerskind LHerskind commented Sep 4, 2025

Adds a "local" ejection threshold that allows the rollup to enforce a stricter limit for when people are exited entirely.

This allow us to have relaxed limits on the GSE, while giving the rollup flexibility.

@LHerskind LHerskind marked this pull request as ready for review September 4, 2025 19:34
aztecProofSubmissionEpochs: 1, // you have a full epoch to submit a proof after the epoch to prove ends
activationThreshold: BigInt(100e18),
ejectionThreshold: BigInt(50e18),
localEjectionThreshold: BigInt(0), // No effective local threshold when value ends below ejectionThreshold
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we set a more realistic default value? We expect inactivity slash to be 1% and we want 3 slashes and you're out. So 97%?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, can update it.

@LHerskind LHerskind force-pushed the lh/tmnt-265-add-stricter-ejection_threshold-at-the-rollup-level branch from a0808c4 to 7d53665 Compare September 8, 2025 08:33
@LHerskind LHerskind force-pushed the lh/tmnt-207-proposer-griefing-dos branch from 87a808d to e9f577f Compare September 8, 2025 08:33
@LHerskind LHerskind force-pushed the lh/tmnt-265-add-stricter-ejection_threshold-at-the-rollup-level branch from 7d53665 to 56b451e Compare September 8, 2025 12:25
@LHerskind LHerskind force-pushed the lh/tmnt-207-proposer-griefing-dos branch from e9f577f to 2f71e44 Compare September 8, 2025 12:25
beforeEach(async () => {
t = await P2PNetworkTest.create({
testName: 'e2e_p2p_gerousia',
testName: 'e2e_p2p_upgrade_governance_proposer',
Copy link
Collaborator

Choose a reason for hiding this comment

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

😢

}
};

const TestnetGSEConfiguration = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh yikes did not know these got lifted to environment variables 😬

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seemed like they already were. But multiple places passed values were not properly used (that was how the upgrade_governance_proposer.test.ts ended up with slight updates

Base automatically changed from lh/tmnt-207-proposer-griefing-dos to next September 9, 2025 16:54
@LHerskind LHerskind force-pushed the lh/tmnt-265-add-stricter-ejection_threshold-at-the-rollup-level branch from 56b451e to f85a17f Compare September 9, 2025 22:17
@LHerskind LHerskind added this pull request to the merge queue Sep 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 9, 2025
@LHerskind LHerskind added this pull request to the merge queue Sep 10, 2025
Merged via the queue into next with commit 15d5584 Sep 10, 2025
15 checks passed
@LHerskind LHerskind deleted the lh/tmnt-265-add-stricter-ejection_threshold-at-the-rollup-level branch September 10, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants