diff --git a/contracts/ecash/schema/nym-ecash.json b/contracts/ecash/schema/nym-ecash.json index 542c518df4..ac73be5fb1 100644 --- a/contracts/ecash/schema/nym-ecash.json +++ b/contracts/ecash/schema/nym-ecash.json @@ -7,26 +7,47 @@ "title": "InstantiateMsg", "type": "object", "required": [ + "deposit_amount", "group_addr", "holding_account", - "mix_denom", "multisig_addr" ], "properties": { + "deposit_amount": { + "$ref": "#/definitions/Coin" + }, "group_addr": { "type": "string" }, "holding_account": { "type": "string" }, - "mix_denom": { - "type": "string" - }, "multisig_addr": { "type": "string" } }, - "additionalProperties": false + "additionalProperties": false, + "definitions": { + "Coin": { + "type": "object", + "required": [ + "amount", + "denom" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "denom": { + "type": "string" + } + } + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } }, "execute": { "$schema": "http://json-schema.org/draft-07/schema#", diff --git a/contracts/ecash/schema/raw/instantiate.json b/contracts/ecash/schema/raw/instantiate.json index 0b228df79c..cddf0ba473 100644 --- a/contracts/ecash/schema/raw/instantiate.json +++ b/contracts/ecash/schema/raw/instantiate.json @@ -3,24 +3,45 @@ "title": "InstantiateMsg", "type": "object", "required": [ + "deposit_amount", "group_addr", "holding_account", - "mix_denom", "multisig_addr" ], "properties": { + "deposit_amount": { + "$ref": "#/definitions/Coin" + }, "group_addr": { "type": "string" }, "holding_account": { "type": "string" }, - "mix_denom": { - "type": "string" - }, "multisig_addr": { "type": "string" } }, - "additionalProperties": false + "additionalProperties": false, + "definitions": { + "Coin": { + "type": "object", + "required": [ + "amount", + "denom" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "denom": { + "type": "string" + } + } + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } } diff --git a/nym-node/src/config/old_configs/old_config_v2.rs b/nym-node/src/config/old_configs/old_config_v2.rs index 5516a8d326..d9c2254407 100644 --- a/nym-node/src/config/old_configs/old_config_v2.rs +++ b/nym-node/src/config/old_configs/old_config_v2.rs @@ -925,6 +925,8 @@ pub async fn try_upgrade_config_v2>( announce_wss_port: old_cfg.entry_gateway.announce_wss_port, debug: EntryGatewayConfigDebug { message_retrieval_limit: old_cfg.entry_gateway.debug.message_retrieval_limit, + // \/ ADDED + zk_nym_tickets: Default::default(), }, }, exit_gateway: ExitGatewayConfig {