@aztec/slasher 0.0.1-commit.f5d02921e → 0.0.1-commit.f650c0a5c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/README.md +28 -52
  2. package/dest/config.d.ts +1 -1
  3. package/dest/config.d.ts.map +1 -1
  4. package/dest/config.js +0 -12
  5. package/dest/factory/create_facade.d.ts +2 -2
  6. package/dest/factory/create_facade.d.ts.map +1 -1
  7. package/dest/factory/create_facade.js +1 -1
  8. package/dest/factory/create_implementation.d.ts +4 -6
  9. package/dest/factory/create_implementation.d.ts.map +1 -1
  10. package/dest/factory/create_implementation.js +7 -59
  11. package/dest/factory/get_settings.d.ts +4 -4
  12. package/dest/factory/get_settings.d.ts.map +1 -1
  13. package/dest/factory/get_settings.js +3 -3
  14. package/dest/factory/index.d.ts +2 -2
  15. package/dest/factory/index.d.ts.map +1 -1
  16. package/dest/factory/index.js +1 -1
  17. package/dest/generated/slasher-defaults.d.ts +1 -3
  18. package/dest/generated/slasher-defaults.d.ts.map +1 -1
  19. package/dest/generated/slasher-defaults.js +0 -2
  20. package/dest/index.d.ts +2 -3
  21. package/dest/index.d.ts.map +1 -1
  22. package/dest/index.js +1 -2
  23. package/dest/null_slasher_client.d.ts +3 -4
  24. package/dest/null_slasher_client.d.ts.map +1 -1
  25. package/dest/null_slasher_client.js +1 -4
  26. package/dest/slash_offenses_collector.d.ts +1 -7
  27. package/dest/slash_offenses_collector.d.ts.map +1 -1
  28. package/dest/slash_offenses_collector.js +7 -16
  29. package/dest/slasher_client.d.ts +112 -0
  30. package/dest/slasher_client.d.ts.map +1 -0
  31. package/dest/{tally_slasher_client.js → slasher_client.js} +20 -34
  32. package/dest/slasher_client_facade.d.ts +4 -7
  33. package/dest/slasher_client_facade.d.ts.map +1 -1
  34. package/dest/slasher_client_facade.js +4 -9
  35. package/dest/slasher_client_interface.d.ts +7 -21
  36. package/dest/slasher_client_interface.d.ts.map +1 -1
  37. package/dest/slasher_client_interface.js +1 -4
  38. package/dest/stores/offenses_store.d.ts +6 -12
  39. package/dest/stores/offenses_store.d.ts.map +1 -1
  40. package/dest/stores/offenses_store.js +5 -24
  41. package/package.json +9 -9
  42. package/src/config.ts +0 -12
  43. package/src/factory/create_facade.ts +1 -2
  44. package/src/factory/create_implementation.ts +11 -117
  45. package/src/factory/get_settings.ts +8 -8
  46. package/src/factory/index.ts +1 -1
  47. package/src/generated/slasher-defaults.ts +0 -2
  48. package/src/index.ts +1 -2
  49. package/src/null_slasher_client.ts +2 -6
  50. package/src/slash_offenses_collector.ts +8 -17
  51. package/src/{tally_slasher_client.ts → slasher_client.ts} +25 -42
  52. package/src/slasher_client_facade.ts +3 -10
  53. package/src/slasher_client_interface.ts +6 -21
  54. package/src/stores/offenses_store.ts +8 -33
  55. package/dest/empire_slasher_client.d.ts +0 -190
  56. package/dest/empire_slasher_client.d.ts.map +0 -1
  57. package/dest/empire_slasher_client.js +0 -564
  58. package/dest/stores/payloads_store.d.ts +0 -29
  59. package/dest/stores/payloads_store.d.ts.map +0 -1
  60. package/dest/stores/payloads_store.js +0 -128
  61. package/dest/tally_slasher_client.d.ts +0 -125
  62. package/dest/tally_slasher_client.d.ts.map +0 -1
  63. package/src/empire_slasher_client.ts +0 -649
  64. package/src/stores/payloads_store.ts +0 -149
@@ -1,128 +0,0 @@
1
- import { deserializeSlashPayload, serializeSlashPayload } from '@aztec/stdlib/slashing';
2
- export class SlasherPayloadsStore {
3
- kvStore;
4
- settings;
5
- /** Map from payload address to payload data */ payloads;
6
- /** Map from `round:payload` to votes */ roundPayloadVotes;
7
- constructor(kvStore, settings){
8
- this.kvStore = kvStore;
9
- this.settings = settings;
10
- this.payloads = kvStore.openMap('slash-payloads');
11
- this.roundPayloadVotes = kvStore.openMap('round-payload-votes');
12
- }
13
- async getPayloadsForRound(round) {
14
- const payloads = [];
15
- const votes = await this.getVotesForRound(round);
16
- for (const [address, votesCount] of votes){
17
- const payload = await this.getPayload(address);
18
- if (payload) {
19
- payloads.push({
20
- ...payload,
21
- votes: votesCount,
22
- round
23
- });
24
- }
25
- }
26
- return payloads;
27
- }
28
- async getPayloadAtRound(payloadAddress, round) {
29
- const address = payloadAddress.toString();
30
- const buffer = await this.payloads.getAsync(address);
31
- if (!buffer) {
32
- return undefined;
33
- }
34
- const data = deserializeSlashPayload(buffer);
35
- const votes = await this.roundPayloadVotes.getAsync(this.getPayloadVotesKey(round, address)) ?? 0n;
36
- return {
37
- ...data,
38
- votes,
39
- round
40
- };
41
- }
42
- async getVotesForRound(round) {
43
- const votes = [];
44
- for await (const [fullKey, roundVotes] of this.roundPayloadVotes.entriesAsync(this.getPayloadVotesKeyRangeForRound(round))){
45
- // Extract just the address part from the key (remove "round:" prefix)
46
- const address = fullKey.split(':')[1];
47
- votes.push([
48
- address,
49
- roundVotes
50
- ]);
51
- }
52
- return votes;
53
- }
54
- getRoundKey(round) {
55
- return round.toString().padStart(16, '0');
56
- }
57
- getPayloadVotesKey(round, payloadAddress) {
58
- return `${this.getRoundKey(round)}:${payloadAddress.toString()}`;
59
- }
60
- getPayloadVotesKeyRangeForRound(round) {
61
- const start = `${this.getRoundKey(round)}:`;
62
- const end = `${this.getRoundKey(round)}:Z`; // 'Z' sorts after any hex address, 0x-prefixed or not
63
- return {
64
- start,
65
- end
66
- };
67
- }
68
- /**
69
- * Purge vote payload data for expired rounds. Does not delete actual payload data.
70
- */ async clearExpiredPayloads(currentRound) {
71
- const lifetimeInRounds = this.settings?.slashingPayloadLifetimeInRounds ?? 0;
72
- if (lifetimeInRounds <= 0) {
73
- return; // No lifetime configured
74
- }
75
- const expiredBefore = currentRound - BigInt(lifetimeInRounds);
76
- if (expiredBefore < 0) {
77
- return; // Not enough rounds have passed to expire anything
78
- }
79
- // Collect expired payload votes by scanning round-payload keys
80
- const expiredPayloads = [];
81
- const expiredVoteKeys = [];
82
- for await (const key of this.roundPayloadVotes.keysAsync({
83
- end: `${this.getRoundKey(expiredBefore)}:Z`
84
- })){
85
- const [roundStr, payloadAddress] = key.split(':');
86
- if (BigInt(roundStr) <= expiredBefore) {
87
- expiredVoteKeys.push(key);
88
- expiredPayloads.push(payloadAddress);
89
- }
90
- }
91
- if (expiredVoteKeys.length === 0) {
92
- return; // No expired payloads to clean up
93
- }
94
- // Remove expired payload vote records
95
- // Note that we do not delete payload data since these could be repurposed in future votes
96
- await this.kvStore.transactionAsync(async ()=>{
97
- for (const key of expiredVoteKeys){
98
- await this.roundPayloadVotes.delete(key);
99
- }
100
- });
101
- }
102
- async incrementPayloadVotes(payloadAddress, round) {
103
- const key = this.getPayloadVotesKey(round, payloadAddress);
104
- let newVotes;
105
- await this.kvStore.transactionAsync(async ()=>{
106
- const currentVotes = await this.roundPayloadVotes.getAsync(key) || 0n;
107
- newVotes = currentVotes + 1n;
108
- await this.roundPayloadVotes.set(key, newVotes);
109
- });
110
- return newVotes;
111
- }
112
- async addPayload(payload) {
113
- const address = payload.address.toString();
114
- await this.kvStore.transactionAsync(async ()=>{
115
- await this.payloads.set(address, serializeSlashPayload(payload));
116
- await this.roundPayloadVotes.set(this.getPayloadVotesKey(payload.round, address), payload.votes);
117
- });
118
- }
119
- async getPayload(payloadAddress) {
120
- const address = payloadAddress.toString();
121
- const buffer = await this.payloads.getAsync(address);
122
- return buffer ? deserializeSlashPayload(buffer) : undefined;
123
- }
124
- async hasPayload(payload) {
125
- const address = payload.toString();
126
- return await this.payloads.getAsync(address) !== undefined;
127
- }
128
- }
@@ -1,125 +0,0 @@
1
- import type { EpochCache } from '@aztec/epoch-cache';
2
- import { RollupContract, SlasherContract, TallySlashingProposerContract } from '@aztec/ethereum/contracts';
3
- import { SlotNumber } from '@aztec/foundation/branded-types';
4
- import type { DateProvider } from '@aztec/foundation/timer';
5
- import type { Prettify } from '@aztec/foundation/types';
6
- import type { SlasherConfig } from '@aztec/stdlib/interfaces/server';
7
- import { type Offense, type ProposerSlashAction, type ProposerSlashActionProvider, type SlashPayloadRound } from '@aztec/stdlib/slashing';
8
- import type { Hex } from 'viem';
9
- import { SlashOffensesCollector, type SlashOffensesCollectorConfig, type SlashOffensesCollectorSettings } from './slash_offenses_collector.js';
10
- import { SlashRoundMonitor, type SlashRoundMonitorSettings } from './slash_round_monitor.js';
11
- import type { SlasherClientInterface } from './slasher_client_interface.js';
12
- import type { SlasherOffensesStore } from './stores/offenses_store.js';
13
- import type { Watcher } from './watcher.js';
14
- /** Settings used in the tally slasher client, loaded from the L1 contracts during initialization */
15
- export type TallySlasherSettings = Prettify<SlashRoundMonitorSettings & SlashOffensesCollectorSettings & {
16
- slashingLifetimeInRounds: number;
17
- slashingExecutionDelayInRounds: number;
18
- slashingRoundSizeInEpochs: number;
19
- slashingOffsetInRounds: number;
20
- slashingQuorumSize: number;
21
- slashingAmounts: [bigint, bigint, bigint];
22
- /** Committee size for block proposal */
23
- targetCommitteeSize: number;
24
- }>;
25
- export type TallySlasherClientConfig = SlashOffensesCollectorConfig & Pick<SlasherConfig, 'slashValidatorsAlways' | 'slashValidatorsNever' | 'slashExecuteRoundsLookBack' | 'slashMaxPayloadSize'>;
26
- /**
27
- * The Tally Slasher client is responsible for managing slashable offenses using
28
- * the consensus-based slashing model where proposers vote on individual validator offenses.
29
- *
30
- * The client subscribes to several slash watchers that emit offenses and tracks them. When the slasher is the
31
- * proposer, it votes for which validators from past epochs should be slashed based on collected offenses.
32
- * Voting is handled by the sequencer publisher, the slasher client does not interact with L1 directly.
33
- * The client also monitors rounds and executes slashing when rounds become executable after reaching quorum.
34
- *
35
- * Voting and offense collection
36
- * - Time is divided into rounds (ROUND_SIZE slots each). During each round, block proposers can submit votes
37
- * indicating which validators from SLASH_OFFSET_IN_ROUNDS rounds ago should be slashed.
38
- * - Votes are encoded as bytes where each validator's vote is represented by 2 bits indicating the slash amount (0-3 slash units)
39
- * for the validator in the committee being slashed.
40
- * - When gathering offenses for round N, the system looks at offenses from round N-2 (where 2 is the hardcoded
41
- * offset), giving time to detect offenses and vote on them in a later round.
42
- * - Each offense carries an epoch or block identifier to differentiate multiple offenses by the same validator.
43
- *
44
- * Quorum and execution
45
- * - After a round ends, there is an execution delay period for review so the VETOER in the Slasher can veto
46
- * if needed.
47
- * - Once the delay passes, anyone can call executeRound() to tally votes and execute slashing.
48
- * - Validators that reach the quorum threshold are slashed. A vote for slashing N units is also considered
49
- * a vote for slashing N-1, N-2, ..., 1 units. The system slashes for the largest amount that reaches quorum.
50
- * - The client monitors executable rounds and triggers execution when appropriate.
51
- *
52
- * Differences from Empire model
53
- * - No fixed slash payloads - votes are for individual validator offenses encoded in bytes
54
- * - The L1 contract determines which offenses reach quorum rather than nodes agreeing on a payload
55
- * - Proposers vote directly on which validators to slash and by how much
56
- * - Uses a slash offset to vote on validators from past rounds (e.g., round N votes on round N-2)
57
- */
58
- export declare class TallySlasherClient implements ProposerSlashActionProvider, SlasherClientInterface {
59
- private config;
60
- private settings;
61
- private tallySlashingProposer;
62
- private slasher;
63
- private rollup;
64
- private epochCache;
65
- private dateProvider;
66
- private offensesStore;
67
- private log;
68
- protected unwatchCallbacks: (() => void)[];
69
- protected roundMonitor: SlashRoundMonitor;
70
- protected offensesCollector: SlashOffensesCollector;
71
- constructor(config: TallySlasherClientConfig, settings: TallySlasherSettings, tallySlashingProposer: TallySlashingProposerContract, slasher: SlasherContract, rollup: RollupContract, watchers: Watcher[], epochCache: EpochCache, dateProvider: DateProvider, offensesStore: SlasherOffensesStore, log?: import("@aztec/foundation/log").Logger);
72
- start(): Promise<void>;
73
- /**
74
- * Stop the tally slasher client
75
- */
76
- stop(): Promise<void>;
77
- /** Returns the current config */
78
- getConfig(): SlasherConfig;
79
- /** Update the config of the slasher client */
80
- updateConfig(config: Partial<SlasherConfig>): void;
81
- /** Triggered on a time basis when we enter a new slashing round. Clears expired offenses. */
82
- protected handleNewRound(round: bigint): Promise<void>;
83
- /** Called when we see a RoundExecuted event on the TallySlashingProposer (just for logging). */
84
- protected handleRoundExecuted(round: bigint, slashCount: bigint, l1BlockHash: Hex): Promise<void>;
85
- /**
86
- * Get the actions the proposer should take for slashing
87
- * @param slotNumber - The current slot number
88
- * @returns The actions to take
89
- */
90
- getProposerActions(slotNumber: SlotNumber): Promise<ProposerSlashAction[]>;
91
- /**
92
- * Returns an execute slash action if there are any rounds ready to be executed.
93
- * Returns the oldest slash action if there are multiple rounds pending execution.
94
- */
95
- protected getExecuteSlashAction(slotNumber: SlotNumber): Promise<ProposerSlashAction | undefined>;
96
- private tryGetRoundExecuteAction;
97
- /** Returns a vote action based on offenses from the target round (with offset applied) */
98
- protected getVoteOffensesAction(slotNumber: SlotNumber): Promise<ProposerSlashAction | undefined>;
99
- /** Returns the committees that were active during the timespan of a given round */
100
- private collectCommitteesActiveDuringRound;
101
- /**
102
- * Get slash payloads is NOT SUPPORTED in tally model
103
- * @throws Error indicating this operation is not supported
104
- */
105
- getSlashPayloads(): Promise<SlashPayloadRound[]>;
106
- /**
107
- * Gather offenses to be slashed on a given round.
108
- * In tally slashing, round N slashes validators from round N - slashOffsetInRounds.
109
- * @param round - The round to get offenses for, defaults to current round
110
- * @returns Array of pending offenses for the round with offset applied
111
- */
112
- gatherOffensesForRound(round?: bigint): Promise<Offense[]>;
113
- /** Returns all pending offenses stored */
114
- getPendingOffenses(): Promise<Offense[]>;
115
- /**
116
- * Returns the round to be slashed given the current round by applying the slash offset.
117
- * During round N, we cannot slash the validators from the epochs of the same round, since the round is not over,
118
- * and besides we would be asking the current validators to vote to slash themselves. So during round N we look at the
119
- * epochs spanned during round N - SLASH_OFFSET_IN_ROUNDS. This offset means that the epochs we slash are complete,
120
- * and also gives nodes time to detect any misbehavior (eg slashing for prunes requires the proof submission window to
121
- * pass).
122
- */
123
- private getSlashedRound;
124
- }
125
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFsbHlfc2xhc2hlcl9jbGllbnQuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy90YWxseV9zbGFzaGVyX2NsaWVudC50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