Skip to content

Conversation

@joii2020
Copy link
Contributor

Based on community feedback, attempts to use ckb-hash in contracts have failed to compile due to missing usage instructions.
This update adds a brief guide, and developers can find more details on crates.io and docs.rs.

@joii2020 joii2020 requested a review from a team as a code owner October 21, 2025 07:37
@joii2020 joii2020 requested review from doitian and removed request for a team October 21, 2025 07:37
doitian
doitian previously approved these changes Oct 21, 2025
@doitian doitian enabled auto-merge October 21, 2025 09:06
zhangsoledad
zhangsoledad previously approved these changes Oct 21, 2025
eval-exec
eval-exec previously approved these changes Oct 23, 2025
@zhangsoledad
Copy link
Member

zhangsoledad commented Oct 23, 2025

failures:

---- util/hash/src/lib.rs - (line 9) stdout ----
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
 --> util/hash/src/lib.rs:10:25
  |
3 | default-features = false, features = ["ckb-contract"]
  |                         ^ expected one of `.`, `;`, `?`, `}`, or an operator

error: aborting due to 1 previous error

Couldn't compile the test.

failures:
    util/hash/src/lib.rs - (line 9)

@joii2020

The newly added documentation comments were run as documentation tests(https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html) and failed, so they need to be modified a bit.

auto-merge was automatically disabled October 23, 2025 08:44

Head branch was pushed to by a user without write access

@joii2020 joii2020 dismissed stale reviews from eval-exec, zhangsoledad, and doitian via 46293c2 October 23, 2025 08:44
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.

4 participants