Repository navigation
v2.1: rounded, trimmed results, reader allowlist, Linux-reproducible enclave - #5
Merged
Merged
Conversation
…ract; enclave built in a pinned Linux container Enclave: every new tally commits a trimmed mean (one mark dropped from each end from five funds, two from nine) rounded to an eighth of a point, and the spread of all valid marks rounded to a quarter. Exact results let two colluding funds in a four-fund round solve for the other two marks; rounded, each is a range about a point wide. Delivery still serves a round committed before rounding with the exact result it was committed to. The buyer's copy names its method. Contract: the council can limit paid reads to readers it approves (AddReader, RemoveReader, SetReadersOnly; off by default, at most 128 readers). Kept outside the state struct, so the redeploy needs no migration; new proposal kinds are appended so stored proposals keep their borsh tags. Free copies for counted funds and their auditors are never limited. Build: aggregator/build.sh builds the enclave in a digest-pinned rust:1.96.0 container, so its hash reproduces on any machine with Docker; CI checks it on Ubuntu. The site accepts runs of the earlier enclave build as genuine.
…lave (f3173709) live; round 3 passed every check The contract was redeployed in place on nema-v2.testnet; the OutLayer project runs the new enclave from FastFS with the enclave-v3 release as standby; the secret lock accepted both builds during the switch and now accepts only the new one. Round 3 published the rounded, trimmed consensus (94.375 +/- 1.75), and the free, paid and audit reads, the fund split and the council's pay all checked out. Roadmap, claims, limitations, threat model and API notes updated.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Live on testnet; this PR brings the site and docs in line.
Enclave (
f3173709…, active on OutLayer; standby releaseenclave-v3)aggregator/build.shin a digest-pinned Linux container; CI'sreproducejob now runs on Ubuntu.Contract (
36e01373…, fromd8f5b58, redeployed in place onnema-v2.testnet)Site: rounding explained on the result, a "Who can buy a read" card on the panel, runs of the earlier enclave still accepted as genuine.
Checked: 224 contract, 42 enclave, 10 browser tests; 12 new guards each removed once and caught; live round 3 passed every smoke check (94.375 ± 1.75). SourceScan verification of the new contract build is still to do.
Includes #4 (roadmap and partner docs).