diff --git a/src/db-sync/build.sh b/src/db-sync/build.sh index e90ef4d..60e304e 100755 --- a/src/db-sync/build.sh +++ b/src/db-sync/build.sh @@ -5,7 +5,7 @@ cd ${DB_SYNC_DIR} # DB_SYNC_TAG=13.1.0.0 -# git checkout -b ${DB_SYNC_TAG} tag-${DB_SYNC_TAG} +# git checkout -b 13.1.0.0 tags/13.1.0.0 # nix-build -A cardano-db-sync -o db-sync-node CS_DIR="/home/nsaha/projects/cardano-scripts" diff --git a/src/db-sync/restore_snapshot.sh b/src/db-sync/restore_snapshot.sh index 511dcec..f679f53 100755 --- a/src/db-sync/restore_snapshot.sh +++ b/src/db-sync/restore_snapshot.sh @@ -4,7 +4,7 @@ export PGPASSFILE="/home/nsaha/.pgpass" CS_DIR="/home/nsaha/projects/cardano-scripts" CARDANO_DB_SYNC_DIR="/home/nsaha/projects/cardano-db-sync" -CARDANO_SNAPSHOT="/tmp/db-sync-snapshot-schema-13.1-block-9324017-x86_64.tgz" -LEDGER_STATE_DIR="${CS_DIR}/exec/state-node-shelly-mainnet/db-ff/ledger/" +CARDANO_SNAPSHOT="/tmp/db-sync-snapshot-schema-13.2-block-10251157-x86_64.tgz" +LEDGER_STATE_DIR="${CS_DIR}/exec/ledger_restore/" ${CARDANO_DB_SYNC_DIR}/scripts/postgresql-setup.sh --restore-snapshot ${CARDANO_SNAPSHOT} ${LEDGER_STATE_DIR} diff --git a/src/rotate_kes.py b/src/rotate_kes.py index d25701b..b474087 100644 --- a/src/rotate_kes.py +++ b/src/rotate_kes.py @@ -57,7 +57,7 @@ def main(min_KES): print(f"remaining kes period:{remaining_kes_period}") if (remaining_kes_period < min_KES): #first generate new KES params - #update_KES_params() + update_KES_params() #next restart the chain # t = ChainProcess() # t.stop_chain()