Remove FieldElement::from_square

The new `FieldElement::from_u256` is sufficient to load an unreduced value. The
caller can perform the square themselves, without us explicitly supporting this
special case.

Updates the monero-oxide version used to one which no longer uses
`FieldElement::from_square` (as their use is why it was added).
This commit is contained in:
Luke Parker
2025-08-22 18:42:43 -04:00
parent 758d422595
commit da3095ed15
6 changed files with 43 additions and 31 deletions

View File

@@ -33,8 +33,8 @@ bitcoin-serai = { path = "../../networks/bitcoin" }
k256 = "0.13"
ethereum-serai = { path = "../../networks/ethereum" }
monero-simple-request-rpc = { git = "https://github.com/monero-oxide/monero-oxide", rev = "a74f41c2270707e340a9cb57fcd97a762d04975b" }
monero-wallet = { git = "https://github.com/monero-oxide/monero-oxide", rev = "a74f41c2270707e340a9cb57fcd97a762d04975b" }
monero-simple-request-rpc = { git = "https://github.com/monero-oxide/monero-oxide", rev = "32e6b5fe5ba9e1ea3e68da882550005122a11d22" }
monero-wallet = { git = "https://github.com/monero-oxide/monero-oxide", rev = "32e6b5fe5ba9e1ea3e68da882550005122a11d22" }
messages = { package = "serai-processor-messages", path = "../../processor/messages" }