From d4440b6a4eb92fa4103bf0d090048f7684c1720e Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Mon, 9 Nov 2026 01:06:36 -0700 Subject: [PATCH] build: pin bookspec at 6e1b99d, the shares law Law 42 (the split's exact shares sum, and each part is near its exact share) is merged in bookspec, so the Lean package and the Rust checker move to the same rev. The two must name one spec version: the checker runs the bookspec the Lean proves. Co-Authored-By: DeepSeek V4.1 Flash --- Cargo.lock | 4 ++-- crates/ledger-core/Cargo.toml | 4 ++-- crates/ledger-package/Cargo.toml | 2 +- verify/lean/lake-manifest.json | 4 ++-- verify/lean/lakefile.toml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d3ea2ca8..ed5a3bfd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -788,7 +788,7 @@ dependencies = [ [[package]] name = "bookspec-checker" version = "0.1.0" -source = "git+https://git.swaits.com/swaits/bookspec?rev=00b7c541d784696961a760f0486e2fe7a5e7c003#00b7c541d784696961a760f0486e2fe7a5e7c003" +source = "git+https://git.swaits.com/swaits/bookspec?rev=6e1b99d5da3aa56c6476b6951aaa739ae0af8d97#6e1b99d5da3aa56c6476b6951aaa739ae0af8d97" dependencies = [ "chrono", "include_dir", @@ -801,7 +801,7 @@ dependencies = [ [[package]] name = "bookspec-runner" version = "0.1.0" -source = "git+https://git.swaits.com/swaits/bookspec?rev=00b7c541d784696961a760f0486e2fe7a5e7c003#00b7c541d784696961a760f0486e2fe7a5e7c003" +source = "git+https://git.swaits.com/swaits/bookspec?rev=6e1b99d5da3aa56c6476b6951aaa739ae0af8d97#6e1b99d5da3aa56c6476b6951aaa739ae0af8d97" dependencies = [ "bookspec-checker", "serde_json", diff --git a/crates/ledger-core/Cargo.toml b/crates/ledger-core/Cargo.toml index db8ab7d5..c13b2e4c 100644 --- a/crates/ledger-core/Cargo.toml +++ b/crates/ledger-core/Cargo.toml @@ -33,8 +33,8 @@ num-rational = "0.4" toml = "1" # The specification lives in its own repository (P13 step 6, D-34, D-65), # pinned to a commit. -bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "00b7c541d784696961a760f0486e2fe7a5e7c003" } -bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "00b7c541d784696961a760f0486e2fe7a5e7c003" } +bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "6e1b99d5da3aa56c6476b6951aaa739ae0af8d97" } +bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "6e1b99d5da3aa56c6476b6951aaa739ae0af8d97" } ledger-package = { path = "../ledger-package" } ledger-import = { path = "../ledger-import" } ledger-store = { path = "../ledger-store" } diff --git a/crates/ledger-package/Cargo.toml b/crates/ledger-package/Cargo.toml index ee770c16..222dd469 100644 --- a/crates/ledger-package/Cargo.toml +++ b/crates/ledger-package/Cargo.toml @@ -21,7 +21,7 @@ zip = "9.0.1" workspace = true [dev-dependencies] -bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "00b7c541d784696961a760f0486e2fe7a5e7c003" } +bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "6e1b99d5da3aa56c6476b6951aaa739ae0af8d97" } proptest = "1" tempfile = "3" toml = "1" diff --git a/verify/lean/lake-manifest.json b/verify/lean/lake-manifest.json index 8afdfa6d..34933d5b 100644 --- a/verify/lean/lake-manifest.json +++ b/verify/lean/lake-manifest.json @@ -5,10 +5,10 @@ "type": "git", "subDir": "lean", "scope": "", - "rev": "00b7c541d784696961a760f0486e2fe7a5e7c003", + "rev": "6e1b99d5da3aa56c6476b6951aaa739ae0af8d97", "name": "bookspec", "manifestFile": "lake-manifest.json", - "inputRev": "00b7c541d784696961a760f0486e2fe7a5e7c003", + "inputRev": "6e1b99d5da3aa56c6476b6951aaa739ae0af8d97", "inherited": false, "configFile": "lakefile.toml"}], "name": "wanderbooks", diff --git a/verify/lean/lakefile.toml b/verify/lean/lakefile.toml index 6ad0fa56..84073995 100644 --- a/verify/lean/lakefile.toml +++ b/verify/lean/lakefile.toml @@ -9,7 +9,7 @@ packagesDir = ".lake/packages" [[require]] name = "bookspec" git = "https://git.swaits.com/swaits/bookspec" -rev = "00b7c541d784696961a760f0486e2fe7a5e7c003" +rev = "6e1b99d5da3aa56c6476b6951aaa739ae0af8d97" subDir = "lean" [[lean_lib]]