Skip to content

Commit 335c2db

Browse files
authored
Merge pull request #1541 from TSavo/chore/rust-self-contracts-via-lift
chore(rust-kit): eliminate the .invariant self-contract DSL — lift native instead
2 parents 05ea3d7 + e9b5c3f commit 335c2db

26 files changed

Lines changed: 68 additions & 2472 deletions

File tree

.provekit/self-contracts-attestations/rust.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"schemaVersion": "1",
33
"kind": "self-contracts-attestation",
44
"lang": "rust",
5-
"cid": "blake3-512:10003bf089dff8af8a81717ebdc8e78395a76aa3731d3b306f4497b7078b9683e025559967bca69075e9f9f0abc7f963888d87a7ed2f5999a785d05ad3ca5779",
6-
"contractSetCid": "blake3-512:3b41145bf3516b8dd901012a95ceca18f0198eef778ac024ad368a7b856f8f0832791032344ceb588fa65ce80cff942e1ec9c2e354d9b1e5dd6d59d81c524ee6",
5+
"cid": "blake3-512:38f142e3f3020a3b64796a3ab82a8be12b253ebe5806b697f082ebec649a2c817cc09ba47403718a106a69e05b974676b2b1a29718f433fc22f56ada78f30fb1",
6+
"contractSetCid": "blake3-512:e6c68587427f5cf4efb2690a8f12031c725de2d8eb117806d195b3664a5866dfad8e30fe5dbaa8762a86f9425211addc0be8d55de666506f5bfa6806c764566a",
77
"declaredAt": "2026-05-05T18:00:00Z",
88
"signer": "ed25519:IVL40Zt5HSRFMkLhXy6rbLfP+ntqXtMAl5YOBpiB2xI=",
9-
"signature": "ed25519:mhTCS8oqSrFe32Rn1rSswPtztc8d7Qgzt51EaVUaVhz5UUurHHT00QIxLwbqJIEqMNM8SDlGzlrWXVHZOcPRCg=="
10-
}
9+
"signature": "ed25519:e5lTJMZiyTjEHsgAF6Yc3eMvXeYxyZ6KqP0e/Rw8m/ti36CDgH4IH77oo4AlBq0Ovx2XwrtaXiATs5UKoJgTBg=="
10+
}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,14 +305,14 @@ build-swift:
305305
.PHONY: mint-rust
306306
mint-rust: build-rust
307307
@echo ">> minting rust self-contracts"
308-
@mint_out=$$($(PROVEKIT) mint --kit=rust --quiet); \
308+
@mint_out=$$($(PROVEKIT) mint --project implementations/rust --quiet); \
309309
cid=$$(echo "$$mint_out" | head -1); \
310310
cset=$$(echo "$$mint_out" | grep '^contractSetCid:' | sed 's/^contractSetCid: //'); \
311311
echo " cid: $$cid"; \
312312
echo " contractSetCid: $$cset"; \
313313
$(VERIFY_SELF_CONTRACTS) $(SELF_CONTRACTS_ATTEST_DIR)/rust.json "$$cset" || \
314314
(echo "FAIL: rust self-contracts attestation rejected; re-mint and commit:" && \
315-
echo " $(PROVEKIT) mint --kit=rust" && exit 1)
315+
echo " $(PROVEKIT) mint --project implementations/rust" && exit 1)
316316

317317
.PHONY: mint-go
318318
mint-go: build-rust build-go

implementations/rust/.provekit/lift/rust-self-contracts/manifest.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

implementations/rust/Cargo.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

implementations/rust/examples/scan_self.rs

Lines changed: 0 additions & 167 deletions
This file was deleted.

implementations/rust/provekit-canonicalizer/src/hash.invariant.rs

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)