Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tempoxyz/tempo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.0
Choose a base ref
...
head repository: tempoxyz/tempo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.5.0
Choose a head ref
  • 19 commits
  • 69 files changed
  • 12 contributors

Commits on Nov 14, 2025

  1. feat: payload builder defaults (#938)

    Default payload builder interval is `1s` which effectively means that
    currently we are never attempting to build a better payload
    
    This changes default to `300ms`
    
    This is particularly useful for subblocks as lower interval means we are
    able to collect more of them.
    klkvr authored Nov 14, 2025
    Configuration menu
    Copy the full SHA
    8ab3810 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2025

  1. fix: bump system tx gas limit to 250M (#945)

    hotfix alternative to #940
    mattsse authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    ed48eeb View commit details
    Browse the repository at this point in the history
  2. fix!(stablecoin-exchange): align MIN/MAX_PRICE with MIN/MAX_TICK (Mod…

    …erato+) (#944)
    
    Closes #931
    
    Fixes MIN_PRICE and MAX_PRICE to align with MIN_TICK and MAX_TICK when
    converted between price and tick representations.
    
    ---------
    
    Co-authored-by: 0xKitsune <0xKitsune@protonmail.com>
    fgimenez and 0xKitsune authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    0a66fde View commit details
    Browse the repository at this point in the history
  3. fix!(stablecoin-exchange): round up quote amounts (Moderato+) (#942)

    Closes #929
    
    Fixes a bug where `calculate_quote_amount()` used floor division
    (rounding down), which favored users over the exchange. Post-Moderato
    hardfork, the function now uses ceiling division (rounds up).
    
    ---------
    
    Co-authored-by: 0xKitsune <0xKitsune@protonmail.com>
    fgimenez and 0xKitsune authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    d046f95 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2025

  1. fix!(orderbook): add price bounds validation to price_to_tick() (#939)

    Closes #927 
    
    Add missing price bounds validation to price_to_tick() to match Solidity
    spec
    
    ---------
    
    Co-authored-by: 0xKitsune <0xKitsune@protonmail.com>
    Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com>
    3 people authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    cbc16a5 View commit details
    Browse the repository at this point in the history
  2. test(bench): Include DEX orders and swaps in max_tps (#770)

    Closes #614
    
    Adds transactions to setup the DEX.
    
    Includes DEX `place` and `spawn_exact_amount_in` transactions along with
    TIP20 transfers in the `generate_transactions` function randomly
    distributed with equal weights.
    
    ---------
    
    Co-authored-by: Zygimantas <5236121+Zygimantass@users.noreply.github.com>
    Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
    3 people authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    0d6e6f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2fd7cb4 View commit details
    Browse the repository at this point in the history
  4. fix(deny): ignore RUSTSEC-2025-0119 for unmaintained number_prefix (#954

    )
    
    fixes errors like this one in
    https://github.com/tempoxyz/tempo/actions/runs/19462129274/job/55688586205?pr=948:
    ```
    cargo deny --all-features check all
      shell: /usr/bin/bash -e {0}
      env:
        CARGO_TERM_COLOR: always
        CARGO_HOME: /home/runner/.cargo
        CARGO_INCREMENTAL: 0
    error[unmaintained]: number_prefix crate is unmaintained
        ┌─ /home/runner/work/tempo/tempo/Cargo.lock:487:1
        │
    487 │ number_prefix 0.4.0 registry+https://github.com/rust-lang/crates.io-index
        │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ unmaintained advisory detected
        │
        ├ ID: RUSTSEC-2025-0119
        ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2025-0119
        ├ The `number_prefix` crate is no longer actively maintained.  If you rely on this crate, consider switching to a recommended alternative.
          
          ## Recommended alternatives
          
          - [`unit-prefix`](https://crates.io/crates/unit-prefix)
        ├ Announcement: ogham/rust-number-prefix#8
        ├ Solution: No safe upgrade is available!
        ├ number_prefix v0.4.0
          └── indicatif v0.17.11
              └── simple-tqdm v0.2.0
                  ├── tempo-bench v0.4.0
                  └── tempo-xtask v0.4.0
    ```
    fgimenez authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    bd63914 View commit details
    Browse the repository at this point in the history
  5. fix(consensus): certificate backfill (#956)

    Fixes issue we were seeing on restart where nodes refused to return
    certificates: they claimed they did not have them even though logs
    showed they did. This is related to commonware agents not populating
    their cache with the certs on restart.
    
    Bumps commonware to
    https://github.com/commonwarexyz/monorepo/tree/19f19d32760daf1d497295726ec92a1e6b84959f.
    
    This includes commonwarexyz/monorepo#2192, which
    addresses our issue.
    
    Closes #946 #947
    
    Co-authored-by: zhygis <5236121+Zygimantass@users.noreply.github.com>
    SuperFluffy and Zygimantass authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    fc3ea99 View commit details
    Browse the repository at this point in the history
  6. fix: add delegateToDefaultV2 to prevent signature forgery (#948)

    Closes #932
    
    Add `delegateToDefaultV2` to fix ECDSA signature forgery vulnerability.
    
    The original `delegateToDefault` accepted an unconstrained hash
    parameter, allowing attackers to forge signatures for arbitrary
    addresses. This PR adds `delegateToDefaultV2` which:
      - Accepts a nonce instead of hash
      - Computes hash internally using domain separation
    - Includes nonce, delegate address, chain ID, and contract address in
    hash
    
    The vulnerable v1 function is preserved for backward compatibility.
    fgimenez authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    20c0e6a View commit details
    Browse the repository at this point in the history
  7. fix(reth): persistence (#957)

    bumps reth to
    paradigmxyz/reth@2a16222
    which includes the [persistence
    fix](paradigmxyz/reth#19803)
    
    Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
    SuperFluffy and joshieDo authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    c8148f4 View commit details
    Browse the repository at this point in the history
  8. fix(precompiles): disable scheduled TIP20 rewards (#953)

    Closes #935 
    
    This PR disables TIP20 scheduled reward and removes the
    `TIP20RewardRegistry` system transaction. By eliminating scheduled
    reward streams, we remove the DOS vector described in #935.
    
    With scheduled rewards disabled, the registry system transaction is no
    longer needed and is removed post `Moderato` hardfork. TIP20 rewards
    where `duration=0` continue to function as normal. We will reintroduce
    scheduled rewards in a future hardfork with a design that avoids usage
    of system txs.
    
    ---------
    
    Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
    Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
    3 people authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    c2c0283 View commit details
    Browse the repository at this point in the history
  9. feat(precompiles): setup transient storage support (#955)

    ## Motivation
    
    integrate transient storage (TLOAD/TSTORE opcodes) into the `trait
    PrecompileStorageProvider` and the types that implement it
    (`EvmPrecompileStorageProvider` and `HashMapStorageProvider`)
    0xrusowsky authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    1a1d186 View commit details
    Browse the repository at this point in the history
  10. chore: bump commonware dep (#964)

    Includes commonwarexyz/monorepo#2263, which
    should fix errors in e2e test `tempo-e2e
    tests::restart::validator_catches_up_to_network_during_epoch` like
    https://github.com/tempoxyz/tempo/actions/runs/19476863408/job/55741862029?pr=941
    fgimenez authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    d88913b View commit details
    Browse the repository at this point in the history
  11. feat!(precompiles): return ABI-encoded UnknownFunctionSelector error …

    …(Moderato+) (#941)
    
    Improves error messages for unknown function selectors by returning
    ABI-encoded error data with the specific selector that was called, gated
    by the Moderato hardfork.
    fgimenez authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    cf1d487 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2025

  1. fix: ensure executor task is aborted with application (#967)

    the executor task is spawned into the void and doesn't get terminated
    when the `engine.start` or the application task terminates because the
    executor has a full channel that never closes
    
    
    https://github.com/tempoxyz/tempo/blob/d567097a1e4152eab949085e732eb0c53f38b050/crates/commonware-node/src/consensus/application/executor.rs#L149-L158
    
    this is fine because it is intended to run for the entire program but
    makes it difficult to do shutdown+restart tests
    mattsse authored Nov 19, 2025
    Configuration menu
    Copy the full SHA
    42c4f63 View commit details
    Browse the repository at this point in the history
  2. refactor: pull pagination types into tempo-alloy (#965)

    Pulls pagination related types into `tempo-alloy` (`PaginatedParams<T>`,
    `FilterRange`, sorting) into `tempo-alloy` so we can reuse these types
    in the provider extensions.
    
    There is no functional change.
    
    This also includes an empty file for the provider extensions since I am
    basing my work off of this locally (and it avoids some annoying merge
    conflicts).
    
    Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
    onbjerg and mattsse authored Nov 19, 2025
    Configuration menu
    Copy the full SHA
    4eaf914 View commit details
    Browse the repository at this point in the history
  3. chore: re-use EthBeaconConsensus::validate_header (#961)

    With configurable `max_extra_data_size` we can now simplify this
    klkvr authored Nov 19, 2025
    Configuration menu
    Copy the full SHA
    457fa7a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9140b80 View commit details
    Browse the repository at this point in the history
Loading