Skip to content

fix settings row count errors - #2382

Open
UfukNode wants to merge 1 commit into
0xMiden:nextfrom
UfukNode:ufuk/fix-settings-row-count-errors
Open

fix settings row count errors#2382
UfukNode wants to merge 1 commit into
0xMiden:nextfrom
UfukNode:ufuk/fix-settings-row-count-errors

Conversation

@UfukNode

@UfukNode UfukNode commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Part of #2350.

Rebased this on the current next branch and moved the row-count check into the new settings.rs module. Since remove_setting now returns false for a missing key, this keeps the fix scoped to setting writes.

Checked locally:

  • RUSTC=$(rustup which --toolchain 1.96 rustc) rustup run 1.96 cargo test -p miden-client-sqlite-store set_setting_reports_unexpected_row_count
  • RUSTFMT=$(rustup which --toolchain nightly rustfmt); "$RUSTFMT" --check crates/sqlite-store/src/settings.rs crates/sqlite-store/src/lib.rs crates/rust-client/src/store/errors.rs
  • TOOLCHAIN_BIN=$(dirname "$(rustup which --toolchain 1.96 rustc)"); PATH="$TOOLCHAIN_BIN:$PATH" RUSTC="$TOOLCHAIN_BIN/rustc" rustup run 1.96 cargo clippy -p miden-client-sqlite-store --all-targets -- -D warnings
  • NO_CHANGELOG_LABEL=false BASE_REF=next ./scripts/check-changelog.sh

@UfukNode
UfukNode force-pushed the ufuk/fix-settings-row-count-errors branch 2 times, most recently from f3a9637 to 11b9356 Compare August 13, 2026 21:16
@UfukNode
UfukNode force-pushed the ufuk/fix-settings-row-count-errors branch from 11b9356 to 5aa70ed Compare August 26, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant