Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions spartan/environments/testnet.env
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ AZTEC_PROVING_COST_PER_MANA=12500000
AZTEC_SLASH_AMOUNT_SMALL=100000e18
AZTEC_SLASH_AMOUNT_MEDIUM=250000e18
AZTEC_SLASH_AMOUNT_LARGE=250000e18
# Per-offense penalties must be on the same scale as the onchain slash amounts above. The slasher sums an
# offender's penalties for an epoch and maps the total to 1/2/3 slash units by comparing against
# [SMALL, MEDIUM, LARGE]; a total below SMALL maps to 0 units and is never voted on. The generated defaults
# (10e18) are ~10,000x below SMALL (100000e18), so without these overrides every offense rounds down to 0
# units and slashing can never trigger on testnet. Liveness faults map to SMALL (1 unit); provable validity
# and data-availability faults map to LARGE (3 units).
SLASH_INACTIVITY_PENALTY=100000e18
SLASH_UNKNOWN_PENALTY=100000e18
SLASH_DATA_WITHHOLDING_PENALTY=250000e18
SLASH_INVALID_BLOCK_PENALTY=250000e18
SLASH_PROPOSE_INVALID_ATTESTATIONS_PENALTY=250000e18
SLASH_PROPOSE_DESCENDANT_OF_CHECKPOINT_WITH_INVALID_ATTESTATIONS_PENALTY=250000e18
SLASH_ATTEST_INVALID_CHECKPOINT_PROPOSAL_PENALTY=250000e18
AZTEC_ACTIVATION_THRESHOLD=200000e18
AZTEC_EJECTION_THRESHOLD=100000e18
AZTEC_GOVERNANCE_PROPOSER_ROUND_SIZE=100
Expand Down
Loading