Skip to content

Commit 4d88475

Browse files
[autofix.ci] apply automated fixes
1 parent b1ddb79 commit 4d88475

File tree

1 file changed

+70
-22
lines changed

1 file changed

+70
-22
lines changed

contracts/hackatom/schema/hackatom.json

Lines changed: 70 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"$schema": "http://json-schema.org/draft-07/schema#",
77
"title": "InstantiateMsg",
88
"type": "object",
9-
"required": ["beneficiary", "verifier"],
9+
"required": [
10+
"beneficiary",
11+
"verifier"
12+
],
1013
"properties": {
1114
"beneficiary": {
1215
"type": "string"
@@ -24,11 +27,15 @@
2427
{
2528
"description": "Releasing all funds of the given denom in the contract to the beneficiary. This is the only \"proper\" action of this demo contract.",
2629
"type": "object",
27-
"required": ["release"],
30+
"required": [
31+
"release"
32+
],
2833
"properties": {
2934
"release": {
3035
"type": "object",
31-
"required": ["denom"],
36+
"required": [
37+
"denom"
38+
],
3239
"properties": {
3340
"denom": {
3441
"type": "string"
@@ -42,7 +49,9 @@
4249
{
4350
"description": "Infinite loop to burn cpu cycles (only run when metering is enabled)",
4451
"type": "object",
45-
"required": ["cpu_loop"],
52+
"required": [
53+
"cpu_loop"
54+
],
4655
"properties": {
4756
"cpu_loop": {
4857
"type": "object",
@@ -54,7 +63,9 @@
5463
{
5564
"description": "Infinite loop making storage calls (to test when their limit hits)",
5665
"type": "object",
57-
"required": ["storage_loop"],
66+
"required": [
67+
"storage_loop"
68+
],
5869
"properties": {
5970
"storage_loop": {
6071
"type": "object",
@@ -66,7 +77,9 @@
6677
{
6778
"description": "Infinite loop reading and writing memory",
6879
"type": "object",
69-
"required": ["memory_loop"],
80+
"required": [
81+
"memory_loop"
82+
],
7083
"properties": {
7184
"memory_loop": {
7285
"type": "object",
@@ -78,7 +91,9 @@
7891
{
7992
"description": "Infinite loop sending message to itself",
8093
"type": "object",
81-
"required": ["message_loop"],
94+
"required": [
95+
"message_loop"
96+
],
8297
"properties": {
8398
"message_loop": {
8499
"type": "object",
@@ -90,11 +105,15 @@
90105
{
91106
"description": "Allocate large amounts of memory without consuming much gas",
92107
"type": "object",
93-
"required": ["allocate_large_memory"],
108+
"required": [
109+
"allocate_large_memory"
110+
],
94111
"properties": {
95112
"allocate_large_memory": {
96113
"type": "object",
97-
"required": ["pages"],
114+
"required": [
115+
"pages"
116+
],
98117
"properties": {
99118
"pages": {
100119
"type": "integer",
@@ -110,7 +129,9 @@
110129
{
111130
"description": "Trigger a panic to ensure framework handles gracefully",
112131
"type": "object",
113-
"required": ["panic"],
132+
"required": [
133+
"panic"
134+
],
114135
"properties": {
115136
"panic": {
116137
"type": "object",
@@ -122,7 +143,9 @@
122143
{
123144
"description": "Starting with CosmWasm 0.10, some API calls return user errors back to the contract. This triggers such user errors, ensuring the transaction does not fail in the backend.",
124145
"type": "object",
125-
"required": ["user_errors_in_api_calls"],
146+
"required": [
147+
"user_errors_in_api_calls"
148+
],
126149
"properties": {
127150
"user_errors_in_api_calls": {
128151
"type": "object",
@@ -140,7 +163,9 @@
140163
{
141164
"description": "returns a human-readable representation of the verifier use to ensure query path works in integration tests",
142165
"type": "object",
143-
"required": ["verifier"],
166+
"required": [
167+
"verifier"
168+
],
144169
"properties": {
145170
"verifier": {
146171
"type": "object",
@@ -152,11 +177,16 @@
152177
{
153178
"description": "Recurse will execute a query into itself up to depth-times and return Each step of the recursion may perform some extra work to test gas metering (`work` rounds of sha256 on contract). Now that we have Env, we can auto-calculate the address to recurse into",
154179
"type": "object",
155-
"required": ["recurse"],
180+
"required": [
181+
"recurse"
182+
],
156183
"properties": {
157184
"recurse": {
158185
"type": "object",
159-
"required": ["depth", "work"],
186+
"required": [
187+
"depth",
188+
"work"
189+
],
160190
"properties": {
161191
"depth": {
162192
"type": "integer",
@@ -177,7 +207,9 @@
177207
{
178208
"description": "GetInt returns a hardcoded u32 value",
179209
"type": "object",
180-
"required": ["get_int"],
210+
"required": [
211+
"get_int"
212+
],
181213
"properties": {
182214
"get_int": {
183215
"type": "object",
@@ -193,7 +225,9 @@
193225
"title": "MigrateMsg",
194226
"description": "MigrateMsg allows a privileged contract administrator to run a migration on the contract. In this (demo) case it is just migrating from one hackatom code to the same code, but taking advantage of the migration step to set a new validator.\n\nNote that the contract doesn't enforce permissions here, this is done by blockchain logic (in the future by blockchain governance)",
195227
"type": "object",
196-
"required": ["verifier"],
228+
"required": [
229+
"verifier"
230+
],
197231
"properties": {
198232
"verifier": {
199233
"type": "string"
@@ -208,11 +242,16 @@
208242
"oneOf": [
209243
{
210244
"type": "object",
211-
"required": ["steal_funds"],
245+
"required": [
246+
"steal_funds"
247+
],
212248
"properties": {
213249
"steal_funds": {
214250
"type": "object",
215-
"required": ["amount", "recipient"],
251+
"required": [
252+
"amount",
253+
"recipient"
254+
],
216255
"properties": {
217256
"amount": {
218257
"type": "array",
@@ -233,7 +272,10 @@
233272
"definitions": {
234273
"Coin": {
235274
"type": "object",
236-
"required": ["amount", "denom"],
275+
"required": [
276+
"amount",
277+
"denom"
278+
],
237279
"properties": {
238280
"amount": {
239281
"$ref": "#/definitions/Uint256"
@@ -255,7 +297,9 @@
255297
"$schema": "http://json-schema.org/draft-07/schema#",
256298
"title": "IntResponse",
257299
"type": "object",
258-
"required": ["int"],
300+
"required": [
301+
"int"
302+
],
259303
"properties": {
260304
"int": {
261305
"type": "integer",
@@ -269,7 +313,9 @@
269313
"$schema": "http://json-schema.org/draft-07/schema#",
270314
"title": "RecurseResponse",
271315
"type": "object",
272-
"required": ["hashed"],
316+
"required": [
317+
"hashed"
318+
],
273319
"properties": {
274320
"hashed": {
275321
"description": "hashed is the result of running sha256 \"work+1\" times on the contract's human address",
@@ -292,7 +338,9 @@
292338
"$schema": "http://json-schema.org/draft-07/schema#",
293339
"title": "VerifierResponse",
294340
"type": "object",
295-
"required": ["verifier"],
341+
"required": [
342+
"verifier"
343+
],
296344
"properties": {
297345
"verifier": {
298346
"type": "string"

0 commit comments

Comments
 (0)