diff --git a/.circleci/config.yml b/.circleci/config.yml index ca73378..d26ef05 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,8 +5,7 @@ executors: docker: - image: rust:1.81.0 ubuntu: - machine: - image: ubuntu-2004:202201-02 + machine: true ci-builds: docker: - image: cibuilds/github:0.13 diff --git a/contracts/price-feed/schema/instantiate_msg.json b/contracts/price-feed/schema/instantiate_msg.json index c94003b..67bed73 100644 --- a/contracts/price-feed/schema/instantiate_msg.json +++ b/contracts/price-feed/schema/instantiate_msg.json @@ -6,6 +6,7 @@ "ask_count", "client_id", "execute_gas", + "fee", "fee_limit", "min_count", "minimum_sources", @@ -22,6 +23,12 @@ "execute_gas": { "$ref": "#/definitions/Uint64" }, + "fee": { + "type": "array", + "items": { + "$ref": "#/definitions/Coin" + } + }, "fee_limit": { "type": "array", "items": { @@ -58,7 +65,8 @@ "denom": { "type": "string" } - } + }, + "additionalProperties": false }, "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); ```", diff --git a/contracts/price-feed/examples/schema.rs b/contracts/price-feed/src/bin/schema.rs similarity index 100% rename from contracts/price-feed/examples/schema.rs rename to contracts/price-feed/src/bin/schema.rs