From 559919be53f98ee75fe0c7a853b1bdf22f139b5c Mon Sep 17 00:00:00 2001 From: Mike <48562608+drmancini@users.noreply.github.com> Date: Fri, 11 Oct 2024 01:11:29 +0200 Subject: [PATCH] Fix issue #384 (#404) * update release flag * increase version to 2.0.3.1 * fix issue #384 --------- Co-authored-by: tri Co-authored-by: Bigpiggy01 <50628656+Bigpiggy01@users.noreply.github.com> --- build.properties | 4 ++-- configure.ac | 4 ++-- src/rpc/rpcassets.cpp | 8 ++++++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/build.properties b/build.properties index 2fae9635a..599a90600 100644 --- a/build.properties +++ b/build.properties @@ -1,3 +1,3 @@ snapshot-version=2.0.3.99-SNAPSHOT -release-version=2.0.3.00 -candidate-version=2.0.3.00-candidate \ No newline at end of file +release-version=2.0.3.01 +candidate-version=2.0.3.01-candidate \ No newline at end of file diff --git a/configure.ac b/configure.ac index 86646fc49..8487c0cd4 100644 --- a/configure.ac +++ b/configure.ac @@ -2,8 +2,8 @@ AC_PREREQ([2.69]) define(_CLIENT_VERSION_MAJOR, 2) define(_CLIENT_VERSION_MINOR, 0) define(_CLIENT_VERSION_REVISION, 03) -define(_CLIENT_VERSION_BUILD, 99) -define(_CLIENT_VERSION_IS_RELEASE, false) +define(_CLIENT_VERSION_BUILD, 01) +define(_CLIENT_VERSION_IS_RELEASE, true) define(_COPYRIGHT_YEAR, 2024) define(_COPYRIGHT_HOLDERS,[The %s developers]) define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Raptoreum Core]]) diff --git a/src/rpc/rpcassets.cpp b/src/rpc/rpcassets.cpp index 2dc6eff22..f27021ca6 100644 --- a/src/rpc/rpcassets.cpp +++ b/src/rpc/rpcassets.cpp @@ -59,7 +59,7 @@ UniValue createasset(const JSONRPCRequest &request) { "\nArguments:\n" "1. \"asset\" (string, required) A json object with asset metadata\n" "{\n" - " \"name:\" (string) Asset name\n" + " \"name:\" (string) Asset name (must be uppercase for root asset)\n" " \"updatable:\" (bool, optional, default=true) if true this asset can be modify using reissue process.\n" " \"is_root:\" (bool, required) if this asset is root.\n" " \"root_name:\" (string) the root asset name for this sub asset.\n" @@ -78,9 +78,13 @@ UniValue createasset(const JSONRPCRequest &request) { "\nExamples:\n" + HelpExampleCli("createasset", - "'{\"name\":\"test asset\", \"updatable\":true, \"isunique\":false, \"maxMintCount\":10, \n" + "'{\"name\":\"TEST ASSET\", \"updatable\":true, \"is_root\":true, \"isunique\":false, \"maxMintCount\":10, \n" "\"decimalpoint\":2, \"referenceHash\":\"\", \"type\":0, \"targetAddress\":\"yQPzaDmnF3FtRsoWijUN7aZDcEdyNAcmVk\", \n" "\"issueFrequency\":0, \"amount\":10000,\"ownerAddress\":\"yRyiTCKfqMG2dQ9oUvs932TjN1R1MNUTWM\"}'") + + HelpExampleCli("createasset", + "'{\"name\":\"sub test asset\", \"is_root\":false, \"root_name\":\"TEST ASSET\", \"isunique\":false, \"maxMintCount\":10, \n" + "\"decimalpoint\":2, \"referenceHash\":\"\", \"type\":0, \"targetAddress\":\"yQPzaDmnF3FtRsoWijUN7aZDcEdyNAcmVk\", \n" + "\"issueFrequency\":0, \"amount\":10000,\"ownerAddress\":\"yRyiTCKfqMG2dQ9oUvs932TjN1R1MNUTWM\"}'") ); if (getAssetsFees() == 0) {