Skip to content

Commit f5d659d

Browse files
authored
Merge pull request #11591 from ethereum/fix-develop-docs-ci
[DOCS] Change code block into proper JSON
2 parents 22402ac + 4c21639 commit f5d659d

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docs/internals/layout_in_storage.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -240,66 +240,66 @@ value and reference types, types that are encoded packed, and nested types.
240240
241241
.. code:: json
242242
243-
"storageLayout": {
243+
{
244244
"storage": [
245245
{
246-
"astId": 14,
246+
"astId": 15,
247247
"contract": "fileA:A",
248248
"label": "x",
249249
"offset": 0,
250250
"slot": "0",
251251
"type": "t_uint256"
252252
},
253253
{
254-
"astId": 16,
254+
"astId": 17,
255255
"contract": "fileA:A",
256256
"label": "y",
257257
"offset": 0,
258258
"slot": "1",
259259
"type": "t_uint256"
260260
},
261261
{
262-
"astId": 18,
262+
"astId": 20,
263263
"contract": "fileA:A",
264264
"label": "s",
265265
"offset": 0,
266266
"slot": "2",
267-
"type": "t_struct(S)12_storage"
267+
"type": "t_struct(S)13_storage"
268268
},
269269
{
270-
"astId": 20,
270+
"astId": 22,
271271
"contract": "fileA:A",
272272
"label": "addr",
273273
"offset": 0,
274274
"slot": "6",
275275
"type": "t_address"
276276
},
277277
{
278-
"astId": 26,
278+
"astId": 28,
279279
"contract": "fileA:A",
280280
"label": "map",
281281
"offset": 0,
282282
"slot": "7",
283283
"type": "t_mapping(t_uint256,t_mapping(t_address,t_bool))"
284284
},
285285
{
286-
"astId": 29,
286+
"astId": 31,
287287
"contract": "fileA:A",
288288
"label": "array",
289289
"offset": 0,
290290
"slot": "8",
291291
"type": "t_array(t_uint256)dyn_storage"
292292
},
293293
{
294-
"astId": 31,
294+
"astId": 33,
295295
"contract": "fileA:A",
296296
"label": "s1",
297297
"offset": 0,
298298
"slot": "9",
299299
"type": "t_string_storage"
300300
},
301301
{
302-
"astId": 33,
302+
"astId": 35,
303303
"contract": "fileA:A",
304304
"label": "b1",
305305
"offset": 0,
@@ -354,36 +354,36 @@ value and reference types, types that are encoded packed, and nested types.
354354
"label": "string",
355355
"numberOfBytes": "32"
356356
},
357-
"t_struct(S)12_storage": {
357+
"t_struct(S)13_storage": {
358358
"encoding": "inplace",
359359
"label": "struct A.S",
360360
"members": [
361361
{
362-
"astId": 2,
362+
"astId": 3,
363363
"contract": "fileA:A",
364364
"label": "a",
365365
"offset": 0,
366366
"slot": "0",
367367
"type": "t_uint128"
368368
},
369369
{
370-
"astId": 4,
370+
"astId": 5,
371371
"contract": "fileA:A",
372372
"label": "b",
373373
"offset": 16,
374374
"slot": "0",
375375
"type": "t_uint128"
376376
},
377377
{
378-
"astId": 8,
378+
"astId": 9,
379379
"contract": "fileA:A",
380380
"label": "staticArray",
381381
"offset": 0,
382382
"slot": "1",
383383
"type": "t_array(t_uint256)2_storage"
384384
},
385385
{
386-
"astId": 11,
386+
"astId": 12,
387387
"contract": "fileA:A",
388388
"label": "dynArray",
389389
"offset": 0,

0 commit comments

Comments
 (0)