chore: tooling, docs and a guard for the name (fork, Phase 6)
- rootProject.name is Giza. Res is pinned, so no import moves. - Regtest: GIZA_REGTEST, GIZA_SPLICE_DELAYS and the gizaRegtest task input; node aliases giza-lsp and giza-payer. - README describes Giza and says what it shares with Bennu: one network, one derivation, and a recovery phrase that must not run in both apps at once. The clone URL is the planned giza-kmp repository, which does not exist yet. - docs/README.md is titled Giza docs and says how to read the documents written while the app was Bennu. - CLAUDE.md gains the rule: name the app Giza, never name Bennu outside a comment, and never rename a mantra/ or bennu/ derivation tag. - docs/scripts/brand-audit.sh --check, run by check (brandAudit) and by the CI budgets job, fails on Bennu anywhere in composeApp, iosApp, testing or the gradle scripts except in a comment or a "bennu/ tag. It catches the strings a merge from Bennu brings in, which giza-rename.sh cannot word. - The plan gains the twelve bennu/ tags, missed when it was written. jvmTest: 1643 run, 0 failed, 2 skipped. compileDebugKotlinAndroid, m3Audit and brandAudit pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4f3f0da3ca
commit
5b92b83869
16 files changed
+164
-24
No files matched your search
@@ -10,7 +10,7 @@ LSP. What the run checks, what it found, and why each LSP setting is there is in
|
||||
funding key buys inbound liquidity from the LSP, with its signatures delayed, to see what eclair accepts
|
||||
and how long it waits. The group run buys liquidity too, between receiving and paying.
|
||||
|
||||
The run is **not** part of `./gradlew check` or CI. Without `BENNU_REGTEST=1` the test is reported as
|
||||
The run is **not** part of `./gradlew check` or CI. Without `GIZA_REGTEST=1` the test is reported as
|
||||
skipped, so a green `jvmTest` says nothing about it.
|
||||
|
||||
## Prerequisites
|
||||
@@ -49,7 +49,7 @@ finishes by printing the LSP's node id. Allow a minute the first time, after the
|
||||
From the repository root:
|
||||
|
||||
```bash
|
||||
BENNU_REGTEST=1 ./gradlew :composeApp:jvmTest --tests '*GroupLightningRegtestJvmTest'
|
||||
GIZA_REGTEST=1 ./gradlew :composeApp:jvmTest --tests '*GroupLightningRegtestJvmTest'
|
||||
```
|
||||
|
||||
It takes about thirty seconds. It can be run again on the same network as often as you like. Each
|
||||
@@ -90,7 +90,7 @@ call eclair's API, for example `./regtest.sh lsp channels` or `./regtest.sh paye
|
||||
|
||||
| what you see | what it means |
|
||||
|---|---|
|
||||
| the test is reported as skipped | `BENNU_REGTEST=1` was not set in the environment Gradle runs the test in |
|
||||
| the test is reported as skipped | `GIZA_REGTEST=1` was not set in the environment Gradle runs the test in |
|
||||
| `The regtest network is not running: nothing answers for … on 127.0.0.1:…` | that service is down. Run `./regtest.sh up`, or check it with `docker compose ps -a` and its logs |
|
||||
| `the payer has no open channel to the LSP` | `up` stopped part way through. Run `./regtest.sh down`, then `up` again |
|
||||
| `up` prints `timed out waiting for: …` | a container exited: `docker compose ps -a` shows which, and its log says why |
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// made, so the run mines the funding transaction instead.
|
||||
eclair {
|
||||
chain = "regtest"
|
||||
node-alias = "bennu-lsp"
|
||||
node-alias = "giza-lsp"
|
||||
server.binding-ip = "0.0.0.0"
|
||||
api {
|
||||
enabled = true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Somebody else on the network: pays the group through the LSP, and is paid by it.
|
||||
eclair {
|
||||
chain = "regtest"
|
||||
node-alias = "bennu-payer"
|
||||
node-alias = "giza-payer"
|
||||
server.binding-ip = "0.0.0.0"
|
||||
api {
|
||||
enabled = true
|
||||
|
||||
Reference in new issue
Block a user