Luke Parker
d219b77bd0
Add bindings to the events from the coins module to serai-client-serai
2025-11-15 16:13:25 -05:00
Luke Parker
fce26eaee1
Update the block RPCs to return null when missing, not an error
...
Promotes clarity.
2025-11-15 16:12:39 -05:00
Luke Parker
3cfbd9add7
Update serai-coordinator-cosign to the new serai-client-serai
2025-11-15 16:10:58 -05:00
Luke Parker
609cf06393
Update SetDecided to include the validators
...
Necessary for light-client protocols to follow along with consensus. Arguably,
anyone handling GRANDPA's consensus could peek at this through the consensus
commit anyways, but we shouldn't so defer that.
2025-11-15 14:59:33 -05:00
Luke Parker
46b1f1b7ec
Add test for the integrity of headers
2025-11-14 12:04:21 -05:00
Luke Parker
09113201e7
Fixes to the validator sets RPC
2025-11-14 11:19:02 -05:00
Luke Parker
556d294157
Add pallet-timestamp
...
Ensures the timestamp is sent, within expected parameters, and the correctness
in relation to `pallet-babe`.
2025-11-14 09:59:32 -05:00
Luke Parker
82ca889ed3
Wrap Proposer so we can add the SeraiPreExecutionDigest (timestamps)
2025-11-14 08:02:54 -05:00
Luke Parker
cde0f753c2
Correct Serai header on genesis
...
Includes a couple misc fixes for the RPC as well.
2025-11-14 07:22:59 -05:00
Luke Parker
6ff0ef7aa6
Type the errors yielded by serai-node's RPC
2025-11-14 03:52:35 -05:00
Luke Parker
f9e3d1b142
Expand validator sets API with the rest of the events and some getters
...
We could've added a storage API, and fetched fields that way, except we want
the storage to be opaque. That meant we needed to add the RPC routes to the
node, which also simplifies other people writing RPC code and fetching these
fields. Then the node could've used the storage API, except a lot of the
storage in validator-sets is marked opaque and to only be read via functions,
so extending the runtime made the most sense.
2025-11-14 03:37:06 -05:00
Luke Parker
a793aa18ef
Make ethereum-schnorr-contract no-std and no-alloc eligible
2025-11-13 05:48:18 -05:00
Luke Parker
5662beeb8a
Patch from parity-bip39 back to bip39
...
Per https://github.com/michalkucharczyk/rust-bip39/tree/mku-2.0.1-release ,
`parity-bip39` was a fork to publish a release of `bip39` with two specific PRs
merged. Not only have those PRs been merged, yet `bip39` now accepts
`bitcoin_hashes 0.14` (https://github.com/rust-bitcoin/rust-bip39/pull/76 ),
making this a great time to reconcile (even though it does technically add a
git dependency until the new release is cut...).
2025-11-13 05:25:41 -05:00
Luke Parker
509bd58f4e
Add method to fetch a block's events to the RPC
2025-11-13 05:13:55 -05:00
Luke Parker
367a5769e8
Update deny.toml
2025-11-13 00:37:51 -05:00
Luke Parker
cb6eb6430a
Update version of substrate
2025-11-13 00:17:19 -05:00
Luke Parker
4f82e5912c
Use Alpine to build the runtime
...
Smaller, works without issue.
2025-11-12 23:02:22 -05:00
Luke Parker
ac7af40f2e
Remove rust-src as a component for WASM
...
It's unnecessary since `wasm32v1-none`.
2025-11-12 23:00:57 -05:00
Luke Parker
264bdd46ca
Update serai-runtime to compile a minimum subset of itself for non-WASM targets
...
We only really care about it as a WASM blob, given `serai-abi`, so there's no
need to compile it twice when it's an expensive blob and we don't care about it
at all.
2025-11-12 23:00:00 -05:00
Luke Parker
c52f7634de
Patch librocksdb-sys to never enable jemalloc, which conflicts with mimalloc
...
Allows us to update mimalloc and enable the newly added guard pages.
Conflict identified by @PlasmaPower.
2025-11-11 23:04:05 -05:00
Luke Parker
21eaa5793d
Error when not running the dev network if an explicit WASM runtime isn't provided
2025-11-11 23:02:20 -05:00
Luke Parker
c744a80d80
Check the finalized function doesn't claim unfinalized blocks are in fact finalized
2025-11-11 23:02:20 -05:00
Luke Parker
a34f9f6164
Build and run the message queue over Alpine
...
We prior stopped doing so for stability reasons, but this _should_ be tried
again.
2025-11-11 23:02:20 -05:00
Luke Parker
353683cfd2
revm 33
2025-11-11 23:02:16 -05:00
Luke Parker
d4f77159c4
Rust 1.91.1 due to the regression re: wasm builds
2025-11-11 09:08:30 -05:00
Luke Parker
191bf4bdea
Remove std feature from revm
...
It's unnecessary and bloats the tree decently.
2025-11-10 06:34:33 -05:00
Luke Parker
06a4824aba
Move bitcoin-serai to core-json and feature-gate the RPC functionality
2025-11-10 05:31:13 -05:00
Luke Parker
e65a37e639
Update various versions
2025-11-10 04:02:02 -05:00
Luke Parker
4653ef4a61
Use dockertest for the newly added serai-client-serai test
2025-11-07 02:08:02 -05:00
Luke Parker
ce08fad931
Add initial basic tests for serai-client-serai
2025-11-06 20:12:37 -05:00
Luke Parker
1866bb7ae3
Begin work on the new RPC for the new node
2025-11-06 03:08:43 -05:00
Luke Parker
aff2065c31
Polkadot stable2509-1
2025-11-06 00:23:35 -05:00
Luke Parker
7300700108
Update misc versions
2025-11-05 19:11:33 -05:00
Luke Parker
31874ceeae
serai-node which compiles and produces/finalizes blocks with --dev
2025-11-05 18:20:23 -05:00
Luke Parker
012b8fddae
Get serai-node to compile again
2025-11-05 01:18:21 -05:00
Luke Parker
d2f58232c8
Tweak serai-coordinator-cosign to make it closer to compiling again
...
Adds `PartialOrd, Ord` derivations to some items in `serai-primitives` so they
may be used as keys within `borsh` maps.
2025-11-04 19:42:23 -05:00
Luke Parker
49794b6a75
Correct when spin::Lazy is exposed as std_shims::sync::LazyLock
...
It's intended to always be used, even on `std`, when `std::sync::LazyLock` is
not available.
2025-11-04 19:28:26 -05:00
Luke Parker
973287d0a1
Smash serai-client so the processors don't need the entire lib to access their specific code
...
We prior controlled this with feature flags. It's just better to define their
own crates.
2025-11-04 19:27:53 -05:00
Luke Parker
1b499edfe1
Misc fixes so this compiles
2025-11-04 18:56:56 -05:00
Luke Parker
642848bd24
Bump revm
2025-11-04 13:31:46 -05:00
Luke Parker
f7fb78bdd6
Merge branch 'next' into next-polkadot-sdk
2025-11-04 13:24:00 -05:00
Luke Parker
9c47ef2658
Restore deny exception for kayabaNerve/elliptic-curves, accidentally dropped when merging develop
2025-11-04 13:18:59 -05:00
Luke Parker
e1b6b638c6
Merge branch 'develop' into next
2025-11-04 13:14:38 -05:00
Luke Parker
c24768f922
Fix borks from the latest nightly
...
The `cargo doc` build started to fail with the rolling of `doc_auto_cfg` into
`doc_cfg`, so now we don't build docs for deps (as we can't reasonably update
`generic-array` at this time).
`home` has been patched as we are able to, not as a direct requirement of this
PR.
2025-11-04 13:10:11 -05:00
Luke Parker
65613750e1
Merge branch 'next' into next-polkadot-sdk
2025-11-04 12:06:13 -05:00
Luke Parker
87ee879dea
doc_auto_cfg -> doc_cfg
2025-11-04 10:20:17 -05:00
Luke Parker
b5603560e8
Merge branch 'develop' into next
2025-11-04 10:19:38 -05:00
Luke Parker
5818f1a41c
Update nightly version
2025-11-04 10:05:08 -05:00
Luke Parker
1b781b4b57
Fix CI
2025-10-07 04:39:32 -04:00
Luke Parker
94faf098b6
Update nightly version
2025-10-05 18:44:04 -04:00