Skip to content

Commit

Permalink
cntools 9.0.1
Browse files Browse the repository at this point in the history
Small change removing tool credits in offline metadata registry due to "out of protocol".
  • Loading branch information
Scitz0 committed Jan 17, 2022
1 parent f12ec23 commit 86aa72d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions docs/Scripts/cntools-changelog.md
Expand Up @@ -6,6 +6,10 @@ All notable changes to this tool will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [9.0.1] - 2022-01-17
#### Changed
- Removing tool credits in offline metadata registry due to "out of protocol".

## [9.0.0] - 2022-01-10
#### Changed
- Due to changes in cardano-node 1.33.x -> for utxo ledger lookup and previous heavy pool-params query, Koios API is now the default option for these lookups.
Expand Down
2 changes: 1 addition & 1 deletion scripts/cnode-helper-scripts/cntools.library
Expand Up @@ -11,7 +11,7 @@ CNTOOLS_MAJOR_VERSION=9
# Minor: Changes and features of minor character that can be applied without breaking existing functionality or workflow
CNTOOLS_MINOR_VERSION=0
# Patch: Backwards compatible bug fixes. No additional functionality or major changes
CNTOOLS_PATCH_VERSION=0
CNTOOLS_PATCH_VERSION=1

CNTOOLS_VERSION="${CNTOOLS_MAJOR_VERSION}.${CNTOOLS_MINOR_VERSION}.${CNTOOLS_PATCH_VERSION}"

Expand Down
5 changes: 0 additions & 5 deletions scripts/cnode-helper-scripts/cntools.sh
Expand Up @@ -4529,11 +4529,6 @@ function main {
! meta_file=$(token-metadata-creator entry ${asset_subject} --finalize 2>&1) && println ERROR "\n${FG_RED}ERROR${NC}: failure during token-metadata-creator finalize:\n${meta_file}" && popd >/dev/null && waitForInput && continue
println DEBUG " ${FG_GREEN}OK${NC}!"

# Adding Creator-Credits
tmpJSON=$(cat ${meta_file})
tmpJSON=$(jq ". += {tool: {description: \"CNTools by Guild Operators\", url: \"https://cardano-community.github.io/guild-operators/Scripts/cntools\"} } " <<< ${tmpJSON})
echo -e "${tmpJSON}" > ${meta_file}

# Validating the final metadata registry submission file
println DEBUG false "Validating the final metadata registry submission file ..."
! output=$(token-metadata-creator validate ${meta_file} 2>&1) && println ERROR "\n${FG_RED}ERROR${NC}: failure during token-metadata-creator validation:\n${output}" && popd >/dev/null && waitForInput && continue
Expand Down

0 comments on commit 86aa72d

Please sign in to comment.