Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/node-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: 1.98.1
# v0.8.3-rc1: fullnode 9443de63, the whole v0.8.3 batch but #159 (storage only). Set v0.8.3 at the tag.
FULLNODE_TAG: v0.8.4
FULLNODE_TAG: v0.8.5

jobs:
real-node:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ STARK proof, keys are Poseidon2 hashes, envelopes are ML-KEM-768 + ChaCha20-Poly
primitives exist only in the fullnode's Rust crates, and a wallet that re-implemented them in
Swift, Java or JavaScript would have to be byte-identical to the node or every transfer is
refused. So `core/` vendors the fullnode crates (`core/vendor/fullnode`,
a submodule at fullnode `v0.8.4` `e1f75f1` (the v0.8.3 batch plus the digest log; constraint set 9, the `randprotocol-msig` signer checks with the payee check a signer runs, and the verified fold in the verify cache), chain 21 onward: **split authorisation**, where a transaction carries a bundle proof made from the viewing key and a small authorisation proof the wallet always makes itself from the spend key; **BIND-1**, a transaction bound to its chain's genesis; program state and the `Invoke` action (RPL-2); and the chain's bridge fee) and exposes one JSON entry point, `call(method, params)`, that each
a submodule at fullnode `v0.8.5` `d8efd47` (v0.8.4 plus the audit v12 node fixes; constraint set 9, the `randprotocol-msig` signer checks with the payee check a signer runs, and the verified fold in the verify cache), chain 21 onward: **split authorisation**, where a transaction carries a bundle proof made from the viewing key and a small authorisation proof the wallet always makes itself from the spend key; **BIND-1**, a transaction bound to its chain's genesis; program state and the `Invoke` action (RPL-2); and the chain's bridge fee) and exposes one JSON entry point, `call(method, params)`, that each
client wraps: an XCFramework on iOS, a `.so` on Android, WebAssembly in the browser. Everything
above that line — the RPC client, note store, scan and send flow, key storage and the UI — is
Swift, Java and JavaScript.
Expand Down Expand Up @@ -199,11 +199,11 @@ The first build of any client compiles the prover and takes several minutes.
```bash
git clone --recurse-submodules https://github.com/randprotocol/clients.git
cd clients
git checkout v0.8.4 && git submodule update --init # a release, rather than main
git checkout v0.8.5 && git submodule update --init # a release, rather than main
```

or unpack `rand-wallet-<v>-source.tar.gz` from a release, which has the submodule in it already.
The submodule is the full node (`core/vendor/fullnode`, at `v0.8.4` `e1f75f1`, the v0.8.3 batch plus the digest log): the wallet's
The submodule is the full node (`core/vendor/fullnode`, at `v0.8.5` `d8efd47`, v0.8.4 plus the audit v12 node fixes): the wallet's
cryptography is the node's own code.

### 3. Test the core (optional, about a minute)
Expand Down
10 changes: 5 additions & 5 deletions core/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions core/crates/wallet-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub const VERSION: &str = env!("CARGO_PKG_VERSION");
/// set 7 — the delegated prover, `randprotocol-prover`'s sealed job wire, unchanged since),
/// `e6d1327`, `109f47d`, `1a13359` (`feat/address-sharing` on v0.5.9: the address fingerprint,
/// `randpay:` links and the encrypted memo), `9c142c1` (v0.5.1).
pub const CHAIN_BUILD: &str = "e1f75f1";
pub const CHAIN_BUILD: &str = "d8efd47";
/// The chain the defaults below describe: chain 21 (fullnode v0.8.0, constraint set 9; perps,
/// multisig, the `fees` section, `hc_auth_multisig`), cut from chain 20's state. Before it, chain
/// 20, cut 2026-10-01 on fullnode v0.6.8 (`c9c9bd3`) from chain 19's state, with `program_state`, `binding_domain: 1` and `bridge.fees` (10 bps each
Expand Down Expand Up @@ -6190,7 +6190,7 @@ mod tests {
fn version_reports_chain_fourteen() {
let v = constants();
assert_eq!(v["default_chain_id"], 21);
assert_eq!(v["chain_build"], "e1f75f1");
assert_eq!(v["chain_build"], "d8efd47");
assert_eq!(v["rpl_transfer"], true);
assert_eq!(v["bridge_burn"], true);
assert_eq!(v["bridge_burn_proofs"], 1);
Expand Down
2 changes: 1 addition & 1 deletion core/vendor/fullnode
Submodule fullnode updated 51 files
+6 −0 .github/workflows/ci.yml
+91 −0 CHANGELOG.md
+7 −7 Cargo.lock
+1 −1 Cargo.toml
+66 −3 crates/randprotocol-client/src/main.rs
+23 −15 crates/randprotocol-client/src/msig_private.rs
+4 −3 crates/randprotocol-client/tests/wallet_flow.rs
+1 −0 crates/randprotocol-core/src/genesis.rs
+1 −0 crates/randprotocol-core/src/ledger/mod.rs
+184 −6 crates/randprotocol-core/src/ledger/perps.rs
+48 −0 crates/randprotocol-msig/src/lib.rs
+74 −0 crates/randprotocol-msig/tests/checks.rs
+5 −1 crates/randprotocol-node/src/admission.rs
+196 −66 crates/randprotocol-node/src/dandelion.rs
+95 −1 crates/randprotocol-node/src/disk.rs
+101 −7 crates/randprotocol-node/src/main.rs
+137 −0 crates/randprotocol-node/src/mempool.rs
+1 −0 crates/randprotocol-node/src/msauth_key.rs
+184 −3 crates/randprotocol-node/src/network/edge.rs
+126 −33 crates/randprotocol-node/src/network/mod.rs
+302 −43 crates/randprotocol-node/src/node.rs
+120 −2 crates/randprotocol-node/src/peer_bindings.rs
+202 −2 crates/randprotocol-node/src/rpc.rs
+33 −0 crates/randprotocol-node/src/storage.rs
+1 −0 crates/randprotocol-node/tests/cluster.rs
+1 −0 crates/randprotocol-node/tests/common/cluster.rs
+2 −0 crates/randprotocol-node/tests/common/mod.rs
+6 −4 crates/randprotocol-node/tests/dandelion.rs
+1 −0 crates/randprotocol-node/tests/genesis_cli.rs
+6 −6 crates/randprotocol-node/tests/network.rs
+2 −0 crates/randprotocol-node/tests/prover_hosted.rs
+1 −0 crates/randprotocol-node/tests/rpc_contract.rs
+1 −0 crates/randprotocol-node/tests/split_auth.rs
+117 −0 crates/randprotocol-zkvm/src/executor.rs
+12 −1 deploy/cut-chain22-genesis.sh
+1 −4 deploy/cutover-droplet-rand.sh
+110 −0 deploy/lib/unit-limits.sh
+13 −5 deploy/prover/README.md
+ − deploy/prover/__pycache__/router.cpython-315.pyc
+ − deploy/prover/__pycache__/test_router.cpython-315.pyc
+81 −11 deploy/prover/router.py
+51 −7 deploy/prover/test_router.py
+8 −1 deploy/roll-all.sh
+18 −2 deploy/update-droplet.sh
+4 −4 deploy/vps-setup.sh
+12 −5 docs/architecture.md
+6 −3 docs/cli.md
+38 −2 docs/deploy.md
+26 −3 docs/node-hardware.md
+26 −0 docs/perps.md
+40 −0 docs/rpc.md
10 changes: 5 additions & 5 deletions desktop/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ios/RandWalletTests/CoreSmokeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ final class CoreSmokeTests: XCTestCase {
func testVersionReportsChainDefaults() throws {
let c = try RandCore.constants()
XCTAssertEqual(c.defaultChainId, 21)
XCTAssertEqual(c.chainBuild, "e1f75f1", "fullnode main 97bcf4b (the v0.8.3 batch, constraint set 9), chain 21")
XCTAssertEqual(c.chainBuild, "d8efd47", "fullnode main 97bcf4b (the v0.8.3 batch, constraint set 9), chain 21")
XCTAssertEqual(c.tokenSymbol, "RAND")
XCTAssertEqual(c.bundleBaseFee, "1000000")
// Constraint set 8: the gas every bundle proof declares — chain 18's genesis pin.
Expand Down
2 changes: 1 addition & 1 deletion web/wallet/test/core.integration.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ test('the artefact this wallet loads is built for chain 21 on the hidden-asset b
// Fullnode v0.6.7 (constraint set 8 and split authorisation — the build chains 18 and 19 run):
// every bundle proof declares the guest's ceiling, which the genesis pins; the chains on which a
// memo claim is never believed; the two guests chain 18's `rand_status` names (2026-09-30).
assert.equal(k.chain_build, 'e1f75f1');
assert.equal(k.chain_build, 'd8efd47');
assert.equal(k.bundle_gas_limit, 20479);
assert.equal(k.hc_bundle, '60af094acfe65d85fdb18fb3d06cf9085dcf28c96e59e87f1ee527226e6e3fce', 'bundle guest v3');
assert.equal(k.hc_auth, '1e4e347f44cf86750b30a9a4bdf9ec9256efe353d4ff8017451eca7d195639c1', 'the auth guest');
Expand Down
Loading