Commit 47be8cd
authored
docs: tnt-core v0.13.0 — quote requester, slashing reshape, BSM hooks, L2 timelock (#147)
* docs(reference): regen ITangleSlashing, IMBSMRegistry, IBlueprintServiceManager (v0.13.0)
- ITangleSlashing: align with the actual SlashingLib events. SlashProposed
is 8 fields, SlashExecuted is 4. Add SlashDisputed, SlashCancelled,
SlashConfigUpdated event sections. proposeSlash takes uint16 slashBps
(was uint256 amount). disputeSlash is external payable. setSlashConfig
is the 6-arg form. Add getSlashConfig view.
- IMBSMRegistry.pinBlueprint: add a paragraph documenting the deprecation
grace-window rejection (revisions in the grace window are refused so
pinning cannot defeat the deprecation flow).
- IBlueprintServiceManager: document forceRemoveAllowsBelowMin (default
false; custom BSMs not inheriting BlueprintServiceManagerBase MUST
implement) and getNonPaymentTerminationPolicy (added in v0.11.1, never
documented).
Mirrored to generated/ copies; tnt-core sync check still passes.
* docs(rfq): document EIP-712 quote requester binding (v0.12.0/v0.13.0)
QuoteDetails and JobQuoteDetails now carry address requester as the FIRST
field of the EIP-712 typed data. The contract enforces
requester == msg.sender and rejects wildcard requester == address(0).
- pricing-and-payments: reorder field lists (requester first), add a
copyable Solidity struct literal and JSON typed-data example, and a
Quote-binding key-property bullet covering both QuoteDetails and
JobQuoteDetails (with the new typehash strings).
- pricing-engine: add Security Notes bullet on requester binding and a
Best Practices entry on always populating requester.
- operators/pricing/overview: RFQ section gains a requester-binding
callout for operator quote-server implementations.
- execution-confidentiality: append a customer-request bullet noting
that confidential quotes are bound to a specific consumer via
requester so they cannot be lifted from the mempool.
* docs(slashing,lifecycle): nonReentrant gates, exit-active gate, admin self-dispute (v0.13.0)
- slashing: proposeSlash and disputeSlash now nonReentrant. proposeSlash
rejects bytes32(0) evidence. executeSlash for a Disputed proposal uses
disputeDeadline + TIMESTAMP_BUFFER (15s symmetric with the Pending
branch). SLASH_ADMIN_ROLE that is also the proposer of a slash cannot
self-dispute their own proposal.
- service-lifecycle: new "Exit Gates (v0.13.0)" section covering the
Active-status gate on every operator-exit entrypoint, nonReentrant on
terminateService, approveService rejecting past-grace requests, and
rejection of duplicate operators. force-remove paragraph now mentions
the forceRemoveAllowsBelowMin opt-in.
- auth-surface: append "(admin cannot self-dispute their own proposal)"
to the disputeSlash row. Mark terminateService and forceRemoveOperator
as nonReentrant. Note that pinBlueprint reverts inside the deprecation
grace window.
- network/metrics-and-scoring: list the full slashing event names
(Proposed, Disputed, Executed, Cancelled, ConfigUpdated) so indexers
know to subscribe to all five.
* docs(infra): note 2-day timelock + activate step on bridge messenger/slasher rotation
infrastructure/protocol-deployment runbook now reminds operators that
bootstrap setMessenger / setSlasher (current = address(0)) takes effect
immediately on L2SlashingReceiver, but subsequent rotations are
timelocked: queue the new address with setMessenger / setSlasher, then
call activateMessenger() / activateSlasher() after SENDER_ACTIVATION_DELAY
(2 days) elapses. Document the queue/activate pair as two transactions
in the runbook so operators know to schedule the activation tx before
the delay window closes.
(The L2SlashingReceiver auth-surface table was already updated in the
previous commit on this branch.)
* docs(release-notes): add tnt-core v0.13.0 release notes
New /release-notes/0.13.0 page documenting the v0.12.0/v0.13.0 BREAKING
changes (EIP-712 quote requester binding, ITangleSlashing event reshape,
Types.ServiceRequest.activated reorder, forceRemoveAllowsBelowMin BSM
hook), the round-2 hardening fixes (slashing nonReentrant + admin
self-dispute, service lifecycle gates, MBSM grace-window pinning, L2
slashing receiver timelock + CEI revert, beacon SSZ canonical
endianness, TNTLockFactory beneficiary gate), and a migration checklist
for operator quote servers, indexers, custom BSMs, MBSM operators, L2
receiver operators, beacon proof builders, and SLASH_ADMIN holders.
Cites tnt-core PRs #124 and #125 and links the bindings CHANGELOG.
Adds top-level "Release Notes" entry to pages/_meta.ts so the section
is discoverable from the global navigation.1 parent e976e83 commit 47be8cd
18 files changed
Lines changed: 723 additions & 42 deletions
File tree
- pages
- developers
- api/reference
- generated
- blueprints
- infrastructure
- network
- operators/pricing
- release-notes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
189 | 246 | | |
190 | 247 | | |
191 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | | - | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | | - | |
31 | | - | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
46 | 53 | | |
47 | 54 | | |
48 | 55 | | |
| |||
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
82 | | - | |
| 89 | + | |
83 | 90 | | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
87 | 105 | | |
88 | 106 | | |
89 | 107 | | |
| |||
92 | 110 | | |
93 | 111 | | |
94 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
95 | 123 | | |
96 | 124 | | |
97 | 125 | | |
98 | 126 | | |
99 | 127 | | |
100 | | - | |
| 128 | + | |
101 | 129 | | |
102 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
103 | 162 | | |
104 | 163 | | |
105 | 164 | | |
106 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
107 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
189 | 246 | | |
190 | 247 | | |
191 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| |||
0 commit comments