-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QoL #85
QoL #85
Conversation
No more Value::from(UIntValue::from(n)) business
dc60cee fails to build
but code-review-ack 8d93f95. |
This enables hex literals for all [u8; N] Simfony types. Adapt the examples to write digital signatures in this way, which is more comfortable than writing Rust-type arrays of hex bytes.
This error is like ExpressionTypeMismatch, but it doesn't know the type of the observed expression. We use ExpressionTypeMismatch as often as we can, and we use ExpressionUnexpectedType in cases where it is hard to determine the observed type.
We no longer need it. An empty JSON file is kind of useless.
It turns out that the parser for ResolvedType that I wrote accepts builtin aliases. This makes witness json files more readable.
8d93f95
to
c5134d1
Compare
I messed up during rebasing when I changed the order of commits. I wonder if we can include this check in CI... |
We could try this, but it's a bit of a PITA to get the list of commits in CI, and it'd take a long time to test every single commit (especially on 9-commit PRs like this). |
Alternately you could always run |
@apoelstra Is the rest of the PR ok? |
@uncomputable yes |
I merged the PR without ACK 😛 |
Some quality-of-life improvements. In particular, hex strings for arbitrary byte arrays, more constructors, and builtin aliases in witness json files.