mirror of
https://github.com/logos-messaging/nim-chat-poc.git
synced 2026-07-07 17:09:50 +00:00
fix: update sim for SPEL 32-byte tree_id and submodule restore
TREE_ID_HEX updated from 24 to 32 bytes to match SPEL's tree_id format, fixing stale payment account lookup that caused silent registration failures (KeyNotFound error 8). setup_and_run.sh now restores working tree files in all nested submodules after git submodule update --init, which resets them.
This commit is contained in:
parent
9d368aeb44
commit
932627d636
@ -163,7 +163,7 @@ echo "[2/6] Deploying programs..."
|
||||
export NSSA_WALLET_HOME_DIR="$LEZ_RLN_DIR/dev"
|
||||
export WALLET_CONFIG="$NSSA_WALLET_HOME_DIR/wallet_config.json"
|
||||
export WALLET_STORAGE="$NSSA_WALLET_HOME_DIR/storage.json"
|
||||
TREE_ID_HEX="000102030405060708090a0b0c0d0e0f1011121314151617"
|
||||
TREE_ID_HEX="000102030405060708090a0b0c0d0e0f10111213141516170000000000000000"
|
||||
GIFTER_ACCOUNT_FILE="$HOME/.logos-lez-rln/payment_account_${TREE_ID_HEX}.txt"
|
||||
|
||||
rm -f "$WALLET_CONFIG" "$WALLET_STORAGE"
|
||||
|
||||
@ -65,6 +65,10 @@ fi
|
||||
log "Initializing nested submodules in vendor/logos-lez-rln..."
|
||||
(cd vendor/logos-lez-rln && \
|
||||
git submodule update --init lssa logos-delivery logos-delivery-module logos-execution-zone-module && \
|
||||
git checkout -- . && \
|
||||
for d in lssa logos-delivery logos-delivery-module logos-execution-zone-module; do \
|
||||
(cd "$d" && git checkout -- .); \
|
||||
done && \
|
||||
cd logos-delivery-module && git submodule update --init vendor/logos-delivery)
|
||||
if [ -d "${GUEST_TMP:-}" ]; then
|
||||
mkdir -p "$GUEST_DIR"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user