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
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