From f1486fb989f58dca25d41d1d7303ba65522b89cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Thu, 6 Jun 2024 16:02:15 +0100 Subject: [PATCH] updated schema files --- contracts/mixnet/schema/nym-mixnet-contract.json | 15 +++++++++++++++ .../raw/response_to_get_contract_version.json | 15 +++++++++++++++ .../schema/cw3-flex-multisig.json | 8 ++++---- .../cw3-flex-multisig/schema/raw/execute.json | 2 +- .../schema/raw/response_to_list_proposals.json | 2 +- .../schema/raw/response_to_proposal.json | 2 +- .../schema/raw/response_to_reverse_proposals.json | 2 +- .../vesting/schema/nym-vesting-contract.json | 15 +++++++++++++++ .../raw/response_to_get_contract_version.json | 15 +++++++++++++++ 9 files changed, 68 insertions(+), 8 deletions(-) diff --git a/contracts/mixnet/schema/nym-mixnet-contract.json b/contracts/mixnet/schema/nym-mixnet-contract.json index 829a510d1b..971cbc27fb 100644 --- a/contracts/mixnet/schema/nym-mixnet-contract.json +++ b/contracts/mixnet/schema/nym-mixnet-contract.json @@ -3402,6 +3402,16 @@ "description": "Provides the build version, for example `0.1.0-9-g46f83e1`.", "type": "string" }, + "cargo_debug": { + "description": "Provides the cargo debug mode that was used for the build.", + "default": "unknown", + "type": "string" + }, + "cargo_opt_level": { + "description": "Provides the opt value set by cargo during the build", + "default": "unknown", + "type": "string" + }, "commit_branch": { "description": "Provides the name of the git branch that was used for the build, for example `master`.", "type": "string" @@ -3414,6 +3424,11 @@ "description": "Provides the timestamp of the commit that was used for the build, for example `2021-02-23T08:08:02-05:00`.", "type": "string" }, + "contract_name": { + "description": "Provides the name of the binary, i.e. the content of `CARGO_PKG_NAME` environmental variable.", + "default": "unknown", + "type": "string" + }, "rustc_version": { "description": "Provides the rustc version that was used for the build, for example `1.52.0-nightly`.", "type": "string" diff --git a/contracts/mixnet/schema/raw/response_to_get_contract_version.json b/contracts/mixnet/schema/raw/response_to_get_contract_version.json index 60ae65f3d1..89cc57c887 100644 --- a/contracts/mixnet/schema/raw/response_to_get_contract_version.json +++ b/contracts/mixnet/schema/raw/response_to_get_contract_version.json @@ -19,6 +19,16 @@ "description": "Provides the build version, for example `0.1.0-9-g46f83e1`.", "type": "string" }, + "cargo_debug": { + "description": "Provides the cargo debug mode that was used for the build.", + "default": "unknown", + "type": "string" + }, + "cargo_opt_level": { + "description": "Provides the opt value set by cargo during the build", + "default": "unknown", + "type": "string" + }, "commit_branch": { "description": "Provides the name of the git branch that was used for the build, for example `master`.", "type": "string" @@ -31,6 +41,11 @@ "description": "Provides the timestamp of the commit that was used for the build, for example `2021-02-23T08:08:02-05:00`.", "type": "string" }, + "contract_name": { + "description": "Provides the name of the binary, i.e. the content of `CARGO_PKG_NAME` environmental variable.", + "default": "unknown", + "type": "string" + }, "rustc_version": { "description": "Provides the rustc version that was used for the build, for example `1.52.0-nightly`.", "type": "string" diff --git a/contracts/multisig/cw3-flex-multisig/schema/cw3-flex-multisig.json b/contracts/multisig/cw3-flex-multisig/schema/cw3-flex-multisig.json index 0cf9dd08eb..8f116581d2 100644 --- a/contracts/multisig/cw3-flex-multisig/schema/cw3-flex-multisig.json +++ b/contracts/multisig/cw3-flex-multisig/schema/cw3-flex-multisig.json @@ -731,7 +731,7 @@ } }, "label": { - "description": "A human-readbale label for the contract", + "description": "A human-readable label for the contract.\n\nValid values should: - not be empty - not be bigger than 128 bytes (or some chain-specific limit) - not start / end with whitespace", "type": "string" }, "msg": { @@ -1892,7 +1892,7 @@ } }, "label": { - "description": "A human-readbale label for the contract", + "description": "A human-readable label for the contract.\n\nValid values should: - not be empty - not be bigger than 128 bytes (or some chain-specific limit) - not start / end with whitespace", "type": "string" }, "msg": { @@ -2634,7 +2634,7 @@ } }, "label": { - "description": "A human-readbale label for the contract", + "description": "A human-readable label for the contract.\n\nValid values should: - not be empty - not be bigger than 128 bytes (or some chain-specific limit) - not start / end with whitespace", "type": "string" }, "msg": { @@ -3274,7 +3274,7 @@ } }, "label": { - "description": "A human-readbale label for the contract", + "description": "A human-readable label for the contract.\n\nValid values should: - not be empty - not be bigger than 128 bytes (or some chain-specific limit) - not start / end with whitespace", "type": "string" }, "msg": { diff --git a/contracts/multisig/cw3-flex-multisig/schema/raw/execute.json b/contracts/multisig/cw3-flex-multisig/schema/raw/execute.json index d8ba71d2ac..2602f1020c 100644 --- a/contracts/multisig/cw3-flex-multisig/schema/raw/execute.json +++ b/contracts/multisig/cw3-flex-multisig/schema/raw/execute.json @@ -466,7 +466,7 @@ } }, "label": { - "description": "A human-readbale label for the contract", + "description": "A human-readable label for the contract.\n\nValid values should: - not be empty - not be bigger than 128 bytes (or some chain-specific limit) - not start / end with whitespace", "type": "string" }, "msg": { diff --git a/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_list_proposals.json b/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_list_proposals.json index 3be3146d06..6bf521237e 100644 --- a/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_list_proposals.json +++ b/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_list_proposals.json @@ -535,7 +535,7 @@ } }, "label": { - "description": "A human-readbale label for the contract", + "description": "A human-readable label for the contract.\n\nValid values should: - not be empty - not be bigger than 128 bytes (or some chain-specific limit) - not start / end with whitespace", "type": "string" }, "msg": { diff --git a/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_proposal.json b/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_proposal.json index 7fc7573570..0a16e26436 100644 --- a/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_proposal.json +++ b/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_proposal.json @@ -520,7 +520,7 @@ } }, "label": { - "description": "A human-readbale label for the contract", + "description": "A human-readable label for the contract.\n\nValid values should: - not be empty - not be bigger than 128 bytes (or some chain-specific limit) - not start / end with whitespace", "type": "string" }, "msg": { diff --git a/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_reverse_proposals.json b/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_reverse_proposals.json index 3be3146d06..6bf521237e 100644 --- a/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_reverse_proposals.json +++ b/contracts/multisig/cw3-flex-multisig/schema/raw/response_to_reverse_proposals.json @@ -535,7 +535,7 @@ } }, "label": { - "description": "A human-readbale label for the contract", + "description": "A human-readable label for the contract.\n\nValid values should: - not be empty - not be bigger than 128 bytes (or some chain-specific limit) - not start / end with whitespace", "type": "string" }, "msg": { diff --git a/contracts/vesting/schema/nym-vesting-contract.json b/contracts/vesting/schema/nym-vesting-contract.json index 6dd3678fd3..7d016b8e68 100644 --- a/contracts/vesting/schema/nym-vesting-contract.json +++ b/contracts/vesting/schema/nym-vesting-contract.json @@ -2178,6 +2178,16 @@ "description": "Provides the build version, for example `0.1.0-9-g46f83e1`.", "type": "string" }, + "cargo_debug": { + "description": "Provides the cargo debug mode that was used for the build.", + "default": "unknown", + "type": "string" + }, + "cargo_opt_level": { + "description": "Provides the opt value set by cargo during the build", + "default": "unknown", + "type": "string" + }, "commit_branch": { "description": "Provides the name of the git branch that was used for the build, for example `master`.", "type": "string" @@ -2190,6 +2200,11 @@ "description": "Provides the timestamp of the commit that was used for the build, for example `2021-02-23T08:08:02-05:00`.", "type": "string" }, + "contract_name": { + "description": "Provides the name of the binary, i.e. the content of `CARGO_PKG_NAME` environmental variable.", + "default": "unknown", + "type": "string" + }, "rustc_version": { "description": "Provides the rustc version that was used for the build, for example `1.52.0-nightly`.", "type": "string" diff --git a/contracts/vesting/schema/raw/response_to_get_contract_version.json b/contracts/vesting/schema/raw/response_to_get_contract_version.json index 60ae65f3d1..89cc57c887 100644 --- a/contracts/vesting/schema/raw/response_to_get_contract_version.json +++ b/contracts/vesting/schema/raw/response_to_get_contract_version.json @@ -19,6 +19,16 @@ "description": "Provides the build version, for example `0.1.0-9-g46f83e1`.", "type": "string" }, + "cargo_debug": { + "description": "Provides the cargo debug mode that was used for the build.", + "default": "unknown", + "type": "string" + }, + "cargo_opt_level": { + "description": "Provides the opt value set by cargo during the build", + "default": "unknown", + "type": "string" + }, "commit_branch": { "description": "Provides the name of the git branch that was used for the build, for example `master`.", "type": "string" @@ -31,6 +41,11 @@ "description": "Provides the timestamp of the commit that was used for the build, for example `2021-02-23T08:08:02-05:00`.", "type": "string" }, + "contract_name": { + "description": "Provides the name of the binary, i.e. the content of `CARGO_PKG_NAME` environmental variable.", + "default": "unknown", + "type": "string" + }, "rustc_version": { "description": "Provides the rustc version that was used for the build, for example `1.52.0-nightly`.", "type": "string"