Skip to content

feat(relay): error + requireFunds capabilities #364

feat(relay): error + requireFunds capabilities

feat(relay): error + requireFunds capabilities #364

Triggered via pull request April 15, 2026 05:30
@jxomjxom
synchronize #212
jxom/relay-feats
Status Failure
Total duration 1m 55s
Artifacts

pull-request.yml

on: pull_request
Matrix: Verify / test-localnet
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Verify / Checks
Process completed with exit code 1.
Verify / Checks: src/server/internal/handlers/relay.ts#L529
Argument of type 'number' is not assignable to parameter of type 'bigint'.
Verify / Checks: src/server/internal/handlers/relay.ts#L526
Operator '*' cannot be applied to types 'number' and 'bigint'.
Verify / Checks: src/server/internal/handlers/relay.ts#L526
Operator '+' cannot be applied to types 'number' and 'bigint'.
Verify / Checks: src/server/internal/handlers/relay.ts#L319
Type '{ error: any; sponsored: false; }' is not assignable to type '{ readonly error: any; readonly sponsored: false; } & { fee: { amount: `0x${string}`; decimals: number; formatted: string; symbol: string; } | null; sponsored: boolean; balanceDiffs?: Record<`0x${string}`, readonly { ...; }[]> | undefined; autoSwap?: { ...; } | undefined; sponsor?: { ...; } | undefined; }'.
Verify / Checks: src/server/internal/handlers/relay.ts#L295
Type '{ balanceDiffs: { [x: string]: Capabilities.BalanceDiff[]; } | undefined; error: any; requireFunds: { amount: `0x${string}`; decimals: number; formatted: string; token: `0x${string}`; symbol: string; } | undefined; sponsored: false; }' is not assignable to type '{ readonly balanceDiffs: { [x: string]: BalanceDiff[]; } | undefined; readonly error: any; readonly requireFunds: { amount: `0x${string}`; decimals: number; formatted: string; token: `0x${string}`; symbol: string; } | undefined; readonly sponsored: false; } & { ...; }'.
Verify / Checks: src/server/internal/handlers/relay.ts#L243
Type '{ amount: `0x${string}`; decimals: number; formatted: string; symbol: string; } | undefined' is not assignable to type '{ amount: `0x${string}`; decimals: number; formatted: string; symbol: string; } & { amount: `0x${string}`; decimals: number; formatted: string; symbol: string; }'.
Verify / Checks: src/server/internal/handlers/relay.ts#L228
Argument of type 'number' is not assignable to parameter of type 'bigint'.
Verify / Checks: src/server/internal/handlers/relay.ts#L21
Cannot find module '../../../core/ExecutionError.js' or its corresponding type declarations.
Verify / Test Runtime (env: localnet, tag: latest)
Process completed with exit code 1.
Verify / Test Runtime (env: localnet, tag: https://rpc.moderato.tempo.xyz)
The strategy configuration was canceled because "verify.test-localnet.latest" failed
Verify / Test Runtime (env: localnet, tag: https://rpc.moderato.tempo.xyz)
Process completed with exit code 1.