Skip to content
Closed
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
c569f44
Add QM31Felt
FrancoGiachetta Aug 11, 2025
529979c
fix tests and improve doc comments
FrancoGiachetta Aug 12, 2025
b1551ba
format
FrancoGiachetta Aug 12, 2025
31bd701
add coords checking when converting from a felt
FrancoGiachetta Aug 12, 2025
725d4d0
fix clippy
FrancoGiachetta Aug 12, 2025
3f219c1
Merge branch 'main' into add-qm31
FrancoGiachetta Aug 12, 2025
4f61521
add proper spacing
FrancoGiachetta Aug 12, 2025
2ce7637
Merge branch 'add-qm31' of github.com:lambdaclass/types-rs into add-qm31
FrancoGiachetta Aug 12, 2025
97e1a99
make read_coordinates pub
FrancoGiachetta Aug 12, 2025
a1b9664
fix clippy
FrancoGiachetta Aug 12, 2025
1435e7d
api restructure
FrancoGiachetta Aug 13, 2025
f0fea9f
Merge branch 'main' into add-qm31
FrancoGiachetta Aug 13, 2025
176c1de
fix doc comment
FrancoGiachetta Aug 13, 2025
21ec03e
change qm31 representation, remove outdated comments
FrancoGiachetta Aug 14, 2025
ddc19e7
return an error instead of panicking when trying to divide by zero
FrancoGiachetta Aug 14, 2025
a7691d7
add test felt -> qm31 -> felt
FrancoGiachetta Aug 14, 2025
bb721e5
fix doc comment
FrancoGiachetta Aug 14, 2025
0dc0d27
reduce felt with converting into qm31
FrancoGiachetta Aug 18, 2025
5473a0f
change From<QM31Felt> implementation + add test
FrancoGiachetta Aug 18, 2025
7a64646
update comments
FrancoGiachetta Aug 18, 2025
f0751f4
fix typo
FrancoGiachetta Aug 18, 2025
c63dfab
change TryFrom<Felt> implementation to read the packed coordinates in…
FrancoGiachetta Aug 18, 2025
0a7e105
rename to QM31, make pack_to_felt private, don't add a new line on error
FrancoGiachetta Aug 19, 2025
5bca78c
add doc to QM31 and better method names
FrancoGiachetta Aug 19, 2025
c29db22
fmt
FrancoGiachetta Aug 19, 2025
9de3ac9
lowercase error massages + improve documentation
FrancoGiachetta Aug 19, 2025
8674230
derive Copy and Clone for QM31Error, add more docs
FrancoGiachetta Aug 19, 2025
daab73d
add unpack_from_felt to reduce duplication
FrancoGiachetta Aug 19, 2025
99ad0e0
move qm31 implementation to its own module
FrancoGiachetta Aug 20, 2025
3ec9501
correct some docs
FrancoGiachetta Aug 20, 2025
9c822f2
remove From and TryFrom implementations
FrancoGiachetta Aug 20, 2025
a65f366
add comment explaining what a coordinate refers to
FrancoGiachetta Aug 20, 2025
d8bbdb5
add docs on the algorithms used and fix typo
FrancoGiachetta Aug 20, 2025
d0c0578
Merge branch 'main' into add-qm31
FrancoGiachetta Aug 20, 2025
dde739b
add docs on multiplication and inversion algorithms
FrancoGiachetta Aug 20, 2025
451d863
Merge branch 'add-qm31' of github.com:lambdaclass/types-rs into add-qm31
FrancoGiachetta Aug 20, 2025
06ed0d5
add docs on multiplication and inversion algorithms
FrancoGiachetta Aug 20, 2025
16893d8
add more docs for pack_into_felt method
FrancoGiachetta Aug 21, 2025
020c0dc
change QM31 representation to u32 coordinates
FrancoGiachetta Aug 21, 2025
10b7cd3
add some more docs
FrancoGiachetta Aug 21, 2025
f287335
fix typo
FrancoGiachetta Aug 21, 2025
fd1a9af
format
FrancoGiachetta Aug 21, 2025
edd3fa5
change method inner to to_coordinates
FrancoGiachetta Aug 21, 2025
8f0d2fc
fix typo and clippy
FrancoGiachetta Aug 21, 2025
5c9512e
add general documentation
FrancoGiachetta Aug 22, 2025
b65e34b
fix typo
FrancoGiachetta Aug 22, 2025
7f3d6ef
fix typos
FrancoGiachetta Aug 22, 2025
6bad58f
improve documentation and format
FrancoGiachetta Aug 22, 2025
035a87c
improve documentation
FrancoGiachetta Aug 22, 2025
4ca76ca
Merge branch 'main' into add-qm31
FrancoGiachetta Aug 25, 2025
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
1 change: 1 addition & 0 deletions crates/starknet-types-core/src/felt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ mod parity_scale_codec;
#[cfg(feature = "prime-bigint")]
mod prime_bigint;
mod primitive_conversions;
mod qm31;
#[cfg(feature = "serde")]
mod serde;
#[cfg(feature = "zeroize")]
Expand Down
Loading