Skip to content

Conversation

@KyrylR
Copy link
Contributor

@KyrylR KyrylR commented Jan 6, 2026

So we can have a fix in SimplicityHL

@apoelstra
Copy link
Collaborator

I don't see why this is needed -- we already released simplicity-sys 0.6.1 with the fix.

@KyrylR
Copy link
Contributor Author

KyrylR commented Jan 7, 2026

For me to use the fix, for example in simplicity-contracts, I would have to have the following Cargo.toml:

[workspace.dependencies]
ring = "0.17.14"
sha2 = { version = "0.10.9", features = ["compress"] }

hex = "0.4.3"
tracing = { version = "0.1.41" }

simplicityhl = { version = "0.4.0" }
simplicityhl-core = { version = "0.3.2", features = ["encoding"] }

[patch.crates-io]
simplicity-sys = { git = "https://github.com/BlockstreamResearch/rust-simplicity", tag = "simplicity-sys-0.6.1" }

However, if we update and publish the new versions of rust-simplicity and simplicityhl, we will have the fix in the latest version, so people who do not know about the bug will not have to add the following line:

[patch.crates-io]
simplicity-sys = { git = "https://github.com/BlockstreamResearch/rust-simplicity", tag = "simplicity-sys-0.6.1" }

@KyrylR KyrylR force-pushed the bump-simplicity-lang-version branch from 9442d64 to bf1e2da Compare January 12, 2026 15:55
@KyrylR
Copy link
Contributor Author

KyrylR commented Jan 13, 2026

I believe we can bump the version after #337 is fixed

@KyrylR KyrylR closed this Jan 13, 2026
@apoelstra
Copy link
Collaborator

For me to use the fix, for example in simplicity-contracts, I would have to have the following Cargo.toml:

Why is cargo update -p simplicity-sys not sufficient?

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