Skip to content

Commit b4360d7

Browse files
committed
fix(deploy): seal with staging trust root on the staging gateway
The staging validator verifies bundles against config/challenges.staging.toml (design 2000 bps) but the gateway kept sealing with the prod root (design 0 bps): design weight never surfaced and every coordination compare failed with emission share mismatch (D23). Mount the staging root on the gateway too.
1 parent 67c1885 commit b4360d7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

deploy/compose/env-staging.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ services:
3838
- "80:8080"
3939
volumes:
4040
- ./deploy/secrets/wallets:/run/base/wallets:ro
41+
# The sealer must sign with the same staging trust root the validator
42+
# verifies against (design 2000 bps), or /v1/weights/latest never shows
43+
# design weight and the validator flags emission share mismatch (D23).
44+
- ./config/challenges.staging.toml:/etc/base/config/challenges.toml:ro
45+
- ./config/challenges.staging.toml.sig:/etc/base/config/challenges.toml.sig:ro
4146
prism-challenge:
4247
environment:
4348
BASE_CHAIN_ENDPOINT: "wss://test.chain.opentensor.ai:443"

0 commit comments

Comments
 (0)