You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Ron Turetzky
committed
deps: re-pin jito restaking by rev + bump ncn-program-core to Phase 1 main; freeze VerifyCertificate seams
- jito-foundation/restaking deps pinned by rev=358fbc3c (dead v2.1-upgrade
branch no longer referenced anywhere; fresh clones resolve by SHA), adding
the sdk/core crates the counter-solana deployer uses
- ncn-program-core bumped to main#9013404 (post phase1-dmsg merge)
- VERIFY_CERTIFICATE_DISCRIMINATOR frozen at the generated client's value
(byte 10); pinning test now differentially asserts the FULL instruction
data against ncn_program_core::instruction::NCNProgramInstruction
- JitoQuorum.generation now reads Snapshot.generation (was hardcoded 0)
- consensus_threshold_bps now read from the on-chain NCN Config PDA in
get_quorum (deployment JSON demoted to fallback when the PDA is missing)
- counter-solana-deployer crate stub (workspace member, not default-members)
Gates: fmt, clippy -D warnings (jito+examples+deployer), 41 jito tests,
8 example tests, EVM 43 tests, cargo check --workspace --all-targets.
Copy file name to clipboardExpand all lines: jito/README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Built against the cross-track interface contract in
16
16
|`config`|`NcnDeployment` — the NCN deployment JSON (`NCN_DEPLOYMENT_PATH`), analog of the EVM `avs_deploy.json`, plus PDA derivations. |
17
17
|`network`|`JitoStakingClient` — operators via `getProgramAccounts` memcmp on `NCNOperatorAccount` (ncn field; ip+port sockets), stake/APK from the `Snapshot` PDA, all reads at `confirmed` minimum. Produces `JitoQuorum`: index-aligned participant set / G1 keys / on-chain operator indices / stakes. |
18
18
|`quorum`| Startup reconciliation (§5): the minimum total stake over all `(N−f)`-sized signer subsets must clear `consensus_threshold_bps`, else refuse to start. |
19
-
|`instruction`| Manual `VerifyCertificate` instruction construction (frozen §2 shape; borsh cross-checked). Discriminator is a TODO-FREEZE const until the `phase1-dmsg` branch pushes the generated client. |
19
+
|`instruction`| Manual `VerifyCertificate` instruction construction (frozen §2 shape; borsh cross-checked). Discriminator (byte `10`) is FROZEN and differentially pinned against `ncn_program_core::instruction::NCNProgramInstruction` — the enum the generated client derives from (Phase 1, merged to `main`). |
20
20
|`submitter`|`JitoSubmitter` + the `SolanaCertificateHandler` trait (peer of the EVM `BlsSignatureVerificationHandler`). `VerifyCertificateHandler` sends the tx with a compute budget; `Resolution{Executed}` only at `finalized`; blockhash expiry → rebuild and resend. A settlement-program handler (INTERFACES §4, Track C `settlement_core`) plugs into the same seam. |
21
21
22
22
Participant indices (sorted G2 positions in the chassis `ordered::Set`) are
0 commit comments