You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #143: refactors to prepare for the new rust-simplicity version
760c51c move ProgNode into compile.rs as a private type (Andrew Poelstra)
142e63c move builtins from crate root to private module in compile (Andrew Poelstra)
cbf7ce6 rename src/compile.rs to src/compile/mod.rs (Andrew Poelstra)
7f1d12a move type checking from lib.rs into compile.rs (Andrew Poelstra)
5fce3d4 replace Construct with Commit in CompiledProgram (Andrew Poelstra)
6d864bb named: add finalize_types function (Andrew Poelstra)
7150f0e named: replace ad-hoc ConstructNode/CommitNode/WitnessNode with generic ones (Andrew Poelstra)
60f65b4 remove Default impl from CompiledProgram (Andrew Poelstra)
Pull request description:
Since BlockstreamResearch/rust-simplicity#305 we are not allowed to have type inference contexts (and therefore `ConstructNode`s) that escape the lexical scope that defines them.
We currently use `ConstructNode` inside `ProgramNode`. This PR changes this to `CommitNode`, which is more correct, as well as being necessary to avoid exposing bad `GhostCell` ergonomics to users of this library.
ACKs for top commit:
delta1:
ACK 760c51c
Tree-SHA512: 15d99c72c262ec88e873fb4e3cc6025c1ecf4ec848b22f4b45fb8e5f40c98d5aea3421f1fbd0f3d68f83fc04797495e1665d71d4d1b5b11b4b94c5c088df451b
0 commit comments