Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app: 💸 a mock consensus spend is performed #3891

Merged
merged 4 commits into from
Feb 27, 2024

Commits on Feb 26, 2024

  1. app: ❗ note why invalid clue precision fails

    this makes a small (no-op) change to
    `fmd_precision_within_grace_period`.
    
    this will provide an event that can be used to identify why a clue did
    not satisfy the consensus rules. using tracing's pretty formatter:
    
    ```
      2024-02-26T21:26:49.825156Z ERROR penumbra_app::action_handler::transaction::stateful: invalid clue precision, clue_precision: 1, using_current_precision: false, using_previous_precision: false, within_grace_pe
    riod: true
        at crates/core/app/src/action_handler/transaction/stateful.rs:62
        in penumbra_app::action_handler::transaction::stateful::fmd_precision_within_grace_period with current_fmd.precision_bits: 0, previous_fmd.precision_bits: 0, previous_fmd.as_of_block_height: 1
        in penumbra_app::action_handler::transaction::check_stateful
        in penumbra_mock_consensus::abci::deliver_tx
        in penumbra_mock_consensus::block::execute with height: 1, time: 1708982809
    ```
    cratelyn committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    465cfb7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b1b1f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0269234 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. ci: tidy mock consensus test logic

    This commit moves some common functionality into the MockClient itself, in
    order to simplify the layout of the test logic.  Also, we add explicit
    invariant checks on the chain state.
    hdevalence committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    54c0b35 View commit details
    Browse the repository at this point in the history