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

Refactor reveal_to_target and next_store_index #1261

Merged

Commits on Jan 9, 2024

  1. ref(chain): Refactor next_store_index

    Rename `v` to `index` for better clarity, and add a comment explaining
    the `range`
    danielabrozzoni committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    21d8875 View commit details
    Browse the repository at this point in the history
  2. ref(chain): Refactor reveal_to_target

    Simplify the `reveal_to_target` algorithm by exiting prematurely if
    the `target_index` is already revealed.
    Since the `reveal_to_index` variable was different from
    `Some(target_index)` only if the target was already revealed, we can
    getrid of the variable altogether.
    danielabrozzoni committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    887e112 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    761189a View commit details
    Browse the repository at this point in the history