Skip to content

Commit

Permalink
Bump node and dbsync version and config options
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlrt committed Apr 19, 2024
1 parent 7a8fb4b commit e775568
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 3 deletions.
21 changes: 21 additions & 0 deletions files/configs/guild/db-sync-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@
"/opt/cardano/cnode/logs/dbsync.json"
]
],
"insert_options": {
"tx_out": {
"value": "consumed"
},
"ledger": "enable",
"shelley": {
"enable": true
},
"multi_asset": {
"enable": true
},
"metadata": {
"enable": true
},
"plutus": {
"enable": true
},
"governance": "enable",
"offchain_pool_data": "enable",
"json_type": "text"
},
"minSeverity": "Info",
"options": {
"cfokey": {
Expand Down
21 changes: 21 additions & 0 deletions files/configs/mainnet/db-sync-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@
"/opt/cardano/cnode/logs/dbsync.json"
]
],
"insert_options": {
"tx_out": {
"value": "consumed"
},
"ledger": "enable",
"shelley": {
"enable": true
},
"multi_asset": {
"enable": true
},
"metadata": {
"enable": true
},
"plutus": {
"enable": true
},
"governance": "enable",
"offchain_pool_data": "enable",
"json_type": "text"
},
"minSeverity": "Info",
"options": {
"cfokey": {
Expand Down
21 changes: 21 additions & 0 deletions files/configs/preprod/db-sync-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@
"/opt/cardano/cnode/logs/dbsync.json"
]
],
"insert_options": {
"tx_out": {
"value": "consumed"
},
"ledger": "enable",
"shelley": {
"enable": true
},
"multi_asset": {
"enable": true
},
"metadata": {
"enable": true
},
"plutus": {
"enable": true
},
"governance": "enable",
"offchain_pool_data": "enable",
"json_type": "text"
},
"minSeverity": "Info",
"options": {
"cfokey": {
Expand Down
21 changes: 21 additions & 0 deletions files/configs/preview/db-sync-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@
"/opt/cardano/cnode/logs/dbsync.json"
]
],
"insert_options": {
"tx_out": {
"value": "consumed"
},
"ledger": "enable",
"shelley": {
"enable": true
},
"multi_asset": {
"enable": true
},
"metadata": {
"enable": true
},
"plutus": {
"enable": true
},
"governance": "enable",
"offchain_pool_data": "enable",
"json_type": "text"
},
"minSeverity": "Info",
"options": {
"cfokey": {
Expand Down
21 changes: 21 additions & 0 deletions files/configs/sanchonet/db-sync-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@
"/opt/cardano/cnode/logs/dbsync.json"
]
],
"insert_options": {
"tx_out": {
"value": "consumed"
},
"ledger": "enable",
"shelley": {
"enable": true
},
"multi_asset": {
"enable": true
},
"metadata": {
"enable": true
},
"plutus": {
"enable": true
},
"governance": "enable",
"offchain_pool_data": "enable",
"json_type": "text"
},
"minSeverity": "Info",
"options": {
"cfokey": {
Expand Down
6 changes: 3 additions & 3 deletions scripts/cnode-helper-scripts/guild-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ set_defaults() {
[[ "${SUDO}" = 'Y' && $(id -u) -eq 0 ]] && err_exit "Please run as non-root user."
CNODE_HOME="${CNODE_PATH}/${CNODE_NAME}"
CNODE_VNAME=$(echo "$CNODE_NAME" | awk '{print toupper($0)}')
CARDANO_NODE_VERSION="8.9.0"
CARDANO_NODE_VERSION="8.9.2"
REPO="https://github.com/${G_ACCOUNT}/guild-operators"
REPO_RAW="https://raw.githubusercontent.com/${G_ACCOUNT}/guild-operators"
URL_RAW="${REPO_RAW}/${BRANCH}"
Expand Down Expand Up @@ -379,10 +379,10 @@ download_cnodebins() {
curl -m 200 -sfL https://github.com/intersectmbo/cardano-addresses/releases/download/3.12.0/cardano-addresses-3.12.0-linux64.tar.gz -o caddress.tar.gz || err_exit " Could not download cardano-wallet's latest release archive from GitHub!"
tar zxf caddress.tar.gz --strip-components 1 bin/cardano-address &>/dev/null
rm -f caddress.tar.gz
[[ -f cardano-address ]] || err_exit " cardano-address archive downloaded but binary (cardano-address) not found after extracting package!"
[[ -f cardano-address ]] || err_exit " cardano-address archive downloaded but binary (bin/cardano-address) not found after extracting package!"
if [[ "${SKIP_DBSYNC_DOWNLOAD}" == "N" ]]; then
echo -e "\n Downloading Cardano DB Sync archive created from GitHub.."
curl -m 200 -sfL https://github.com/intersectmbo/cardano-db-sync/releases/download/sancho-4.1.0/cardano-db-sync-13.2.0.1-linux.tar.gz -o cnodedbsync.tar.gz || err_exit " Could not download cardano-db-sync release 13.2.0.0 from GitHub!"
curl -m 200 -sfL https://github.com/IntersectMBO/cardano-db-sync/releases/download/sancho-4-2-1/cardano-db-sync-13.2.0.1-linux.tar.gz -o cnodedbsync.tar.gz || err_exit " Could not download cardano-db-sync release 13.2.0.0 from GitHub!"
tar zxf cnodedbsync.tar.gz --strip-components 1 ./cardano-db-sync &>/dev/null
[[ -f cardano-db-sync ]] || err_exit " cardano-db-sync archive downloaded but binary (cardano-db-sync) not found after extracting package!"
rm -f cnodedbsync.tar.gz
Expand Down

0 comments on commit e775568

Please sign in to comment.