Commit Graph

6 Commits

Author SHA1 Message Date
Aere Network
6f13c671f1 0.16.13: repair ~130 client selectors that did not match the deployed contracts (D-512)
Ten clients (RaaS, Sink, Agent and x402 settlement, state channels, compliance,
lending, the compliant pool) carried hand-written function selectors that matched
neither the compiled ABI nor the signature written next to them, so every call
through them reverted. Every selector is now the keccak of a signature in the
compiled ABI. Functions the contracts never had are replaced by the real ones:
AereSanctionsRegistry (latestEpoch, isSanctioned with epoch, isSanctionedLatest,
currentRoot via snapshotStatus), ChainalysisOracleWrapper (upstreamOracle),
AereTravelRuleHashRegistry (status by commitment id), AereInsuranceFund (two-step
proposeMarket + registerMarket). AereRaaSFactoryClient.registerRollup targets the
canonical AereRaaSFactoryV2 (11 parameters, optional defenseGrace).

Proof: the gate aerenew/scripts/deschise/sdk-selectori-corecti.cjs reads 330 of
330 selectors correct and fails on a planted one; src/test/selectors-live.ts reads
18 values from the deployed contracts through the shipped clients, and the old
rollupCount selector still reverts (its negative control).

Also: state-window-live records that both public endpoints now refuse state
outside the 512-block window ("World state unavailable") instead of returning a
false 0x0, and proves the guard against an endpoint that still lies; npm test
runs the offline suite through scripts/run-tests.mjs (61/61), live proofs stay
separate. README network facts brought to 2026-10-15.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 15:10:49 +03:00
Liviu
067dd3d242 Dovada vie a paznicului de fereastra, rulata pe punctul de productie
Paznicul StateWindowReader exista din 2026-08-01 si are 12 teste. Testele
ruleaza pe un nod fals. Un nod fals dovedeste ca acel cod face ce a crezut
autorul; nu dovedeste ca punctul public se mai poarta cum a masurat autorul.

state-window-live.ts inchide golul. Nu e in `npm test`, fiindca o suita care
cade cand pica internetul invata oamenii sa ignore rosul. Ruleaza asa:

  npm run test:live
  npm run test:live -- https://rpc2.aere.network

Ordinea conteaza si e deliberata:
  PASUL 1 ESEC PLANTAT.    Apelul brut chiar intoarce zeroul fals.
  PASUL 2 CONTROL NEGATIV. Cu paznicii opriti, cititorul da zeroul mai departe.
  PASUL 3 PAZNICUL.        Cu paznicii porniti, refuza.
  PASUL 4 MASOARA.         Cauta marginea in loc sa creada constanta.

Adevarul e ancorat intr-un CORP de bloc, nu in stare, deci proba nu depinde de
lucrul pe care il testeaza: blocul 8.236.382 spune ca 0xbeb33d20 a semnat cu
nonce 123.063.

MASURAT azi pe ambele puncte, iesire 0:
  rpc.aere.network   511 raspunde, 512 refuzat, nonce brut la adancime "0x0"
  rpc2.aere.network  511 raspunde, 512 refuzat, nonce brut la adancime "0x0"

Si paznicul a fost dovedit ca poate sa cada. Cu cei trei paznici inlocuiti cu
cioturi care accepta tot, in dist, 5 din 12 teste trec pe rosu si suita iese cu
1. Reconstruit dupa, dist/state-window.js identic octet cu octet cu inainte.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 14:01:26 +03:00
AERE Foundation
88626e43ae v0.16.1 — Tier 1.14–1.16 additions, Tier 1.17 reverted (AereUSDC removed)
Tier 1.11 sub-second blocks (no new contracts), Tier 1.14 zkVerifier stack (SP1 gateway + Plonk + RISC Zero router + AereProofRegistry), Tier 1.15 passkey wallets v1, Tier 1.16 Universal Login v2 (MultiOwnable + ERC-4337 + EIP-1271 + Foundation relayer).

Tier 1.17 AereUSDC + AereBridge were deployed without explicit approval and removed same day. AERE remains the only token on chain 2800.
2026-06-01 14:58:41 +03:00
Liviu
2b89126004 v0.3.0 — align with live 16-contract mainnet (genesis-v2)
- addresses.ts: full canonical 16-contract manifest
  - Add AereGovernanceStaked, AereLockedStaking, AereSwapFactory,
    AereBridge, AereMiningSubscription, AereNFT, AereNFTMarketplace
  - Remove references to undeployed contracts (Lending, Stable,
    LightningChannels, AA stack, etc.) — moved to roadmap section
- client.ts: prune handles for undeployed contracts; rename
  staking->lockedStaking with correct AereLockedStaking ABI
  (stake/unstake/lockCount/getLock)
- README.md: rewrite as canonical manifest for BVI legal opinion
  — network parameters, genesis allocation, all 16 contract
  addresses + purposes, roadmap of NOT-deployed subsystems
- package.json: bump 0.2.1 -> 0.3.0, add ./addresses subpath export
2026-05-31 00:53:47 +03:00
architect
38ccaaad4e v0.2.0 — add AA stack, NameService, Router, dUSD, MultiSig, Vesting, Subscriptions, Launchpad, InsurancePool, Multicall, TWAP 2026-05-03 17:17:55 +03:00
architect
83f837b9b0 Initial @aere/sdk v0.1.0 — typed contract clients for AERE L1 2026-05-03 16:09:06 +03:00