After recent years of updates to rust-simplicity and SimplicityHL, imo, it is not feasible to get Simplicity descriptors with policies back to life from the get-go, so instead we can take an iterative approach
First pack of changes that I would propose:
- Replace Simplicity policy leaves with
sim{asm(CMR)} and do not accept sim{POLICY} syntax anymore (for the time being)
- Add
descriptor::SimplicityLeaf<Pk> (Pk here is for future iteration for programs like P2PK, multisigs (?))
- Re-export the
simplicity-lang crate
- Sanity check and lifting for Simplicity will fail with the error
After recent years of updates to rust-simplicity and SimplicityHL, imo, it is not feasible to get Simplicity descriptors with policies back to life from the get-go, so instead we can take an iterative approach
First pack of changes that I would propose:
sim{asm(CMR)}and do not acceptsim{POLICY}syntax anymore (for the time being)descriptor::SimplicityLeaf<Pk>(Pk here is for future iteration for programs like P2PK, multisigs (?))simplicity-langcrate