Wire the Arbitrum Sepolia testnet deployment into the web app #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/sepolia-wiring"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Updates this PR to the Arbitrum Sepolia redeploy of taskuler/contracts main
@8610085(16 November 2026), recorded in contracts PR #20. Addresses and ABIs were copied withnpm run sync:sepoliafrom the PR #20 deploy record (deploy/sepolia-8610085). Earlier Sepolia addresses, including the 13 Novemberb19f21dset, are superseded.Only the BuilderBonus ABI changed:
marketState(market)now returns 6 values (known,revoked,holdsIgnored,revokedAt,ignoreHoldsEta, and the newhonourHoldsEta). New hold-governance functions,HonourHoldsScheduled/HonourHoldsCancelledevents, andNotBroken,TimelockedandSafeCastOverflowedUintDowncasterrors are in the ABI. Market, WorkHistory and TSKR ABIs are unchanged (header commit only). The app decodes the 6-valuemarketStatereturn and maps the new errors to readable messages.Mock stays the default. The private preview is unchanged. Nothing is deployed, and nothing on mainnet is wired — Arbitrum One addresses stay
null, and writes are refused on any chain other than Arbitrum Sepolia.Addresses
Deployments start block:
329875816(CommunityRewardsVault; DisputeLib, ReviewLib and PayoutLib were reused from theb19f21ddeploy). Market deployed at block329875859.0xf78e830d984F13E5b3d913A379dA99ddb5D9C4820xA35aea37Ea659Ae0f1c53Fe7402e80109845f59a0xA7e0eBF1c9d061Ff9096068E8E4638ae282776680x3941f45441A465a0D029ee7E5368F24f4F4177170xB702d00A94eDC009875Fb09B5e3ddA9CAdea231c0x61Cd6b980fA9cE0a43bA52B2e9BCf3e5fBc47a080xc749e1D162FC0Bd1f682756EdF01080F4E60b5E50x2C1852720f6D377316DaED7A9cDB63dF68773CBAUSDC (Circle, not deployed by Taskuler):
0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d. Temporary testnet governance is the deployer EOA0x53A5f29f226113e8C9e9fD1a4041db191E57Eb19(not the 2-of-3 Safe).How to try it
Docs: docs/sepolia.md. Resync with
npm run sync:sepolia -- /path/to/taskuler/contracts.What this adds on top of the Sepolia wiring
src/contracts/.paused(). When the Safe has paused the Market, a banner explains that new jobs, bids and reviewer assignments are disabled; post and bid are blocked before a transaction is sent;EnforcedPauseis decoded. Accepting an existing bid, delivery, settlement, disputes and Market withdrawals stay available.withdraw()/unlockare replaced bywithdraw(market, jobIds). The Withdraw page lists awards and each claim window (claimableAtuntil 180 days later, extended while the builder is observed held). A too-early claim is refused before a transaction is sent.docs/indexer-queries.mdanddocs/cr2-independent-review-ui.mdfor the new/changed BuilderBonus events (topic0 changed;SlotReserved4th field isreservedCount;HoldCheckFailedis now an error) and MarketPaused/Unpaused.src/data/ids.tsstill match the b19f21d schema (docs/schema-b19f21d.graphql). Job ids arechainId:market:jobId(lowercase market); bid ids add:bidIndex; every job reference uses the full id;job.jobIdstays the on-chain number.timestampis on credit, job, bid and dispute;Credit.createdAtis mapped fromcredit.timestamp. Trailing-week payouts usemarketStatswithday_gte(UTC-day buckets);credits+timestamp_gteis also shipped for an exact window. A vitest validates each query with graphql-js. The API is referred to as api.taskuler.com, never "Ponder API". The checked-in SDL and the local ponder-sepolia checkout have not been re-pointed to the 8610085 addresses or start block329875816. New hold-governance events andhonourHoldsEtaare not in that SDL.What works on testnet vs. what is blocked
Read-only smoke check against
https://sepolia-rollup.arbitrum.io/rpc(no transactions, no keys):paused()is false.WorkHistory.isRecorder(Market)is true.allowedToken(USDC)is true;allowedTokenis false for ETH and TSKR.minFee(USDC)andminDeposit(USDC)are 0.feeBpsis 200 (2%);depositBpsis 0.BuilderBonus.minBounty(USDC)is 1,000 USDC (1000000000).BuilderBonus.marketState(Market)decodes as 6 values:known=true,revoked=false,holdsIgnored=false,revokedAt=0,ignoreHoldsEta=0,honourHoldsEta=0.ReviewerRegistry.minReviewerFee(USDC)is 50 USDC. No reviewer is registered yet.LiquidityReserve.executeRelease(1)can run (100,000 TSKR, from 2026-11-18 1:57:56 PM CT).A regular USDC job can be posted on this deploy (USDC is allowed and the fee is already 2%). Posting in ETH or TSKR would still revert
TokenNotAllowed. A review job cannot have a reviewer assigned until one is registered. Builder bonuses cannot be funded until 18 November 2026. The Kleros dispute template id is 196, but the policyURI is still an unpinned placeholder (testnet only). Contract errors are shown in the UI instead of crashing.Tests
npm test: 141 passed.npm run buildpassed. CI does not call a live RPC.Not in this PR
No merge, no deploy, no mainnet, no private keys, no change to the private mock preview.
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings