Skip to content

Commit

Permalink
Remove floaty execute variant from schema
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Sep 20, 2023
1 parent 6a5aa87 commit c52d47c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions contracts/floaty/schema/floaty.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
"description": "An empty struct that serves as a placeholder in different places, such as contracts that don't set a custom message.\n\nIt is designed to be expressable in correct JSON and JSON Schema but contains no meaningful data. Previously we used enums without cases, but those cannot represented as valid JSON Schema (https://github.com/CosmWasm/cosmwasm/issues/451)",
"type": "object"
},
"execute": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ExecuteMsg",
"description": "An empty struct that serves as a placeholder in different places, such as contracts that don't set a custom message.\n\nIt is designed to be expressable in correct JSON and JSON Schema but contains no meaningful data. Previously we used enums without cases, but those cannot represented as valid JSON Schema (https://github.com/CosmWasm/cosmwasm/issues/451)",
"type": "object"
},
"execute": null,
"query": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "QueryMsg",
Expand Down
1 change: 0 additions & 1 deletion contracts/floaty/src/bin/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ fn main() {
write_api! {
instantiate: Empty,
query: QueryMsg,
execute: Empty,
}
}

0 comments on commit c52d47c

Please sign in to comment.