We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b12090 commit bdfa0a0Copy full SHA for bdfa0a0
felt/src/lib_bigint_felt.rs
@@ -113,7 +113,7 @@ impl Felt252 {
113
value.into()
114
}
115
116
- // #[deprecated]
+ #[deprecated]
117
pub fn modpow(&self, exponent: &Felt252, modulus: &Felt252) -> Self {
118
Self {
119
value: self.value.modpow(&exponent.value, &modulus.value),
@@ -157,13 +157,12 @@ impl Felt252 {
157
158
159
#[cfg(any(feature = "std", feature = "alloc"))]
160
161
pub fn to_signed_bytes_le(&self) -> Vec<u8> {
162
// NOTE: this is unsigned
163
self.value.to_signed_bytes_le()
164
165
166
167
pub fn to_bytes_be(&self) -> Vec<u8> {
168
self.value.to_bytes_be()
169
0 commit comments