Luke Parker
8297d0679d
Update substrate to one with a properly defined panic handler as of modern Rust
2025-08-12 01:27:28 -04:00
Luke Parker
d9f854b08a
Attempt to fix install of clang within runtime Dockerfile
2025-08-12 01:27:28 -04:00
Luke Parker
8aaf7f7dc6
Remove (presumably) unnecessary command to explicitly install python
2025-08-12 01:27:28 -04:00
Luke Parker
ce447558ac
Update Rust versions used in orchestration
2025-08-12 01:27:28 -04:00
Luke Parker
fc850da30e
Missing --allow-remove-essential flag
2025-08-12 01:27:28 -04:00
Luke Parker
d6f6cf1965
Attempt to force remove shim-signed to resolve 'unmet dependencies' issues with shim-signed
2025-08-12 01:27:28 -04:00
Luke Parker
4438b51881
Expand python packages explicitly installed
2025-08-12 01:27:28 -04:00
Luke Parker
6ae0d9fad7
Install cargo deny with Rust 1.85 and pin its version
2025-08-12 01:27:28 -04:00
Luke Parker
ad08b410a8
Pin cargo-machete to 0.8.0 to prevent other unexpected CI failures
2025-08-12 01:27:28 -04:00
Luke Parker
ec3cfd3ab7
Explicitly install python3 after removing various unnecessary packages
2025-08-12 01:27:28 -04:00
Luke Parker
01eb2daa0b
Updated dated version of actions/cache
2025-08-12 01:27:28 -04:00
Luke Parker
885000f970
Add update, upgrade, fix-missing call to Ubuntu build dependencies
...
Attempts to fix a CI failure for some misconfiguration...
2025-08-12 01:27:28 -04:00
Luke Parker
4be506414b
Install cargo machete with Rust 1.85
...
cargo machete now uses Rust's 2024 edition, and 1.85 was the first to ship it.
2025-08-12 01:27:28 -04:00
Luke Parker
1143d84e1d
Remove msbuild from packages to remove when the CI starts
...
Apparently, it's no longer installed by default.
2025-08-12 01:27:28 -04:00
Luke Parker
336922101f
Further harden decoy selection
...
It risked panicking if a non-monotonic distribution was returned. While the
provided RPC code won't return non-monotonic distributions, users are allowed
to define their own implementations and override the provided method. Said
implementations could omit this required check.
2025-08-12 01:27:28 -04:00
Luke Parker
ffa033d978
Clarify transcripting for Clsag::verify, Mlsag::verify, as with Clsag::sign
2025-08-12 01:27:28 -04:00
Luke Parker
23f986f57a
Tweak the Substrate runtime as required by the Rust version bump performed
2025-08-12 01:27:28 -04:00
Luke Parker
bb726b58af
Fix #654
2025-08-12 01:27:28 -04:00
Luke Parker
387615705c
Fix #643
2025-08-12 01:27:28 -04:00
Luke Parker
c7f825a192
Rename Bulletproof::calculate_bp_clawback to Bulletproof::calculate_clawback
2025-08-12 01:27:28 -04:00
Luke Parker
d363b1c173
Fix #630
2025-08-12 01:27:28 -04:00
Luke Parker
d5077ae966
Respond to 13.1.1.
...
Uses Zeroizing for username/password in monero-simple-request-rpc.
2025-08-12 01:27:28 -04:00
Luke Parker
188fcc3cb4
Remove potentially-failing unchecked arithmetic operations for ones which error
...
In response to 9.13.3.
Requires a bump to Rust 1.82 to take advantage of `Option::is_none_or`.
2025-08-12 01:27:28 -04:00
Luke Parker
cbab9486c6
Clarify messages in non-debug assertions
2025-08-12 01:27:28 -04:00
Luke Parker
a5f4c450c6
Response to usage of unwrap in non-test code
...
This commit replaces all usage of `unwrap` with `expect` within
`networks/monero`, clarifying why the panic risked is unreachable. This commit
also replaces some uses of `unwrap` with solutions which are guaranteed not to
fail.
Notably, compilation on 128-bit systems is prevented, ensuring
`u64::try_from(usize::MAX)` will never panic at runtime.
Slight breaking changes are additionally included as necessary to massage out
some avoidable panics.
2025-08-12 01:27:28 -04:00
Luke Parker
4f65a0b147
Remove Clone from ClsagMultisigMask{Sender, Receiver}
...
This had ill-defined properties on Clone, as a mask could be sent multiple times
(unintended) and multiple algorithms may receive the same mask from a singular
sender.
Requires removing the Clone bound within modular-frost and expanding the test
helpers accordingly.
This was not raised in the audit yet upon independent review.
2025-08-12 01:27:28 -04:00
Luke Parker
feb18d64a7
Respond to 2 3
...
We now use `FrostError::InternalError` instead of a panic to represent the mask
not being set.
2025-08-12 01:27:28 -04:00
Luke Parker
cb1e6535cb
Respond to 2 2
2025-08-12 01:27:28 -04:00
Luke Parker
6b8cf6653a
Respond to 1.1 A2 (also cited as 2 1)
...
`read_vec` was unbounded. It now accepts an optional bound. In some places, we
are able to define and provide a bound (Bulletproofs(+)' `L` and `R` vectors).
In others, we cannot (the amount of inputs within a transaction, which is not
subject to any rule in the current consensus other than the total transaction
size limit). Usage of `None` in those locations preserves the existing
behavior.
2025-08-12 01:27:28 -04:00
Luke Parker
b426bfcfe8
Respond to 1.1 A1
2025-08-12 01:27:28 -04:00
Luke Parker
21ce50ecf7
Revert "Forward docker stderr to stdout in case stderr is being dropped for some reason"
...
This was intended for the monero-audit branch.
2025-08-10 20:53:09 -04:00
Luke Parker
a4ceb2e756
Forward docker stderr to stdout in case stderr is being dropped for some reason
2025-08-10 20:50:12 -04:00
Luke Parker
eab5d9e64f
Remove Mastodon link from README
...
Closes #662 .
2025-07-12 03:29:21 -04:00
Luke Parker
e9c1235b76
Tweak how features are activated in the coins pallet tests
2024-10-30 17:15:39 -04:00
akildemir
dc1b8dfccd
add coins pallet tests ( #606 )
...
* add tests
* remove unused crate
* remove serai_abi
2024-10-30 16:05:56 -04:00
Luke Parker
d0201cf2e5
Remove potentially vartime (due to cache side-channel attacks) table access in dalek-ff-group and minimal-ed448
2024-10-27 08:51:19 -04:00
Luke Parker
f3d20e60b3
Remove --no-deps from docs build to fix linking to deps
2024-10-17 21:14:13 -04:00
Luke Parker
dafba81b40
Add wasm32-unknown-unknown target to docs build
2024-10-17 18:45:34 -04:00
Luke Parker
91f8ec53d9
Add build-dependencies into docs build
2024-10-17 18:29:47 -04:00
Luke Parker
fc9a4a08b8
Correct rust-docs component name
2024-10-17 18:12:35 -04:00
Luke Parker
45fadb21ac
Correct paths in pages.yml
2024-10-17 18:05:54 -04:00
Luke Parker
28619fbee1
CI fixes
...
Mainly corrects for https://github.com/alloy-rs/alloy/issues/1510 yet also
corrects a missing machete ignore.
2024-10-17 18:02:57 -04:00
Luke Parker
bbe014c3a7
Have CI build with doc_auto_cfg
2024-10-17 17:48:14 -04:00
Luke Parker
fb3fadb3d3
Publish Rust docs to GH pages
2024-10-17 17:18:58 -04:00
Luke Parker
f481d20773
Correct licensing for .github
2024-10-17 17:17:36 -04:00
Luke Parker
599b2dec8f
cargo update
...
Should fix the recent CI failures re: Ethereum as well.
2024-10-09 00:39:34 -04:00
akildemir
435f1d9ae1
add specific network/coin/balance types ( #619 )
...
* add specific network/coin/balance types
* misc fixes
* fix clippy
* misc fixes
* fix pr comments
* Make halting for external networks
* fix encode/decode
2024-10-06 22:16:11 -04:00
Luke Parker
d7ecab605e
Update docs gems
2024-09-25 10:37:29 -04:00
Jeffro
805fea52ec
Add link for SCALE encoding in doc
2024-09-24 14:17:28 -07:00
j-berman
48db06f901
xmr: fix scan long encrypted amount
2024-09-21 08:33:35 -07:00