sxt-proof-of-sql
sxt-proof-of-sql copied to clipboard
Make Scalar conversions explicit
Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md. In particular
!
is used if and only if at least one breaking change has been introduced. - [ ] I have run the ci check script with
source scripts/run_ci_checks.sh
.
Rationale for this change
- this is step 1 of 3 for #228, each step will ideally be a standalone PR
- /claim #228
What changes are included in this PR?
Copied from description of #228
- Remove
Into<[u64; 4]>
,From<[u64; 4]>
, andRefInto<[u64; 4]>
bounds. - Replace these with the trait methods
fn from_limbs(val: [u64; 4]) -> Self
andfn to_limbs(&self) -> [u64; 4]
Are these changes tested?
Not yet, thats why its in draft