Skip to content

Tags: tempoxyz/tempo

Tags

v1.3.1

Toggle v1.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor(txpool): move ensure_intrinsic_gas_tempo_tx below trait impl (

…#2775)

Move `ensure_intrinsic_gas_tempo_tx` free function below the
`TransactionValidator` trait implementation block and above `mod tests`,
where it logically belongs.

No functional changes.

Prompted by: mattsse

Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(bench): share tx_id counter across batches to prevent duplicate t…

…x hashes (#2793)

## Summary
When generating transactions in batches with expiring nonces, the
`tx_id` counter was reset to 0 for each batch. This caused transactions
across batches to receive identical fee bumps, producing duplicate
transaction hashes that replay protection correctly rejects.

## Changes
Move `tx_id` into `GenerateTransactionsInput` and share it via
`Arc<AtomicUsize>` across all batches, ensuring the counter
monotonically increases globally and producing unique tx hashes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Alexey Shekhirin <shekhirin@shekhirin-tempo.tail388b2e.ts.net>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump version 1.2.0 (#2690)

Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com>

v1.1.4

Toggle v1.1.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: release 1.1.4 (#2673)

Preparing the release candidate and tag for version 1.1.4.

Co-authored-by: Amp <amp@ampcode.com>

v1.1.3

Toggle v1.1.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: v1.1.3 release (#2650)

v1.1.2

Toggle v1.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump version to v1.1.2 (#2607)

v1.1.1

Toggle v1.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(ci): disable release signing (#2602)

v0.0.0-test

Toggle v0.0.0-test's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Enable PR release workflow signing checks

Amp-Thread-ID: https://ampcode.com/threads/T-019c48f6-d483-7679-bbf0-4db1fa19db77
Co-authored-by: Amp <amp@ampcode.com>

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: v1.1.0 (#2429)

update to v1.1.0

Co-authored-by: Amp <amp@ampcode.com>

bisect-e5beee9d

Toggle bisect-e5beee9d's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(stablecoin_dex): cap amount_out_tick to prevent rounding underflo…

…w in quote_exact_out bid path (#2214)

Closes ZELLIC-27 

Prevents spurious reverts caused by rounding mismatch in quote_exact_out
bid branch.

In the bid path of `quote_exact_out`, `base_needed` is calculated with
`quote_to_base(..., RoundingDirection::Up)`, then `amount_out_tick` is
computed with `base_to_quote(..., RoundingDirection::Down)`. When `tick
> 0` (price > PRICE_SCALE) and `fill_amount == base_needed`, the
round-trip can yield `amount_out_tick = remaining_out + 1`, causing
`checked_sub` to underflow and revert.

- Cap `amount_out_tick` at `remaining_out` using `.min(remaining_out)`
- Changed `checked_sub` to `saturating_sub` as defense in depth