Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# 0.1.0 - 2025-04-10
# 0.2.0 - 2025-07-29

* Renamed from [Simfony](https://crates.io/crates/simfony)
* Initial release. Not recommended for production use.
22 changes: 8 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "simplicityhl"
version = "0.1.0"
version = "0.2.0"
authors = ["sanket1729 <sanket1729@gmail.com>"]
license = "CC0-1.0"
homepage = "https://github.com/BlockstreamResearch/SimplicityHL"
Expand All @@ -26,7 +26,7 @@ pest = "2.1.3"
pest_derive = "2.7.1"
serde = { version = "1.0.188", features = ["derive"], optional = true }
serde_json = { version = "1.0.105", optional = true }
simplicity-lang = { version = "0.4.0" }
simplicity-lang = { version = "0.5.0" }
miniscript = "12.3.1"
either = "1.12.0"
itertools = "0.13.0"
Expand Down
2 changes: 2 additions & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
msrv = "1.78.0"
# We have an error type, `RichError`, of size 144. This is pushing it but probably fine.
large-error-threshold = 145

doc-valid-idents = [ "SimplicityHL" ]
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ mod tests {
impl TestCase<SatisfiedProgram> {
#[allow(dead_code)]
pub fn print_encoding(self) -> Self {
let (program_bytes, witness_bytes) = self.program.redeem().encode_to_vec();
let (program_bytes, witness_bytes) = self.program.redeem().to_vec_with_witness();
println!(
"Program:\n{}",
Base64Display::new(&program_bytes, &STANDARD)
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ fn run() -> Result<(), String> {

if let Some(witness) = witness_opt {
let satisfied = compiled.satisfy(witness)?;
let (program_bytes, witness_bytes) = satisfied.redeem().encode_to_vec();
let (program_bytes, witness_bytes) = satisfied.redeem().to_vec_with_witness();
println!(
"Program:\n{}",
Base64Display::new(&program_bytes, &STANDARD)
Expand All @@ -89,7 +89,7 @@ fn run() -> Result<(), String> {
Base64Display::new(&witness_bytes, &STANDARD)
);
} else {
let program_bytes = compiled.commit().encode_to_vec();
let program_bytes = compiled.commit().to_vec_without_witness();
println!(
"Program:\n{}",
Base64Display::new(&program_bytes, &STANDARD)
Expand Down
Loading