Skip to content

Commit b3eac0d

Browse files
committed
test(logic): update test with gas and docs
1 parent 2e3f121 commit b3eac0d

15 files changed

+69
-69
lines changed

docs/predicate/bech32_address_2.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ bech32_address(Address, 'axone15wn30a9z4uc692s0kkx5fp5d4qfr3ac77gvjg4').
4343

4444
``` yaml
4545
height: 42
46-
gas_used: 3876
46+
gas_used: 4140
4747
answer:
4848
has_more: false
4949
variables: ["Address"]
@@ -72,7 +72,7 @@ bech32_address(-(Hrp, Address), 'axone15wn30a9z4uc692s0kkx5fp5d4qfr3ac77gvjg4').
7272

7373
``` yaml
7474
height: 42
75-
gas_used: 3876
75+
gas_used: 4140
7676
answer:
7777
has_more: false
7878
variables: ["Hrp", "Address"]
@@ -102,7 +102,7 @@ bech32_address(-(axone, Address), 'axone15wn30a9z4uc692s0kkx5fp5d4qfr3ac77gvjg4'
102102

103103
``` yaml
104104
height: 42
105-
gas_used: 3876
105+
gas_used: 4140
106106
answer:
107107
has_more: false
108108
variables: ["Address"]
@@ -129,7 +129,7 @@ bech32_address(-('axone', [163,167,23,244,162,175,49,162,170,15,181,141,68,134,1
129129

130130
``` yaml
131131
height: 42
132-
gas_used: 3876
132+
gas_used: 4140
133133
answer:
134134
has_more: false
135135
variables: ["Bech32"]
@@ -162,7 +162,7 @@ axone_addr('axone1p8u47en82gmzfm259y6z93r9qe63l25d858vqu').
162162

163163
``` yaml
164164
height: 42
165-
gas_used: 3876
165+
gas_used: 4140
166166
answer:
167167
has_more: false
168168
results:
@@ -188,7 +188,7 @@ bech32_address(Address, axoneincorrect).
188188

189189
``` yaml
190190
height: 42
191-
gas_used: 3876
191+
gas_used: 4140
192192
answer:
193193
has_more: false
194194
variables: ["Address"]
@@ -215,7 +215,7 @@ bech32_address(-('axone', X), foo(bar)).
215215

216216
``` yaml
217217
height: 42
218-
gas_used: 3876
218+
gas_used: 4140
219219
answer:
220220
has_more: false
221221
variables: ["X"]

docs/predicate/block_height_1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ block_height(Height).
4444

4545
``` yaml
4646
height: 100
47-
gas_used: 3876
47+
gas_used: 4140
4848
answer:
4949
has_more: false
5050
variables: ["Height"]
@@ -79,7 +79,7 @@ Height > 100.
7979

8080
``` yaml
8181
height: 101
82-
gas_used: 3877
82+
gas_used: 4141
8383
answer:
8484
has_more: false
8585
variables: ["Height"]

docs/predicate/block_time_1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ block_time(Time).
4444

4545
``` yaml
4646
height: 42
47-
gas_used: 3876
47+
gas_used: 4140
4848
answer:
4949
has_more: false
5050
variables: ["Time"]
@@ -80,7 +80,7 @@ Time > 1709550216.
8080

8181
``` yaml
8282
height: 42
83-
gas_used: 3877
83+
gas_used: 4141
8484
answer:
8585
has_more: false
8686
variables: ["Time"]

docs/predicate/consult_1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ hello(Who).
6565

6666
``` yaml
6767
height: 42
68-
gas_used: 3878
68+
gas_used: 4142
6969
answer:
7070
has_more: false
7171
variables: ["Who"]
@@ -129,7 +129,7 @@ response: |
129129

130130
``` yaml
131131
height: 42
132-
gas_used: 3877
132+
gas_used: 4141
133133
answer:
134134
has_more: false
135135
variables: ["X"]
@@ -194,7 +194,7 @@ source_file(File).
194194

195195
``` yaml
196196
height: 42
197-
gas_used: 3877
197+
gas_used: 4141
198198
answer:
199199
has_more: false
200200
variables: ["File"]

docs/predicate/current_output_1.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ write_char_to_user_output(x).
6161

6262
``` yaml
6363
height: 42
64-
gas_used: 3976
64+
gas_used: 4240
6565
answer:
6666
has_more: false
6767
variables:
@@ -108,7 +108,7 @@ log_message('Hello world!').
108108

109109
``` yaml
110110
height: 42
111-
gas_used: 4010
111+
gas_used: 4274
112112
answer:
113113
has_more: false
114114
variables:
@@ -155,7 +155,7 @@ log_message('Hello world!').
155155

156156
``` yaml
157157
height: 42
158-
gas_used: 3976
158+
gas_used: 4240
159159
answer:
160160
has_more: false
161161
variables:
@@ -205,7 +205,7 @@ log_message("Hello 🧙!").
205205

206206
``` yaml
207207
height: 42
208-
gas_used: 3990
208+
gas_used: 4254
209209
answer:
210210
has_more: false
211211
variables:

docs/predicate/open_3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ open(
6262

6363
``` yaml
6464
height: 42
65-
gas_used: 3877
65+
gas_used: 4141
6666
answer:
6767
has_more: false
6868
variables:

docs/predicate/open_4.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ open(URI, read, _, []).
100100

101101
``` yaml
102102
height: 42
103-
gas_used: 3882
103+
gas_used: 4146
104104
answer:
105105
has_more: false
106106
variables: ["URI"]
@@ -152,7 +152,7 @@ read_resource('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08x
152152

153153
``` yaml
154154
height: 42
155-
gas_used: 3878
155+
gas_used: 4142
156156
answer:
157157
has_more: false
158158
variables: ["Chars"]
@@ -202,7 +202,7 @@ read_resource('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08x
202202

203203
``` yaml
204204
height: 42
205-
gas_used: 3878
205+
gas_used: 4142
206206
answer:
207207
has_more: false
208208
variables: ["Chars"]
@@ -229,7 +229,7 @@ open('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08xd26fpdn3t
229229

230230
``` yaml
231231
height: 42
232-
gas_used: 3876
232+
gas_used: 4140
233233
answer:
234234
has_more: false
235235
variables: ["Stream"]
@@ -255,7 +255,7 @@ open('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08xd26fpdn3t
255255

256256
``` yaml
257257
height: 42
258-
gas_used: 3876
258+
gas_used: 4140
259259
answer:
260260
has_more: false
261261
variables: ["Stream"]
@@ -281,7 +281,7 @@ open('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08xd26fpdn3t
281281

282282
``` yaml
283283
height: 42
284-
gas_used: 3876
284+
gas_used: 4140
285285
answer:
286286
has_more: false
287287
variables: ["Stream"]
@@ -306,7 +306,7 @@ open('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08xd26fpdn3t
306306

307307
``` yaml
308308
height: 42
309-
gas_used: 3876
309+
gas_used: 4140
310310
answer:
311311
has_more: false
312312
variables: ["Stream"]

x/logic/keeper/features/bech32_address_2.feature

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Feature: bech32_address/2
1616
Then the answer we get is:
1717
""" yaml
1818
height: 42
19-
gas_used: 3876
19+
gas_used: 4140
2020
answer:
2121
has_more: false
2222
variables: ["Address"]
@@ -39,7 +39,7 @@ Feature: bech32_address/2
3939
Then the answer we get is:
4040
""" yaml
4141
height: 42
42-
gas_used: 3876
42+
gas_used: 4140
4343
answer:
4444
has_more: false
4545
variables: ["Hrp", "Address"]
@@ -63,7 +63,7 @@ Feature: bech32_address/2
6363
Then the answer we get is:
6464
""" yaml
6565
height: 42
66-
gas_used: 3876
66+
gas_used: 4140
6767
answer:
6868
has_more: false
6969
variables: ["Address"]
@@ -84,7 +84,7 @@ Feature: bech32_address/2
8484
Then the answer we get is:
8585
""" yaml
8686
height: 42
87-
gas_used: 3876
87+
gas_used: 4140
8888
answer:
8989
has_more: false
9090
variables: ["Bech32"]
@@ -109,7 +109,7 @@ Feature: bech32_address/2
109109
Then the answer we get is:
110110
""" yaml
111111
height: 42
112-
gas_used: 3876
112+
gas_used: 4140
113113
answer:
114114
has_more: false
115115
results:
@@ -130,7 +130,7 @@ Feature: bech32_address/2
130130
Then the answer we get is:
131131
""" yaml
132132
height: 42
133-
gas_used: 3876
133+
gas_used: 4140
134134
answer:
135135
has_more: false
136136
results:
@@ -146,7 +146,7 @@ Feature: bech32_address/2
146146
Then the answer we get is:
147147
""" yaml
148148
height: 42
149-
gas_used: 3876
149+
gas_used: 4140
150150
answer:
151151
has_more: false
152152
results:
@@ -163,7 +163,7 @@ Feature: bech32_address/2
163163
Then the answer we get is:
164164
""" yaml
165165
height: 42
166-
gas_used: 3876
166+
gas_used: 4140
167167
answer:
168168
has_more: false
169169
variables: ["Hrp"]
@@ -186,7 +186,7 @@ Feature: bech32_address/2
186186
Then the answer we get is:
187187
""" yaml
188188
height: 42
189-
gas_used: 3876
189+
gas_used: 4140
190190
answer:
191191
has_more: false
192192
variables: ["Address"]
@@ -207,7 +207,7 @@ Feature: bech32_address/2
207207
Then the answer we get is:
208208
""" yaml
209209
height: 42
210-
gas_used: 3876
210+
gas_used: 4140
211211
answer:
212212
has_more: false
213213
variables: ["X"]
@@ -227,7 +227,7 @@ Feature: bech32_address/2
227227
Then the answer we get is:
228228
""" yaml
229229
height: 42
230-
gas_used: 3876
230+
gas_used: 4140
231231
answer:
232232
has_more: false
233233
variables: ["Bech32"]
@@ -247,7 +247,7 @@ Feature: bech32_address/2
247247
Then the answer we get is:
248248
""" yaml
249249
height: 42
250-
gas_used: 3876
250+
gas_used: 4140
251251
answer:
252252
has_more: false
253253
variables: ["Bech32"]
@@ -267,7 +267,7 @@ Feature: bech32_address/2
267267
Then the answer we get is:
268268
""" yaml
269269
height: 42
270-
gas_used: 3876
270+
gas_used: 4140
271271
answer:
272272
has_more: false
273273
variables: ["Bech32"]
@@ -287,7 +287,7 @@ Feature: bech32_address/2
287287
Then the answer we get is:
288288
""" yaml
289289
height: 42
290-
gas_used: 3876
290+
gas_used: 4140
291291
answer:
292292
has_more: false
293293
variables: ["Bech32"]
@@ -307,7 +307,7 @@ Feature: bech32_address/2
307307
Then the answer we get is:
308308
""" yaml
309309
height: 42
310-
gas_used: 3876
310+
gas_used: 4140
311311
answer:
312312
has_more: false
313313
variables: ["Bech32"]
@@ -327,7 +327,7 @@ Feature: bech32_address/2
327327
Then the answer we get is:
328328
""" yaml
329329
height: 42
330-
gas_used: 3876
330+
gas_used: 4140
331331
answer:
332332
has_more: false
333333
variables: ["Address", "Bech32"]
@@ -347,7 +347,7 @@ Feature: bech32_address/2
347347
Then the answer we get is:
348348
""" yaml
349349
height: 42
350-
gas_used: 3876
350+
gas_used: 4140
351351
answer:
352352
has_more: false
353353
variables: ["Hrp", "Bech32"]

0 commit comments

Comments
 (0)