15 Commits

Author SHA1 Message Date
Arseniy Klempner
6a90c01668
build: update Docker image and scripts for v2 branches 2026-05-28 16:44:47 -06:00
Arseniy Klempner
29c64b340d
feat: mix+LEZ+RLN chat over the testnet via 2-phase gifter
Chat-side integration of the LEZ-backed RLN mix protocol:
- src/chat/delivery/waku_client.nim: mount waku_mix with onchain
  RLN spam protection wired to logos_core_client fetchers; gate
  the first publish on (a) gifter status confirmation, (b)
  cushion of 2 poll intervals after confirmation, and (c) proof
  root stability in the local valid_roots window; wrap mix
  lightpush in withTimeout so vanished SURB replies surface as
  Err instead of pinning the send coroutine.
- src/chat/client.nim: surface sendBytes errors via asyncSpawn
  wrapped try/except instead of discarding the future (was
  hiding every mix-publish failure).
- chat-side gifter client invocation (RLN membership service
  wire format, EIP-191 ethereum-allowlist auth).
- Background membership status watcher that reconciles the
  optimistic leaf returned by the gifter against the chain's
  authoritative leaf via the status RPC.

Simulation harness (simulations/mix_lez_chat/):
- Spin up sequencer + run_setup + 4 mix nodes (one of which
  runs the gifter service) + chat sender + chat receiver.
- SIM_NETWORK={local,testnet}, SIM_SLIM for testnet (reuses
  shipped config_account + cached payment_account), Docker
  image + GHCR for cross-platform testing.
- Strict mix-pool readiness gate, kademlia + RLN root activity
  checks, gifter EIP-191 auth fixture, slim-mode submodule
  minimization.
- TREE_ID_HEX pinned to the canonical testnet deployment.

Submodule bumps:
- vendor/nwaku to 8e6ba04 (LEZ-backed RLN mix + 2-phase gifter).
- vendor/logos-lez-rln to 950f287 (SPEL RLN program + mix sim
  infrastructure + canonical testnet deploy).

Docs:
- RUN_SLIM_TESTNET.md: slim sim recipe.
- cleanup/MODE_A_GIFTER_SLOT_BUG.md: per-signer nonce collision
  postmortem driving the queue+worker fix.
2026-05-28 10:53:36 -06:00
osmaczko
15f68f2ec2
chore: use upstream nix (#88) 2026-03-02 12:16:49 +01:00
Igor Sirotin
6fc4c2200a
ci: run nix build on ubuntu and macos (#85)
* ci: run nix build on ubuntu and macos

* ci: use DeterminateSystems/nix-installer-action

* fix: wrong extension for mac

---------

Co-authored-by: pablo <p.lopez.lpz@gmail.com>
2026-02-25 10:38:36 +00:00
osmaczko
b4706cd6ac
ci: reduce CI times by unifying jobs and caching Cargo artifacts
- Consolidate build and test into a single job to avoid duplicate builds;
  artifact sharing across jobs proved too complex to justify
- NBS was the main bottleneck; this change improves CI duration beyond that
- Add caching for Cargo registry, git sources, and libchat's target
2026-02-23 19:36:16 +01:00
osmaczko
b2bcc81bdb
feat: add nix flake 2026-02-23 15:58:29 +01:00
Jazz Turner-Baggs
ee5075cc6e
Remove CI Ignore-paths (#77)
* Add gate to detect changes in source code

* Fix action errors

---------

Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com>
2026-02-23 14:20:00 +01:00
Jazz Turner-Baggs
714d97029c
Remove Test-Windows CI Job (#75) 2026-02-22 16:01:02 -08:00
Jazz Turner-Baggs
3921bd8bbd
Run CI action on push to Main (#72)
* Update ci to run on push to main

* Remove stale actions
2026-02-19 09:13:38 -08:00
osmaczko
1d727c1fcf
chore: add smoke test and redesign CI workflow (#62)
Add a smoke test that validates the binary links all dependencies
at runtime by instantiating a client without networking. Redesign
CI into separate build and test jobs, with test gated on build.
2026-02-13 20:44:50 +01:00
kaichao
9fd5daa436
bug: fix windows build (#46)
* chore: log build files.

* chore: update nwaku

* chore: use rln 0.9.0

* chore: fix file name

* chore: fix path

* chore: log the released file

* chore: test log

* chore: splite windows test ci

* chore: splite windows test

* chore: update nwaku

* chore: update nwaku

* chore: update windows ci deps

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci
2025-12-21 10:53:49 +08:00
kaichaosun
be906d7055
chore: clean format 2025-12-06 10:55:52 +08:00
kaichaosun
3d310fc409
chore: add ci for tests 2025-12-05 14:26:34 +08:00
Jazz Turner-Baggs
c91446ecfa
Add oidc token permission 2025-07-24 17:03:27 -07:00
Jazz Turner-Baggs
51fc6cecaa
Add default Claude action 2025-07-24 17:00:30 -07:00