Repository navigation
v1.5.1
Delegates the EIP-3009 payload check to rail0-go v1.7.0, fixes two misleading messages, and pins the SDK version in release builds.
rail0 update
# or: curl -fsSL https://raw.githubusercontent.com/commercelayer/rail0-cli/main/install.sh | RAIL0_VERSION=1.5.1 shChanged
- The signing-payload check (sender, chain, token,
to= the payment's RAIL0 contract, exact value) now delegates to rail0-go v1.7.0SignSigningPayloadFor. It fails closed: an incomplete expectation, or a created payment withoutrail0_contract, is refused instead of skipping the check (#176). - Refund scales the expected amount by the payment's own
decimals(#176). - The daily update prompt is also skipped when the stored output setting (or
RAIL0_OUTPUT) isjsonorquiet(#176). - Release builds compile against the rail0-go tag in
go.mod(the release fails if that tag does not exist) instead of rail0-gomain(#176). --payment-filereplaces every request flag and stored default; the file is checked locally formode(#176).- Help:
webhooks createdocuments the 20-per-account limit (webhook_limit_reached),payments redrivedocuments 503queue_unavailable(#176).
Fixed
payments signon an unsigned payment whose signing payload the gateway could not build now says to retry, instead of claiming there is nothing to sign (#176).- Hints:
not_releasable(nothing uncaptured left),not_voidable(also allowed whenexpiredand nothing captured),siwe_chain_mismatch(chain id 1 or any active chain); new hints forwebhook_limit_reachedandqueue_unavailable; the unreachabletransaction_not_overwritablehint removed (#176). - Ctrl-C / ESC during
rail0 initexits 130, as at every other prompt (#176).
Changelog
- ea2d25c: Merge pull request #176 from commercelayer/fix/review-2026-10-19 (@pviti)
- 4ddd95e: ci(release): build releases against the rail0-go tag go.mod requires (@pviti)
- 7714094: fix(create): require "mode" in a --payment-file and say -C does not apply (@pviti)
- cb63d0c: fix(errors): make the release, void, SIWE and webhook hints say what the gateway means (@pviti)
- a38783c: fix(init): exit 130 when a setup prompt is cancelled (@pviti)
- 1676a1e: fix(update): keep the update prompt out of a stored json/quiet output (@pviti)
- a95c98f: refactor(sign): delegate the EIP-3009 payload check to rail0-go v1.7.0 (@pviti)