diff --git a/README.md b/README.md index 35100a6..b049826 100644 --- a/README.md +++ b/README.md @@ -87,10 +87,10 @@ The documents below are written by hand and are the authority on intent, trade-o > `node scripts/record-implementations.mjs --check` fails if the file and the chain > disagree. > -> **The testnet runs this repository's contracts as of `44ff8e8`, except staking, with older role administrators.** +> **The testnet runs this repository's contracts as of `a101f07`, except staking, with older role administrators.** > The four proxies were upgraded in place on 26 October 2026 with `script/Upgrade.s.sol`, to the > contracts at `fdce1a7`, the staking proxy again on 28 October 2026, to `f89b3b9`, and on -> 2 November 2026, to `25c2d59`, and the oracle bond proxy later that day, to `76bbc97`, and the reputation proxy on 4 November 2026, to `f35cbc6`. `SigvaraReader` was deployed the same day at `7e461f4`. On 5 November 2026 the reputation and oracle bond proxies moved to `dcad617`, and on 10 November 2026 to `44ff8e8`. Staking's changes since `25c2d59` wait for the slash drill to end, so that proxy stays there: it ran the `44ff8e8` build for 397 blocks on 10 November by mistake and was rolled back. `--check` confirms the file matches the chain. A contract change merged after it is not on the testnet until the next upgrade. The guardian pause, admin-ruled disputes with a veto, a lapse and a bound on late upholds, +> 2 November 2026, to `25c2d59`, and the oracle bond proxy later that day, to `76bbc97`, and the reputation proxy on 4 November 2026, to `f35cbc6`. `SigvaraReader` was deployed the same day at `7e461f4`. On 5 November 2026 the reputation and oracle bond proxies moved to `dcad617`, and on 10 November 2026 to `44ff8e8`, and the reputation proxy on 15 November 2026 to `a101f07`. Staking's changes since `25c2d59` wait for the slash drill to end, so that proxy stays there: it ran the `44ff8e8` build for 397 blocks on 10 November by mistake and was rolled back. `--check` confirms the file matches the chain. A contract change merged after it is not on the testnet until the next upgrade. The guardian pause, admin-ruled disputes with a veto, a lapse and a bound on late upholds, > launch floors and ceilings, operator signers, the reporter check at slash execution, a > withdrawal's claim time fixed when it is queued, an oracle operator's exit time fixed when it starts to leave, the refusal of evidence the admin rejected, a score's age counted from its proposal, a stranded score that can be discarded, an empty bond deposit refused, > and a slash that pays the committee nothing are live. An upgrade does not rewrite role administrators, so the proxies keep what the @@ -114,7 +114,7 @@ source is [`deployments/5042002.json`](deployments/5042002.json); the table belo | `SigvaraOracleBond` | `0x3c9c12F27DDCa7048840eE3fbF0CAa1C547D8171` | | `SigvaraReader` (one read for a contract that gates on an agent's standing, not a registry) | `0x2921b4eE879CdF5793FA273BbDc4E7dF01ABcef8` | -Every contract above, and the implementation behind each proxy, is source-verified on the [Arc explorer](https://explorer.testnet.arc.io) and reproduced byte for byte by a build of the commit tagged `arc-testnet-2026-11-10`, except staking, whose new source waits for the slash drill (`arc-testnet-2026-11-04b` builds what runs). To check it yourself: `git checkout arc-testnet-2026-11-10`, then `sh scripts/fetch-deps.sh && forge build && node scripts/check-bytecode.mjs` ([how](docs/arc.md#verifying-the-deployed-code)). +Every contract above, and the implementation behind each proxy, is source-verified on the [Arc explorer](https://explorer.testnet.arc.io) and reproduced byte for byte by a build of the commit tagged `arc-testnet-2026-11-15`, except staking, whose new source waits for the slash drill (`arc-testnet-2026-11-04b` builds what runs). To check it yourself: `git checkout arc-testnet-2026-11-15`, then `sh scripts/fetch-deps.sh && forge build && node scripts/check-bytecode.mjs` ([how](docs/arc.md#verifying-the-deployed-code)). Testnet assets have no economic value. The bond token above is a faucet ERC-20 that exists so the staking path can be exercised; it is unrelated to the mainnet SVR. diff --git a/deployments/5042002.json b/deployments/5042002.json index 13b2ef3..5299425 100644 --- a/deployments/5042002.json +++ b/deployments/5042002.json @@ -43,7 +43,7 @@ "reproducedAt": "53d3a89" }, "reputation": { - "current": "0x937da57830bFF5f1341b8fd9F3f7D97F48B3bA16", + "current": "0xe88A04A33F13860bF92016D21027F43910839441", "history": [ { "implementation": "0x87492399E34e5247740d0280C329e7553403404c", @@ -67,10 +67,16 @@ "replacedAt": "2026-11-10T14:21:43.061Z", "reproducedAt": "dcad617", "note": "replaced by the upgrade to 44ff8e8 (a stranded score can be discarded, pull request 255): upgradeToAndCall in block 71720583, tx 0x4a62f68aa4cf33506a4ad84e38b16426215ea103fc95a09bd9b166b212c5474a" + }, + { + "implementation": "0x937da57830bFF5f1341b8fd9F3f7D97F48B3bA16", + "replacedAt": "2026-11-15T22:46:15.678Z", + "reproducedAt": "44ff8e8", + "note": "replaced by the upgrade to a101f07 (a finalize leaves the proposal for the next one to overwrite, pull request 316): upgradeToAndCall in block 72484416, tx 0xca9019a10541be620903c0e0ecd81b51bc5ebecc9dfc6708fcde91a19692c31c" } ], - "recordedAt": "2026-11-10T14:21:43.061Z", - "reproducedAt": "44ff8e8" + "recordedAt": "2026-11-15T22:46:15.678Z", + "reproducedAt": "a101f07" }, "staking": { "current": "0x347D01d33bc07120c67BCaDB5C32fe0D8AF6C943", @@ -155,7 +161,7 @@ "bytecode": { "note": "Every contract here, each implementation, each proxy, the SVR token and the reader, is reproduced byte for byte (immutables aside) by building reproducedAt, or the implementation's own reproducedAt where it records one; scripts/check-bytecode.mjs checks it. The tag marks the commit that records this. All are verified on the Arc explorer.", "reproducedAt": "44ff8e8", - "tag": "arc-testnet-2026-11-10", - "checkedAt": "2026-11-10" + "tag": "arc-testnet-2026-11-15", + "checkedAt": "2026-11-15" } } diff --git a/docs/arc.md b/docs/arc.md index ddb7cde..85aa99f 100644 --- a/docs/arc.md +++ b/docs/arc.md @@ -39,7 +39,7 @@ fails at the fee-estimation step, retry with `--legacy`. **Explorer verification.** Every Arc testnet contract, each proxy and the implementation behind it, is source-verified on [explorer.testnet.arc.io](https://explorer.testnet.arc.io), and each is reproduced byte for byte by a build of the commit `deployments/5042002.json` names -(`bytecode.reproducedAt`, tagged `arc-testnet-2026-11-10`). See [Verifying the deployed code](#verifying-the-deployed-code) +(`bytecode.reproducedAt`, tagged `arc-testnet-2026-11-15`). See [Verifying the deployed code](#verifying-the-deployed-code) below. Do not add `[etherscan]` entries for `5042` / `5042002` to `foundry.toml` until Foundry ships chain metadata for Arc; unknown chain IDs break `forge script`. @@ -675,7 +675,8 @@ Proxy addresses never change; these are the implementations behind them, newest | | `0x169f1ada8a3568e229d24e74515b4ef889b8a6bd` | 21 Sep | | | `0x3501f936f629dbc2e97ae0717c501456ca8215e0` | 19 Sep, narrowed coupling | | | `0x28c23b766c2dabb5f2930905a5eeb660919b71ef` | 19 Sep, PendingBond activation | -| `reputation` | `0x937da57830bff5f1341b8fd9f3f7d97f48b3ba16` | 10 Nov, `44ff8e8`, a stranded score can be discarded (current) | +| `reputation` | `0xe88a04a33f13860bf92016d21027f43910839441` | 15 Nov, `a101f07`, a finalize leaves the proposal for the next one to overwrite (current) | +| | `0x937da57830bff5f1341b8fd9f3f7d97f48b3ba16` | 10 Nov, `44ff8e8`, a stranded score can be discarded | | | `0x4bbcb51fa8edac8ab3d3dc9757614b55cffba837`, `0x26cf380314962f0c912b51b40a5c123c0683ac8a` | 5 Nov, `dcad617`, a score's age runs from its proposal; 4 Nov, `f35cbc6`, a finalize keeps the time built up toward the next point | | | `0xd23fffa937cfe37bbc6ee1e14c3c844c78bfe3ca` | 26 Oct, `fdce1a7` | | | `0x87492399e34e5247740d0280c329e7553403404c`, `0x0dc80134817e6fea978c06497f48391371a8413d`, `0xea5940bc23d7bf82113316dd03a3b1bb1bc2f084` | recorded 21 Sep; 19 Sep, evidence roots; 18 Sep, maturity | @@ -696,16 +697,16 @@ cast storage 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505 Anyone can check that the code on chain is this repository's, without trusting the explorer: ```bash -git checkout arc-testnet-2026-11-10 +git checkout arc-testnet-2026-11-15 sh scripts/fetch-deps.sh && forge build node scripts/check-bytecode.mjs ``` `check-bytecode.mjs` reads each proxy, the implementation it runs, the SVR token and the reader (`0x2921b4eE879CdF5793FA273BbDc4E7dF01ABcef8`) from the chain, blanks the immutables (a UUPS implementation stores its own address in one), and compares -the rest with the build, byte for byte, source metadata included. On 10 November 2026, after the -reputation and bond upgrades, all matched the build of `44ff8e8` except staking, whose new source -waits for the slash drill to end: it is reported as expected, and `arc-testnet-2026-11-04b` builds it. Build in an ordinary checkout: a `lib/` that is a symlink or +the rest with the build, byte for byte, source metadata included. On 15 November 2026, after the +reputation upgrade, all matched the build of `a101f07` except identity, whose source metadata (not its code) has changed since, +and staking, whose new source waits for the slash drill to end: both are reported as expected, and `arc-testnet-2026-11-04b` builds staking. Build in an ordinary checkout: a `lib/` that is a symlink or junction changes the source paths solc records, and with them the metadata hash. CI runs the same check after every build; when main's sources have moved on since the recorded commit, a mismatch is expected and reported as such. diff --git a/docs/whitepaper.md b/docs/whitepaper.md index 7a97815..80d9bfc 100644 --- a/docs/whitepaper.md +++ b/docs/whitepaper.md @@ -620,9 +620,9 @@ charged. The app disables every fee control rather than pointing at an address w code. **Deployed contracts versus `main`.** The Arc testnet proxies run the implementations recorded in -`deployments/5042002.json`, which are the contracts at commit `44ff8e8` of 10 November 2026, except +`deployments/5042002.json`, which are the contracts at commit `a101f07` of 15 November 2026, except staking, whose changes since `25c2d59` wait for the slash drill to end. The four proxies were upgraded in place with `script/Upgrade.s.sol` to `fdce1a7` on -26 October, the staking proxy again to `f89b3b9` on 28 October and to `25c2d59` on 2 November, the oracle bond proxy to `76bbc97` the same day, the reputation proxy to `f35cbc6` on 4 November, and the reputation and oracle bond proxies to `dcad617` on 5 November and to `44ff8e8` on 10 November. A contract +26 October, the staking proxy again to `f89b3b9` on 28 October and to `25c2d59` on 2 November, the oracle bond proxy to `76bbc97` the same day, the reputation proxy to `f35cbc6` on 4 November, and the reputation and oracle bond proxies to `dcad617` on 5 November and to `44ff8e8` on 10 November, and the reputation proxy to `a101f07` on 15 November. A contract change merged after that commit is not on the testnet until the next upgrade. The guardian pause, admin-ruled disputes with a veto, a lapse and a bound on late upholds, launch floors and ceilings, operator signers, the reporter check at slash execution, a withdrawal's claim time fixed when it is queued, an oracle operator's exit time fixed when it starts to leave, the refusal of evidence the admin rejected, a score's age counted from its proposal and a slash that pays the