Skip to content

Commit

Permalink
Recreate contracts/reflect schemas (not sure why)
Browse files Browse the repository at this point in the history
  • Loading branch information
toml01 committed Feb 22, 2023
1 parent e4f02e7 commit 4edc542
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 12 deletions.
35 changes: 29 additions & 6 deletions contracts/reflect/schema/raw/execute.json
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,35 @@
},
"ReplyOn": {
"description": "Use this to define when the contract gets a response callback. If you only need it for errors or success you can select just those in order to save gas.",
"type": "string",
"enum": [
"always",
"error",
"success",
"never"
"oneOf": [
{
"description": "Always perform a callback after SubMsg is processed",
"type": "string",
"enum": [
"always"
]
},
{
"description": "Only callback if SubMsg returned an error, no callback on success case",
"type": "string",
"enum": [
"error"
]
},
{
"description": "Only callback if SubMsg was successful, no callback on error case",
"type": "string",
"enum": [
"success"
]
},
{
"description": "Never make a callback - this is like the original CosmosMsg semantics",
"type": "string",
"enum": [
"never"
]
}
]
},
"StakingMsg": {
Expand Down
35 changes: 29 additions & 6 deletions contracts/reflect/schema/reflect.json
Original file line number Diff line number Diff line change
Expand Up @@ -542,12 +542,35 @@
},
"ReplyOn": {
"description": "Use this to define when the contract gets a response callback. If you only need it for errors or success you can select just those in order to save gas.",
"type": "string",
"enum": [
"always",
"error",
"success",
"never"
"oneOf": [
{
"description": "Always perform a callback after SubMsg is processed",
"type": "string",
"enum": [
"always"
]
},
{
"description": "Only callback if SubMsg returned an error, no callback on success case",
"type": "string",
"enum": [
"error"
]
},
{
"description": "Only callback if SubMsg was successful, no callback on error case",
"type": "string",
"enum": [
"success"
]
},
{
"description": "Never make a callback - this is like the original CosmosMsg semantics",
"type": "string",
"enum": [
"never"
]
}
]
},
"StakingMsg": {
Expand Down

0 comments on commit 4edc542

Please sign in to comment.