You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/reflect/schema/raw/execute.json
+29-6Lines changed: 29 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -532,12 +532,35 @@
532
532
},
533
533
"ReplyOn": {
534
534
"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.",
535
-
"type": "string",
536
-
"enum": [
537
-
"always",
538
-
"error",
539
-
"success",
540
-
"never"
535
+
"oneOf": [
536
+
{
537
+
"description": "Always perform a callback after SubMsg is processed",
538
+
"type": "string",
539
+
"enum": [
540
+
"always"
541
+
]
542
+
},
543
+
{
544
+
"description": "Only callback if SubMsg returned an error, no callback on success case",
545
+
"type": "string",
546
+
"enum": [
547
+
"error"
548
+
]
549
+
},
550
+
{
551
+
"description": "Only callback if SubMsg was successful, no callback on error case",
552
+
"type": "string",
553
+
"enum": [
554
+
"success"
555
+
]
556
+
},
557
+
{
558
+
"description": "Never make a callback - this is like the original CosmosMsg semantics",
Copy file name to clipboardExpand all lines: contracts/reflect/schema/reflect.json
+29-6Lines changed: 29 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -542,12 +542,35 @@
542
542
},
543
543
"ReplyOn": {
544
544
"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.",
545
-
"type": "string",
546
-
"enum": [
547
-
"always",
548
-
"error",
549
-
"success",
550
-
"never"
545
+
"oneOf": [
546
+
{
547
+
"description": "Always perform a callback after SubMsg is processed",
548
+
"type": "string",
549
+
"enum": [
550
+
"always"
551
+
]
552
+
},
553
+
{
554
+
"description": "Only callback if SubMsg returned an error, no callback on success case",
555
+
"type": "string",
556
+
"enum": [
557
+
"error"
558
+
]
559
+
},
560
+
{
561
+
"description": "Only callback if SubMsg was successful, no callback on error case",
562
+
"type": "string",
563
+
"enum": [
564
+
"success"
565
+
]
566
+
},
567
+
{
568
+
"description": "Never make a callback - this is like the original CosmosMsg semantics",
0 commit comments