[Devnet] Local development environment setup#3
Draft
crucible-burnt wants to merge 16 commits into
Draft
Conversation
446d671 to
afda8bf
Compare
- Update XIOND_VERSION from 20.0.0 to 28.1.0 - Update xion submodule branch from release/v20 to release/v28 - Add 'zk' module to IMPORT_MODULES array in entrypoint.sh - SOURCE_CHAIN_CODE_IDS unchanged (1=account, 1260=treasury on testnet-2) Ref: DO-239
New x/dkim module in xion v28 needs params imported from source chain. Ref: DO-239
…ing) Phase 2 (DO-240): - Add account-abstraction-api and xion-indexer as new submodules - Update xion-dashboard-app and xion-staking submodule pointers - Add docker-compose services: AA API, Indexer (Postgres + SubQuery node + GraphQL), Dashboard, Staking - Add HAProxy backends for all new services (ports 3001-3004) - Add indexer-db volume for Postgres persistence Submodule changes: - xion-indexer: added xion-devnet-1 network config in project.ts - xion-staking: switched to standalone output for Docker compatibility
- Osmosis entrypoint: single validator, localosmo-1, fast blocks, API/gRPC enabled - Noble entrypoint: single validator, noble-devnet-1, USDC fiat-tokenfactory genesis config, auto-mint after start - Hermes config.toml: three-chain relay (xion, osmosis, noble) - Hermes entrypoint: waits for chains, imports keys, creates clients/connections/channels - HAProxy IBC config: osmosis RPC:26757/API:1417, noble RPC:26857/API:1517 - Shared relayer mnemonic across all chains for Hermes key import
Services (25+): - Core: xion (3 validators), haproxy, explorer, faucet - Apps: AA API, dashboard, staking, dev-portal, indexer (SubQuery), assets - OAuth: oauth3, oauth2-api-service, oauth2-clients-dashboard - ZK: zk-email-backend, zk-email-prover, zk-email-worker - IBC: osmosis (v28.0.0), noble (v11.3.0), hermes relayer (v1.12.0) - Infra: postgresql Profiles: core, apps, oauth, zk, ibc, full HAProxy: routes for all 20+ backends Hermes: config for xion↔osmosis, xion↔noble IBC .gitmodules: 17 submodules (7 new) .env.example, Makefile, README updated
Adds scripts/init/deploy-contracts.sh that runs after the chain starts producing blocks to: - Instantiate abstract account contract (code_id=1) - Instantiate treasury/fee-granter contract (code_id=2) - Fund the treasury for gasless UX - Output contract addresses for downstream services Also adds deploy-contracts service to docker-compose.yml that runs as a one-shot init container in the apps/oauth/zk/full profiles.
… audience - Uncomment abstractaccount.params.allowed_code_ids = ["1"] (required for AA) - Add allow_all_code_ids = false per e2e test reference - Configure JWK audience for Stytch test project - Fetch and embed Stytch JWKS public key for JWT validation - Update entrypoint.sh to pass Stytch/abstraxion args to jq - Fix jq syntax (missing pipe operator before abstractaccount line)
Not needed — use Stytch directly for OAuth2 flows.
Not needed per TwiceBurnt.
Only xion-indexer was removed — xion-indexer-proxy is a separate service.
…al refs (DO-273) Register xion-indexer-proxy, oauth2-api-service, oauth2-clients-dashboard, zk-email-backend, zk-email-prover, zk-email-worker as proper submodules (replacing .gitkeep placeholders). Update xion-assets .gitmodules branch to main (chore/devnet doesn't exist upstream). Update xion-developer-portal to chore/devnet HEAD.
…s (DO-273) Both xion-developer-portal and xion-assets Dockerfiles expose port 3000, but compose had 3002 and 3003 respectively. Aligns ports and healthchecks.
a397876 to
92261e9
Compare
Avoid host bind mounts for validator init scripts by copying them through a busybox init container into a named volume. Validators and deploy-contracts mount the resulting volume read-only, which keeps local compose behavior compatible with DinD environments. Co-authored-by: Crucible <crucible@burnt.com>
Author
|
DO-272 update: replaced the Verification:
Blocked verification:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Devnet Full Stack
Part of the Devnet Full Stack project — complete local dev environment via docker-compose.
Changes
Testing
Parent