Skip to content

ci: fix yanked secp and lints - #41

Merged
zoedberg merged 2 commits into
RGB-Tools:rgbfrom
orbitalturtle:ci/fix-yanked-secp-and-lints
Oct 21, 2026
Merged

zoedberg merged 2 commits into
RGB-Tools:rgbfrom
orbitalturtle:ci/fix-yanked-secp-and-lints

Conversation

@orbitalturtle

Copy link
Copy Markdown
Contributor

Fixes some CI errors encountered in my latest PR. The commit messages provide more information.

rgb-lib 0.3.0-beta.7 requires secp256k1 ^0.32.0-beta.2, which has been
yanked from crates.io. This repo doesn't commit Cargo.lock, so every CI
run resolves from scratch and fails with 'version 0.32.0-beta.2 is
yanked'. Patch the crate to the commit of its secp256k1-0.32.0-beta.2
tag; git sources aren't subject to yanking, and other secp256k1 versions
in the graph still come from crates.io.

Co-Authored-By: Claude
Since the Rust toolchain specified in .github/workflows/build.yml is
floating and points to the latest "stable" Rust version, the lint now
lints on Rust 1.99.0, which means new lint errors that we need to fix.

Replace deprecated max_value() and core::uN::MAX with MAX, use vec![]
and unwrap_or where clippy asks, add a missing semicolon, and allow the
deprecated fetch_update since its replacement is far newer than our MSRV.

Co-Authored-By: Claude

@zoedberg zoedberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

@zoedberg
zoedberg merged commit 8d14869 into RGB-Tools:rgb Oct 21, 2026
6 checks passed
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.

2 participants