Luke Parker
984a78e9e6
Use wget -4 for the same reason as the prior commit
2025-08-10 12:23:34 -04:00
Luke Parker
7a931d1b74
Replace busybox wget with wget on alpine to attempt to resolve DNS issues
...
See https://github.com/alpinelinux/docker-alpine/issues/155 .
2025-08-10 12:12:54 -04:00
Luke Parker
7287993afa
Add overflow-checks = true recommandation to monero-serai
2025-08-10 11:58:37 -04:00
Luke Parker
c598430a52
Fix tweaked Substrate connection code in serai-client tests
2025-08-10 11:56:39 -04:00
Luke Parker
fd96058b04
Use three separate commands within the Bitcoin Dockerfile to download the release
...
Attempts to debug which is failing, as right now, the command as a whole is within the CI.
2025-08-10 11:37:32 -04:00
Luke Parker
7a6b70600c
Bookworm -> Bullseye, except for the runtime
2025-08-10 11:34:09 -04:00
Luke Parker
09caf1b418
Attempt downgrading Docker from 27 to 26
2025-08-10 11:25:41 -04:00
Luke Parker
f9453b1ef4
Attempt downgrading docker from .28 to .27
2025-08-09 14:32:14 -04:00
Luke Parker
ed9c1a2d84
Tweak how subtrate-client tests waits to connect to the Monero node
2025-08-09 14:15:53 -04:00
Luke Parker
a6ffeabafc
Add dedicated error for when amounts aren't representable within a u64
...
Fixes the issue where _inputs_ could still overflow u64::MAX and cause a panic.
2025-08-09 14:06:27 -04:00
Luke Parker
64e7fa112b
Have docker install set host
2025-08-09 13:34:25 -04:00
Luke Parker
48a65285a1
Add uidmap dependency for rootless Docker
2025-08-09 12:49:56 -04:00
Luke Parker
f390426cae
if: runner.os == 'Linux', with single quotes
2025-08-09 12:38:58 -04:00
Luke Parker
5dcc500b44
Attempt using rootless Docker in CI via the setup-docker-action
...
Restores using ubuntu-latest.
Basically, at some point in the last year the existing Docker e2e tests started
failing. I'm unclear if this is an issue with the OS, the docker packages, or
what. This just tries to find a solution.
2025-08-09 12:30:37 -04:00
Luke Parker
8df56dca83
Normalize FROM AS casing in Dockerfiles
2025-08-09 12:20:58 -04:00
Luke Parker
6f7ab6df13
Downgrade tests requiring Docker from Ubuntu latest to Ubuntu 22.04
...
Attempts to resolve containers immediately exiting for some specific test runs.
2025-08-09 03:37:44 -04:00
Luke Parker
358284dd46
deny --hide-inclusion-graph
2025-08-09 03:37:07 -04:00
Luke Parker
463940bfde
Update which deb archive to use within the runtime Dockerfile
2025-08-09 02:13:33 -04:00
Luke Parker
8c7b000366
Update substrate to one with a properly defined panic handler as of modern Rust
2025-08-09 02:03:36 -04:00
Luke Parker
2516be38c4
Attempt to fix install of clang within runtime Dockerfile
2025-08-09 02:02:30 -04:00
Luke Parker
440ccf5594
Remove (presumably) unnecessary command to explicitly install python
2025-08-09 01:23:43 -04:00
Luke Parker
7fe2dd6076
Update Rust versions used in orchestration
2025-08-09 01:23:13 -04:00
Luke Parker
3aeab0f7c0
Missing --allow-remove-essential flag
2025-08-09 00:53:54 -04:00
Luke Parker
5ec7017db2
Attempt to force remove shim-signed to resolve 'unmet dependencies' issues with shim-signed
2025-08-09 00:52:11 -04:00
Luke Parker
c210fae2ef
Expand python packages explicitly installed
2025-08-09 00:47:26 -04:00
Luke Parker
77128fe14c
Install cargo deny with Rust 1.85 and pin its version
2025-08-09 00:46:25 -04:00
Luke Parker
1b99e47c27
Pin cargo-machete to 0.8.0 to prevent other unexpected CI failures
2025-08-09 00:43:41 -04:00
Luke Parker
482cce436d
Explicitly install python3 after removing various unnecessary packages
2025-08-09 00:43:34 -04:00
Luke Parker
43f95bf470
Updated dated version of actions/cache
2025-08-09 00:39:02 -04:00
Luke Parker
41ea55080a
Add update, upgrade, fix-missing call to Ubuntu build dependencies
...
Attempts to fix a CI failure for some misconfiguration...
2025-08-09 00:36:57 -04:00
Luke Parker
d98738fd8f
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-09 00:35:27 -04:00
Luke Parker
9e81dcb524
Remove msbuild from packages to remove when the CI starts
...
Apparently, it's no longer installed by default.
2025-08-09 00:29:27 -04:00
Luke Parker
e9f2d5fdd8
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-09 00:26:10 -04:00
Luke Parker
7858387aed
Clarify transcripting for Clsag::verify, Mlsag::verify, as with Clsag::sign
2025-08-09 00:02:16 -04:00
Luke Parker
f65adbec17
Tweak the Substrate runtime as required by the Rust version bump performed
2025-08-08 23:58:25 -04:00
Luke Parker
ffed3edc70
Fix #654
2025-08-08 23:57:38 -04:00
Luke Parker
fde062769d
Fix #643
2025-08-08 23:57:19 -04:00
Luke Parker
902bef9821
Rename Bulletproof::calculate_bp_clawback to Bulletproof::calculate_clawback
2025-08-08 23:56:48 -04:00
Luke Parker
c671284005
Fix #630
2025-08-08 23:56:13 -04:00
Luke Parker
90ee7f749d
Respond to 13.1.1.
...
Uses Zeroizing for username/password in monero-simple-request-rpc.
2025-08-08 23:54:20 -04:00
Luke Parker
65c1eac599
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-08 22:49:30 -04:00
Luke Parker
38bb7c1b87
Clarify messages in non-debug assertions
2025-08-08 21:35:55 -04:00
Luke Parker
c3472b4ceb
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-08 21:33:28 -04:00
Luke Parker
77c66ee545
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-08 14:58:43 -04:00
Luke Parker
f4ea96f120
Respond to 2 3
...
We now use `FrostError::InternalError` instead of a panic to represent the mask
not being set.
2025-08-08 14:58:43 -04:00
Luke Parker
efa9d72603
Respond to 2 2
2025-08-08 14:58:39 -04:00
Luke Parker
feaa35201d
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-07-23 09:14:41 -04:00
Luke Parker
a6d2476b66
Respond to 1.1 A1
2025-07-23 08:42:20 -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