Repository navigation
v0.10.0
release(codex): v0.10.0 — set meta.gasPrice on all 13 transaction sites
Every signed/submitted transaction in this package omitted meta.gasPrice,
so Pact's client default (1e-8) went on the wire instead of the live Yin
Engine floor — under-priced commands chainweb can reject.
Re-pin: @stoachain/stoa-core + @stoachain/kadena-stoic-legacy >=4.4.0,
@ouronet/ouronet-core >=4.6.0. CodexSigningStrategy.execute() (4.4.0) now
does ONE stoaGasMeta() clock read per call and injects gasPrice +
creationTime into every build(ctx) callback, alongside gasLimit.
All 13 sites now take both from that injected ctx and spread them into
.setMeta({...}) — uniformly, no site calls stoaGasMeta()/safeCreationTime()
itself (single-clock-read guarantee preserved).
This also fixes a latent request-key bug: build() runs twice (gas-measuring
simulation, then real). The old per-call safeCreationTime() yielded a
different creationTime between the two passes, changing the command hash.
The delegating zbom RotateGuard/RotatePaymentKey modals build no command of
their own — fixed upstream in ouronet-core; the re-pin alone corrects them
(verified, not re-fixed).
Adds tests/tx-gas-meta-surface.test.ts: locks the transaction-site inventory
and asserts every site passes gasPrice + creationTime from ctx, so a future
site cannot silently omit the gas contract.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com