Skip to content

Release 0.10.0

Latest

Choose a tag to compare

@elasticLove1 elasticLove1 released this 04 Dec 17:54
9a6a822

[0.10.0] – 2026-12-04

Breaking Changes

  • Shellnet restarted from a new genesis on 2026-12-03 and runs on a new AckiNackiBridge,
    0xBD444F65E30A85bCd13cc4f6331Efe3BD242CD55
    , on Arbitrum Sepolia from block 334946818, with
    eccBridge 1.19.0; shellnet's eccBridge trusts only this bridge. Set BRIDGE_ADDRESS,
    BRIDGE_DEPLOY_BLOCK and FROM_BLOCK and the Acki Nacki addresses as README.md lists them.
  • EthBeaconLightClient 1.8.1 (code hash c1303c43…) accepts the current Ethereum committee and its predecessor only until two hours after the period boundary; upgrade with updateCode and install a fresh finalized checkpoint with reAnchorCheckpoint before backfill.
  • EthBeaconLightClient.submitUpdate only advances the finalized head; recover historical blocks through submitAncestry from an authorized checkpoint or its proven ancestors (259: expired committee, 261: future header/signer, 262: endpoint needs a checkpoint).
  • The light client supports Ethereum mainnet (1), Sepolia (11155111) and Hoodi (560048). Other chain IDs return ERR_UNKNOWN_L1 (260). The owner committee setters require a nonzero commitment for an eligible period (243 or 245), and an expired initialized client requires reAnchorCheckpoint (262).
  • Use nextRecoveryHash to list recovery checkpoints and isAncestryAnchor to check ancestry endpoints. reAnchorCheckpoint emits CheckpointReAnchored (708). reAnchorsApplied counts owner bootstrap, committee changes and checkpoint recovery.
  • eccBridge 1.19.0 (code hash 46def3aa…) embeds the updated light-client deployment layout: upgrade it and call setLightClientCode before deploying another light client.
  • eth-lc-relayer requires the matching EthBeaconLightClient ABI (getTrustState); stop the daemon to run re-anchor-checkpoint --checkpoint <verified.json> --state-dir <state>, then restart it to recover pending block spans.
  • NACKL (ECC id 1) crosses the bridge (docs/NACKL-bridge-extension.md): redeploy
    AckiNackiBridge and upgrade eccBridge, relayer, deposit-relayer and ackinacki-bridge
    together.
  • eccBridge 1.19.0, code hash 46def3aa…, with DepositVoucher 1.6.0 and the 1.8.1 light
    clients: upgrade a 1.17.0 or 1.18.0 bridge with updateCode and the 1.6.0 voucher code in
    userCell. That moves every voucher address: finish the old EVM bridge's deposits first, and
    afterwards trust only the new EVM bridge.
  • AckiNackiBridge links the external library NacklMint: deploy with forge script --broadcast.
  • AckiNackiBridge storage: TokenInfo is three words (token/decimals/depositsEnabled,
    tvlCap, liabilities); _nackl takes slots 19–20 and _withdrawalWindows slot 21.
  • Bridge limits (gosh-sh/bridge-audit#161): no per-transfer limit on either side; the owner sets
    TVL where the token is locked and a rolling 24-hour withdrawal limit on both sides; over a limit
    the transfer is refused, never queued.
    • eccBridge: setBridgeToken(chainId, evmToken, tokenId, maxTvl, dailyLimit, depositsEnabled)
      replaces maxTransfer with dailyLimit; getTokenDepositConfig, getTokenWithdrawalConfig
      and getDepositLimits return dailyLimit in its place; new getWithdrawalWindow(chainId, tokenId) returns (dailyLimit, used). 234 is gone; an amount above uint64 is refunded with
      214. A USDC withdrawal to a chain without a registered config is refunded with 247: register
      USDC with setBridgeToken after the upgrade. The upgrade sets each config's dailyLimit to its
      old per-withdrawal cap; set the real limit afterwards.
    • AckiNackiBridge: MAX_TRANSFER_AMOUNT, MAX_BRIDGE_TVL, maxWithdrawalAmount() and
      TransferTooLarge are gone; setTokenLimits(tokenId, tvlCap, dailyLimit); tokenInfo returns
      (token, decimals, depositsEnabled, tvlCap, dailyLimit, liabilities); new withdrawalWindow(tokenId)
      returns (dailyLimit, used); TokenListed and TokenLimitsSet carry tvlCap, dailyLimit. The
      constructor's BridgeWithdrawConfig adds usdcTvlCap and usdcDailyLimit (deploy env
      USDC_TVL_CAP, USDC_DAILY_LIMIT, default 10,000 USDC each).
    • AckiNackiBridge links a second external library, WithdrawalWindow.
  • ackinacki-bridge needs eccBridge 1.19.0 (MIN_BRIDGE_VERSION and
    NEWEST_KNOWN_BRIDGE_VERSION): deposit and withdraw preflight refuse a 1.18.0 or older bridge,
    whose limit getters answer in the old shape. Upgrade the AN bridge before the CLI.
  • contracts/ethereum needs @openzeppelin/contracts 5.4.0: run npm install before forge build.
  • docker compose up also starts withdraw-live: give it its own funded EOA, env/withdraw-live.env,
    its directories and the Circuit 4 keys in params/relayer/, rerun finalize-params.sh and set the new
    PARAMS_MANIFEST_SHA256 in daemon-live.env and withdraw-live.env (docker/README.md).
  • ackinacki-bridge withdraw whose burn is already paid out (by a relayer, say) exits 0 with
    submit.status already_paid and submit.nullifier, not 13. The proof is always built; the send
    is where the payout is found.
  • ackinacki-bridge: --token usdc|nackl is required on withdraw and deposit;
    withdraw --token-id and deposit --token <address> (DEPOSIT_TOKEN) are gone: add --token usdc
    to scripts.
  • ackinacki-bridge deposit --relayer-grace-s is gone: the CLI builds the receipt proof once the block
    is anchored; a deposit finalized by then (by a relayer, say) is not sent again and ends with exit 0
    and finalize: "already_finalized", even when its receipt proof cannot be built.
  • ackinacki-bridge withdraw, relayer daemon-live and relayer daemon-withdraw-live no longer take
    --bridge-deploy-block, --get-logs-chunk-blocks and --get-logs-pause-ms: remove them from start
    commands. These commands ignore BRIDGE_DEPLOY_BLOCK, BRIDGE_GET_LOGS_CHUNK_BLOCKS and
    BRIDGE_GET_LOGS_PAUSE_MS; the deposit relayer and eth-lc-relayer still read BRIDGE_DEPLOY_BLOCK.

New / Improvements

  • eccBridge: setBridgeToken accepts NACKL (id 1).
  • eccBridge: a NACKL initiateWithdrawal locks the NACKL on the bridge
    (getNacklLockedTo(chainId, evmBridge)), refunded when the chain's locked NACKL would pass the
    owner's maxTvl (235).
  • eccBridge: initiateWithdrawal of any token, USDC included, is refunded with 246
    (ERR_RECIPIENT_NOT_EVM) when the recipient is not 20 bytes, the only form Circuit 4 proves.
    A USDC withdrawal to such a recipient used to be burned with no proof possible.
  • eccBridge: initiateWithdrawal of USDC and NACKL is refunded with 247 (ERR_DAILY_LIMIT) when it
    does not fit the owner's dailyLimit for its chain and token over the last 24 hours (25 hourly
    buckets). A refunded withdrawal does not count.
  • eccBridge: finalizeDeposit refuses a NACKL deposit above the chain's locked NACKL with 236.
  • eccBridge: the USDC TVL cap is checked on the EVM bridge only; finalizeDeposit, the
    voucher confirmation, mintAndSendBridged and setOutstandingByChain no longer refuse with 235.
    Deposits have no rate limit.
  • eccBridge: a deposit the bridge cannot pay when its voucher confirms it (the NACKL lock 236, an
    unregistered token 241) is refused instead of aborting:
    the bridge emits DepositRefused with the reason and calls the voucher's release, which
    deletes the voucher. Nothing is paid, and the same deposit can be finalized again.
  • DepositVoucher 1.6.0: confirms with bounce: false; release (only from the bridge) deletes
    it.
  • eccBridge: mintAndSendTokenBridged refuses id 1 with 242; getTotalBridged(1) stays (0, 0).
  • AckiNackiBridge: listNackl(token, dailyLimit) lists the NACKL token under id 1, with no TVL
    cap (tvlCap stays type(uint256).max).
  • AckiNackiBridge: withdrawByProof of every token reverts WithdrawalWindowFull(tokenId, used, amount, dailyLimit) when the payout does not fit the token's dailyLimit over the last 24
    hours; the nullifier stays unspent and the same proof pays once the window has room.
  • AckiNackiBridge: a NACKL deposit burns with burnFrom, without a TVL cap.
  • AckiNackiBridge: a NACKL withdrawByProof mints at once, or reverts without spending the
    nullifier, so the same proof can be sent again: NacklNotMinter on a successor before the
    handover, NacklMinterGone on a bridge that handed the minter over. There is no payout queue.
  • AckiNackiBridge: nacklState() reports minted and handedOver.
  • AckiNackiBridge: new errors WithdrawalWindowFull, SuccessorWithdrawalLimitTooLow,
    NacklMinterGone, NacklNotMinter, NacklBadDecimals, NacklSuccessorNotReady; events
    NacklListed, NacklMinterHandedOver.
  • AckiNackiBridge: migrateToken and migrateTreasury refuse a successor whose daily withdrawal
    limit for the token is lower (SuccessorWithdrawalLimitTooLow).
  • AckiNackiBridge: migrateToken(1, successor) hands the NACKL minter over while paused; run it only after setEvmBridge to the
    successor and once getNacklLockedTo for the old bridge equals its nacklState().minted.
  • NacklToken: OpenZeppelin ERC20 NACKL, nine decimals, deployed and optionally listed by
    script/DeployNacklToken.s.sol (NACKL_BRIDGE, NACKL_INITIAL_SUPPLY, NACKL_INITIAL_HOLDER,
    NACKL_LIST, NACKL_DAILY_LIMIT).
  • relayer daemon-withdraw, daemon-bridge and daemon-withdraw-live retry a proof refused with
    WithdrawalWindowFull or NacklNotMinter later and park one refused with NacklMinterGone.
  • ackinacki-bridge withdraw send burns and captures the event; withdraw proof --tx-hash <AN tx> --token … proves any burn to the chain of --rpc-url and sends withdrawByProof (JSON submit is
    null after send); a burn to the EVM bridge's alternative destination chain id is refused.
  • ackinacki-bridge deposit send stops once the deposit is confirmed on the EVM chain;
    deposit proof --tx-hash <EVM tx> --token … finalizes any deposit to the bridge, reading its sender,
    amount and recipient from the receipt.
  • ackinacki-bridge deposit JSON finalize, once credited: sent when the operation's own
    finalizeDeposit paid it, in this run or one it resumes, otherwise already_finalized.
  • ackinacki-bridge withdraw no longer reads the EVM bridge's treasury before burning. Before the
    burn or lock it refuses (exit 2) an amount that does not fit the Acki Nacki daily window (247;
    with no daily limit set, it names setBridgeToken), a NACKL lock above maxTvl (235) and an amount above the EVM bridge's dailyLimit, which could
    never be paid; it warns when the EVM window has no room now.
  • ackinacki-bridge withdraw --token nackl withdraws NACKL.
  • ackinacki-bridge withdraw whose proof the EVM bridge refuses with WithdrawalWindowFull exits 13 with
    nothing spent; later, re-run the same withdraw proof as it is, or a withdraw with --allow-retry.
  • ackinacki-bridge deposit exits 38 (CreditRefused) when the bridge refuses the deposit for now;
    --resume sends finalizeDeposit again and confirms the credit.
  • deposit-relayer treats a deposit whose voucher the bridge released as pending and sends it
    again on a later attempt.
  • ackinacki-bridge deposit --amount takes as many fractional digits as the token has decimals (9
    for NACKL).
  • ackinacki-bridge deposit summary shows the token's currency and decimals and its balance; the
    JSON tx carries token_id.
  • deposit-relayer retries a deposit refused with 236; when the deposit's voucher shows a payout,
    it counts the deposit as already finalised instead.
  • The frontend no longer refuses a deposit above 50 USDC; only the uint64 bound and the EVM
    bridge's USDC tvlCap apply.
  • deposit-relayer and finalize-one no longer send finalizeDeposit again for an old paid deposit:
    the bridge's DepositFinalized event, read back to the deposit's time, shows it paid.
  • eth-lc-relayer arbitrum-anchors --arbitrum-proof-rpc-url (ARBITRUM_PROOF_RPC_URL) takes
    eth_getProof alone, and logs are read only when depositCounter moves: point it at the Alchemy
    node and ARBITRUM_RPC_URL at a public one.
  • eth-lc-relayer arbitrum-anchors --metrics-addr (ARBITRUM_ANCHORS_METRICS_ADDR) serves
    GET /metrics with arbitrum_anchors_*: a counter per TickReport field (waiting_for_parent
    is a gauge), the rounds by outcome, the time of the last good one, what the state holds and every
    JSON-RPC request by endpoint and method
    (crates/eth-light-client-relayer/src/arbitrum_metrics.rs). docker/compose.yaml publishes it
    on ARBITRUM_ANCHORS_METRICS_PORT (default 9469): add it to the scrape config.
  • eth-lc-relayer daemon GET /metrics adds the rounds by outcome
    (eth_lc_relayer_ticks_total{outcome}), eth_lc_relayer_last_successful_tick_timestamp_seconds,
    the queue, the head, the beacon node's answers, the messages to Acki Nacki and the proof times
    (crates/eth-light-client-relayer/src/metrics.rs); alert rules in docs/eth-light-client.md
    §4.7 and the deposit relayer's runbook §9.
  • docker/compose.yaml: eth-lc-relayer and arbitrum-anchors have a healthcheck that reads their
    /metrics; with an image older than this, arbitrum-anchors shows unhealthy.
  • relayer daemon-withdraw-live (service withdraw-live) pays every burn on the Acki Nacki bridge
    AN_TOKEN_BRIDGE to this bridge with withdrawByProof from its own WITHDRAW_PRIVATE_KEY, recording
    each in withdraw-claims.json.
  • ackinacki-bridge withdraw, relayer daemon-live and relayer daemon-withdraw-live no longer read
    LayerAnchorAppended logs: their EVM requests per withdrawal and per start do not grow with the
    bridge's age.
  • ackinacki-bridge withdraw proof --proof-gql-endpoint <URL> (BRIDGE_PROOF_GQL_ENDPOINT) reads the
    blocks of the proof's witness from that GraphQL endpoint; the burn and the bridge account still come
    from --gql-endpoint. Without the flag nothing changes.

Fixes

  • AckiNackiBridge.withdrawByProof refuses a pub.amount above type(uint64).max with the new
    WithdrawalAmountOutOfRange(uint256 amount), and the four *AggregatorVerifier adapters refuse
    calldata with an instance word at or above the BN254 scalar field order: redeploy the bridge and
    its adapters (the Yul verifiers and verification keys are unchanged) and upgrade relayer, which
    parks a proof refused with the new error.
  • The bridge-cli image ships BridgeWithdrawalAggregatorVerifier_calldata.bin: withdraw from the
    image no longer stops in preflight.
  • eth-lc-relayer proves a checkpoint with the committee of its signature slot: a checkpoint
    finalized in one sync period and signed in the next no longer stops the light client. Before
    upgrading, check <state file>.steps/: such an entry keeps the wrong committee_json and fails
    with live committee+bits+signature do not verify until it is replaced by hand.
  • eth-lc-relayer daemon records a checkpoint already on chain after a refused submitUpdate
    instead of resending it for ever.
  • Acki Nacki call errors carry the contract's exit_code=N: deposit-relayer waits out
    ERR_PAUSED, ERR_TVL_CAP and the token gates instead of counting them as failed attempts.
  • eth-lc-relayer arbitrum-anchors finds a deposit block again after a round that failed while
    placing it (Acki Nacki did not answer isAcceptedBlockHash). The count of deposits seen moved
    before the block was pending, so the next round read no logs and passed the block: its deposits
    waited for the owner's setAcceptedBlockHash.