Nonceworks

Running a stack

How each stack is checked and upgraded, and the upstream issues tracked for it.

Checks each stack gets

These run from outside the stack. They are built and tested, and will be running before the first stack goes live; no stack is live yet.

  • Health

    The containers, Redis, the relayer's health and readiness endpoints and its /api/v1/relayers are checked from outside the stack. Monitor 1.6.0 has no health endpoint, so it is judged by the last block it processed: one that stops advancing while the chain moves on raises an alert, and so does a relayer nonce counter that drifts from the chain in either direction.

  • Logs

    Three log lines raise an alert: bumped gas price does not meet minimum requirement (#808), nonce consumed externally, marking as Failed (#817), and max attempts reached, failing job job_type=Transaction Submission (#843). Each has a note that explains it and what reduces the exposure.

  • Config changes

    Before a change to your Monitor files goes live, the control plane runs the Monitor's own --check on it and refuses the change if the check fails (judged by its output, since 1.6.0 exits 0 even on failure, monitor #501); then the Monitor alone restarts, since it has no hot reload. A change to the relayer goes through the same validation as the first upload and is applied only when no transaction is in flight: the relayer keeps its state in Redis and loads a changed config.json with one reset start, which re-reads the nonce from the chain and replaces policies set through the API with the ones in config.json. A pause set through the API is lifted for that start and set again afterwards. The same rule covers a new Google Cloud or Turnkey credential and the webhook signing key. A relayer API key rotation restarts only the relayer.

Releases

A new tag is pulled into a staging copy of your configuration first. That is where stricter secret validation, network field changes, Redis schema moves and rolling-deploy hazards show up. The old replica stops before the new one starts, because on 1.8.0 overlapping replicas share Redis worker ids; #892 fixes that in 1.9.0. Each upgrade gets a written note; the 1.4 to 1.8 notes are an example.

Upstream watch

Upstream issues that matter to anyone running these releases, and what reduces the exposure until a fix ships. Last checked 2026-11-10.

ItemStateExposureUntil the fix ships
relayer #843 nonce too high jamopen; reproduced on 1.8.0 and 1.9.0; maintainers' PR #862, for Arbitrum-tagged networks, approved, not mergedstrict-nonce chains, single RPCTwo rpc_urls per relayer; alert on abandoned submit jobs and on sent records with null sent_at.
relayer #817 mined tx marked Failedopen; reproduced on 1.8.0 and 1.9.0; #899 does not cover itload-balanced RPC poolsOne consistent endpoint per relayer; alert on the reconcile line; re-check the hash after a Failed.
relayer #808 capped tx never resentopen; reproduced on 1.8.0 and 1.9.0any relayer with gas_price_capCap with headroom, or no cap; alert on the skip line.
relayer #912 sign endpoints outside the policiesopen since 2026-10-07, no fix PRrelayer addresses holding tokens, approvals or signature-based authorityGas only on relayer addresses; on Turnkey, deny raw-payload signing when the sign endpoints are not used.
relayer #913 RPC URLs logged unmaskedclosed 2026-10-13 by PR #916, in 1.9.0; follow-up PR #918 open, not mergedon 1.8.0, RPC provider keys inside the URLs end up in the relayer's logs at warn level; on 1.9.0, provider error messages still carry the URL until #918Per-team RPC keys with origin or IP limits; logs are not shared outside the stack; rotate RPC keys after an incident.
relayer #914 Google Cloud example grants the wrong roleopen since 2026-10-07; docs PR #922 open, not mergeda service account set up from the example cannot read the public keyGrant roles/cloudkms.signerVerifier on the key, as on the how it works page.
relayer #892 unique Redis worker idsmerged 2026-09-30, in 1.9.0rolling deploys with overlapping replicas on 1.8.0 and earlierFixed in 1.9.0. On 1.8.0, stop the old replica before starting the new one.
relayer #757 Google Cloud workload identityopen, no fix PRGoogle Cloud KMS signersA service-account key scoped to one key, rotated on request.
relayer PR #899 record hash before broadcastopen, not merged; not in 1.9.0lost resubmission hashesStaged against your config the day it lands in a release.
monitor #501 --check exits 0 on failureclosed 2026-10-28 by PR #518, merged on main, not in a release yetscripts and CI that trust the exit codeRead the output for Configuration validation completed successfully!, as the control plane does.
monitor #498 Failure conditions never match on a busy chainclosed 2026-10-12 by PR #499, in 1.7.0any status condition on 1.6.0Fixed in 1.7.0. On 1.6.0, a gas_used clause in the expression forces the receipt.

Leaving

Tell us on Telegram or by email. The how it works page lists what you take with you.

Pinned versions

Monitor 1.6.0
digest unavailable
Relayer 1.8.0
sha256:a0d8751b065bb269977a91292df8759bc48ffaaecd0a162bda1f96c32c899e77
Redis bookworm
sha256:164c759a0c342ee69d08fc99219382b0fd682181465c0df2e0e6911f4c85d73c

Alerts

Monitor block lag
Relayer nonce drift
The three log lines
A signing error in the relayer log (AWS: AWS KMS sign failed; Google Cloud and Turnkey: Signer error), and transactions pending longer than expected. The relayer keeps accepting requests while KMS refuses, so its API alone does not show it.