Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 07 Jun 17:28
· 75 commits to dev since this release
4d2f209

Minor Changes

  • b381ffe: add EVM verifier address constants and tuple helpers

    Export deployed Molpha verifier addresses for Ethereum Sepolia, Arbitrum Sepolia,
    Avalanche Fuji, and BSC testnet, plus framework-agnostic helpers to convert
    DataUpdateResult into verify(DataUpdate, SchnorrSignature) contract arguments
    for use with ethers or viem.

  • 113b5d3: add a cached-context "short" flow to MolphaGateway.execute

    Introduce ExecuteContext (registryVersion, nodes, jobConfig) and a
    gateway.prepareContext(jobId) helper that fetches these slow-changing round
    inputs once. Pass them back via execute({ ..., context }) (also accepted by
    executeAndSubmit) to skip the prelude and run rounds as a single gateway POST.
    context is partial, so any omitted field is still fetched. The default full
    flow now also fetches the registry version, node set, and job config in
    parallel.

Patch Changes

  • b381ffe: improve gateway execution reliability and align API config hash defaults

    canonicalizeAPIConfig now defaults valueTransform to an empty string instead of multiply:1e6, so API config hashing reflects explicit transforms only. Gateway execution now retries job-config fetches on transient 404 responses for newly created jobs, and gateway errors include backend-provided details for easier debugging of 400, 503, and other non-OK responses.

  • 113b5d3: add Starknet verifier address helpers and calldata builders

    Expose the deployed Starknet Sepolia verifier address and helpers to convert a
    gateway DataUpdateResult into Starknet verifier DataUpdate and
    SchnorrSignature calldata structs.