mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
* fix: correct HTTP error handling in gateway * refactor: migrate database and ORM to internal modules * feat: introduce taskfile build system for improved workflow management * refactor: update taskfiles to use relative paths * feat: add profile status field * refactor: move rendering logic to context package * fix: improve error handling in credentials retrieval * refactor: optimize HTTP request handling in Wasm environment * refactor: refactor config loading in motr command * chore: add process-compose for service management * chore: remove default task and update gum format command * fix: update project dependencies * refactor: improve code readability and maintainability * refactor: consolidate error handling components * refactor: update index handler to use new context package * refactor: consolidate database scripts and move to deploy directory * feat: Update flake.nix with development tools and environment configuration * fix: ignore flake.lock file * refactor: migrate build process to use taskfiles for improved modularity and maintainability * refactor: improve GatewayContext and reorganize handlers * refactor: Remove unused profile creation functions * (chore): templ generation * test: add test file for vaults.go * maintenance: remove defunct Discord server link * docs: update checks workflow documentation * test: remove obsolete vaults test file * refactor: move version bumping logic to release workflow
22 lines
989 B
Bash
Executable File
22 lines
989 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Ensure we're in the right directory
|
|
ROOT_DIR=$(git rev-parse --show-toplevel)
|
|
cd $ROOT_DIR
|
|
|
|
DOPPLER_TOKEN=$(skate get DOPPLER_NETWORK)
|
|
|
|
ACC0=$(doppler secrets get KEY0_NAME --plain --project sonr --config test)
|
|
ACC1=$(doppler secrets get KEY1_NAME --plain --project sonr --config test)
|
|
MNEM0=$(doppler secrets get KEY0_MNEMONIC --plain --project sonr --config test)
|
|
MNEM1=$(doppler secrets get KEY1_MNEMONIC --plain --project sonr --config test)
|
|
CHAIN_ID=$(doppler secrets get CHAIN_ID --plain --project sonr --config test)
|
|
TX_INDEX_INDEXER=$(doppler secrets get TX_INDEXER --plain --project sonr --config test)
|
|
TX_INDEX_PSQL_CONN=$(doppler secrets get TX_PSQL_CONN --plain --project sonr --config test)
|
|
|
|
# Run the node setup with all variables properly exported
|
|
CLEAN=true KEY0_NAME=$ACC0 KEY0_MNEMONIC=$MNEM0 KEY1_NAME=$ACC1 KEY1_MNEMONIC=$MNEM1 CHAIN_ID=$CHAIN_ID TX_INDEX_INDEXER=$TX_INDEX_INDEXER TX_INDEX_PSQL_CONN=$TX_INDEX_PSQL_CONN sh scripts/test_node.sh
|
|
|