Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusarich committed Jul 24, 2024
1 parent da415ee commit 07fb778
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 62 deletions.
72 changes: 45 additions & 27 deletions src/generator/writers/__snapshots__/writeSerialization.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2867,17 +2867,19 @@ return $A$_as_optional($A$_from_tuple(v));",
{
"code": {
"code": "var (v'a, v'b, v'c, v'd, v'e, v'f, v'g) = v;
return (v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
return $A$_to_tuple(v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
"kind": "generic",
},
"comment": null,
"context": "type:A",
"depends": Set {},
"depends": Set {
"$A$_to_tuple",
},
"flags": Set {
"inline",
},
"name": "$A$_to_external",
"signature": "(int, int, int, int, int, int, int) $A$_to_external(((int, int, int, int, int, int, int)) v)",
"signature": "tuple $A$_to_external(((int, int, int, int, int, int, int)) v)",
},
{
"code": {
Expand Down Expand Up @@ -3125,17 +3127,19 @@ return $B$_as_optional($B$_from_tuple(v));",
{
"code": {
"code": "var (v'a, v'b, v'c, v'd, v'e, v'f, v'g) = v;
return (v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
return $B$_to_tuple(v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
"kind": "generic",
},
"comment": null,
"context": "type:B",
"depends": Set {},
"depends": Set {
"$B$_to_tuple",
},
"flags": Set {
"inline",
},
"name": "$B$_to_external",
"signature": "(int, int, int, int, int, int, int) $B$_to_external(((int, int, int, int, int, int, int)) v)",
"signature": "tuple $B$_to_external(((int, int, int, int, int, int, int)) v)",
},
{
"code": {
Expand Down Expand Up @@ -3399,17 +3403,19 @@ return $C$_as_optional($C$_from_tuple(v));",
{
"code": {
"code": "var (v'a, v'b, v'c, v'd, v'e, v'f, v'g, v'h) = v;
return (v'a, v'b, v'c, v'd, v'e, v'f, v'g, v'h);",
return $C$_to_tuple(v'a, v'b, v'c, v'd, v'e, v'f, v'g, v'h);",
"kind": "generic",
},
"comment": null,
"context": "type:C",
"depends": Set {},
"depends": Set {
"$C$_to_tuple",
},
"flags": Set {
"inline",
},
"name": "$C$_to_external",
"signature": "(cell, cell, slice, slice, int, int, int, slice) $C$_to_external(((cell, cell, slice, slice, int, int, int, slice)) v)",
"signature": "tuple $C$_to_external(((cell, cell, slice, slice, int, int, int, slice)) v)",
},
{
"code": {
Expand Down Expand Up @@ -6338,17 +6344,19 @@ return $A$_as_optional($A$_from_tuple(v));",
{
"code": {
"code": "var (v'a, v'b, v'c, v'd, v'e, v'f, v'g) = v;
return (v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
return $A$_to_tuple(v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
"kind": "generic",
},
"comment": null,
"context": "type:A",
"depends": Set {},
"depends": Set {
"$A$_to_tuple",
},
"flags": Set {
"inline",
},
"name": "$A$_to_external",
"signature": "(int, int, int, int, int, int, int) $A$_to_external(((int, int, int, int, int, int, int)) v)",
"signature": "tuple $A$_to_external(((int, int, int, int, int, int, int)) v)",
},
{
"code": {
Expand Down Expand Up @@ -6596,17 +6604,19 @@ return $B$_as_optional($B$_from_tuple(v));",
{
"code": {
"code": "var (v'a, v'b, v'c, v'd, v'e, v'f, v'g) = v;
return (v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
return $B$_to_tuple(v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
"kind": "generic",
},
"comment": null,
"context": "type:B",
"depends": Set {},
"depends": Set {
"$B$_to_tuple",
},
"flags": Set {
"inline",
},
"name": "$B$_to_external",
"signature": "(int, int, int, int, int, int, int) $B$_to_external(((int, int, int, int, int, int, int)) v)",
"signature": "tuple $B$_to_external(((int, int, int, int, int, int, int)) v)",
},
{
"code": {
Expand Down Expand Up @@ -6870,17 +6880,19 @@ return $C$_as_optional($C$_from_tuple(v));",
{
"code": {
"code": "var (v'a, v'b, v'c, v'd, v'e, v'f, v'g, v'h) = v;
return (v'a, v'b, v'c, v'd, v'e, v'f, v'g, v'h);",
return $C$_to_tuple(v'a, v'b, v'c, v'd, v'e, v'f, v'g, v'h);",
"kind": "generic",
},
"comment": null,
"context": "type:C",
"depends": Set {},
"depends": Set {
"$C$_to_tuple",
},
"flags": Set {
"inline",
},
"name": "$C$_to_external",
"signature": "(cell, cell, slice, slice, int, int, int, slice) $C$_to_external(((cell, cell, slice, slice, int, int, int, slice)) v)",
"signature": "tuple $C$_to_external(((cell, cell, slice, slice, int, int, int, slice)) v)",
},
{
"code": {
Expand Down Expand Up @@ -9812,17 +9824,19 @@ return $A$_as_optional($A$_from_tuple(v));",
{
"code": {
"code": "var (v'a, v'b, v'c, v'd, v'e, v'f, v'g) = v;
return (v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
return $A$_to_tuple(v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
"kind": "generic",
},
"comment": null,
"context": "type:A",
"depends": Set {},
"depends": Set {
"$A$_to_tuple",
},
"flags": Set {
"inline",
},
"name": "$A$_to_external",
"signature": "(int, int, int, int, int, int, int) $A$_to_external(((int, int, int, int, int, int, int)) v)",
"signature": "tuple $A$_to_external(((int, int, int, int, int, int, int)) v)",
},
{
"code": {
Expand Down Expand Up @@ -10070,17 +10084,19 @@ return $B$_as_optional($B$_from_tuple(v));",
{
"code": {
"code": "var (v'a, v'b, v'c, v'd, v'e, v'f, v'g) = v;
return (v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
return $B$_to_tuple(v'a, v'b, v'c, v'd, v'e, v'f, v'g);",
"kind": "generic",
},
"comment": null,
"context": "type:B",
"depends": Set {},
"depends": Set {
"$B$_to_tuple",
},
"flags": Set {
"inline",
},
"name": "$B$_to_external",
"signature": "(int, int, int, int, int, int, int) $B$_to_external(((int, int, int, int, int, int, int)) v)",
"signature": "tuple $B$_to_external(((int, int, int, int, int, int, int)) v)",
},
{
"code": {
Expand Down Expand Up @@ -10344,17 +10360,19 @@ return $C$_as_optional($C$_from_tuple(v));",
{
"code": {
"code": "var (v'a, v'b, v'c, v'd, v'e, v'f, v'g, v'h) = v;
return (v'a, v'b, v'c, v'd, v'e, v'f, v'g, v'h);",
return $C$_to_tuple(v'a, v'b, v'c, v'd, v'e, v'f, v'g, v'h);",
"kind": "generic",
},
"comment": null,
"context": "type:C",
"depends": Set {},
"depends": Set {
"$C$_to_tuple",
},
"flags": Set {
"inline",
},
"name": "$C$_to_external",
"signature": "(cell, cell, slice, slice, int, int, int, slice) $C$_to_external(((cell, cell, slice, slice, int, int, int, slice)) v)",
"signature": "tuple $C$_to_external(((cell, cell, slice, slice, int, int, int, slice)) v)",
},
{
"code": {
Expand Down
14 changes: 7 additions & 7 deletions src/test/e2e-emulated/__snapshots__/constants.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ ConstantTester {
},
],
},
"address": kQC1tr9E8NNDdnsvyLWPBaXhdX_hhp8x5khdXUOtjWo-v04i,
"address": kQDwJyzsRgwsRGdj8gB-OfmaT8j8KC2LJ2cjG80aBxU-BUvF,
"init": {
"code": x{FF00F4A413F4BCF2C80B}
x{62_}
Expand Down Expand Up @@ -906,7 +906,7 @@ ConstantTester {
x{8064}
x{2_}
x{2_}
x{A581B679B678D825_}
x{A581B679B678D824DE05_}
x{ED44D0D401F863D20030916DE0F828D70B0A8309BAF2E089DB3C}
x{6D}
x{70802A}
Expand Down Expand Up @@ -941,7 +941,7 @@ ConstantTester {
x{5}
x{2_}
x{2_}
x{A20B6CF36CF1B04DBC0A_}
x{A20B6CF36CF1B04DBC09BC0A_}
x{ED44D0D401F863D20030916DE0F828D70B0A8309BAF2E089DB3C}
x{6D}
x{802A7F21}
Expand All @@ -960,7 +960,7 @@ ConstantTester {
x{5}
x{2_}
x{2_}
x{A28F6CF36CF1B04A_}
x{A28F6CF36CF1B049BC0A_}
x{ED44D0D401F863D20030916DE0F828D70B0A8309BAF2E089DB3C}
x{6D}
x{70802A}
Expand Down Expand Up @@ -1156,7 +1156,7 @@ ConstantTester {
x{8064}
x{2_}
x{2_}
x{A581B679B678D825_}
x{A581B679B678D824DE05_}
x{ED44D0D401F863D20030916DE0F828D70B0A8309BAF2E089DB3C}
x{6D}
x{70802A}
Expand Down Expand Up @@ -1191,7 +1191,7 @@ ConstantTester {
x{5}
x{2_}
x{2_}
x{A20B6CF36CF1B04DBC0A_}
x{A20B6CF36CF1B04DBC09BC0A_}
x{ED44D0D401F863D20030916DE0F828D70B0A8309BAF2E089DB3C}
x{6D}
x{802A7F21}
Expand All @@ -1210,7 +1210,7 @@ ConstantTester {
x{5}
x{2_}
x{2_}
x{A28F6CF36CF1B04A_}
x{A28F6CF36CF1B049BC0A_}
x{ED44D0D401F863D20030916DE0F828D70B0A8309BAF2E089DB3C}
x{6D}
x{70802A}
Expand Down
44 changes: 22 additions & 22 deletions src/test/e2e-emulated/__snapshots__/deep.spec.ts.snap
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`random should chain deep sequences correctly 1`] = `"kQBOkY_QdYHnIzZ64gX91WUiNMwl1cG6Bw41Qz1mj5YEzAlg"`;
exports[`random should chain deep sequences correctly 1`] = `"kQDxNqAoEMISS0NuoOxsArT7HiFb0LNnfMGsuaevYviko-5y"`;

exports[`random should chain deep sequences correctly 2`] = `"kQDyAlT-y1CSItLqwQpZIugg2FjA44hie8gHmhnhnKg3-XtO"`;
exports[`random should chain deep sequences correctly 2`] = `"kQCyBjW6rtCuAEAmURZxQp5n67NrvQuckN0m6fQp3cHiAOeb"`;

exports[`random should chain deep sequences correctly 3`] = `"kQCrbYuBNKCLCt9djALpBhYY7a02T13eEngbe_aOD-JnjOo5"`;
exports[`random should chain deep sequences correctly 3`] = `"kQDXBuOT_Y2F2FrqDubvzH6UCyQUa8hIp-EOnTU9Nl5EAwFx"`;

exports[`random should chain deep sequences correctly 4`] = `
[
Expand All @@ -23,7 +23,7 @@ exports[`random should chain deep sequences correctly 4`] = `
},
"bounce": true,
"from": "@treasure(treasure)",
"to": "kQBOkY_QdYHnIzZ64gX91WUiNMwl1cG6Bw41Qz1mj5YEzAlg",
"to": "kQDxNqAoEMISS0NuoOxsArT7HiFb0LNnfMGsuaevYviko-5y",
"type": "internal",
"value": "10",
},
Expand All @@ -41,10 +41,10 @@ exports[`random should chain deep sequences correctly 4`] = `
"type": "text",
},
"bounce": true,
"from": "kQBOkY_QdYHnIzZ64gX91WUiNMwl1cG6Bw41Qz1mj5YEzAlg",
"to": "kQDyAlT-y1CSItLqwQpZIugg2FjA44hie8gHmhnhnKg3-XtO",
"from": "kQDxNqAoEMISS0NuoOxsArT7HiFb0LNnfMGsuaevYviko-5y",
"to": "kQCyBjW6rtCuAEAmURZxQp5n67NrvQuckN0m6fQp3cHiAOeb",
"type": "internal",
"value": "9.972736",
"value": "9.97272",
},
],
},
Expand All @@ -69,10 +69,10 @@ exports[`random should chain deep sequences correctly 5`] = `
"type": "text",
},
"bounce": true,
"from": "kQBOkY_QdYHnIzZ64gX91WUiNMwl1cG6Bw41Qz1mj5YEzAlg",
"to": "kQDyAlT-y1CSItLqwQpZIugg2FjA44hie8gHmhnhnKg3-XtO",
"from": "kQDxNqAoEMISS0NuoOxsArT7HiFb0LNnfMGsuaevYviko-5y",
"to": "kQCyBjW6rtCuAEAmURZxQp5n67NrvQuckN0m6fQp3cHiAOeb",
"type": "internal",
"value": "9.972736",
"value": "9.97272",
},
},
{
Expand All @@ -88,10 +88,10 @@ exports[`random should chain deep sequences correctly 5`] = `
"type": "text",
},
"bounce": true,
"from": "kQDyAlT-y1CSItLqwQpZIugg2FjA44hie8gHmhnhnKg3-XtO",
"to": "kQCrbYuBNKCLCt9djALpBhYY7a02T13eEngbe_aOD-JnjOo5",
"from": "kQCyBjW6rtCuAEAmURZxQp5n67NrvQuckN0m6fQp3cHiAOeb",
"to": "kQDXBuOT_Y2F2FrqDubvzH6UCyQUa8hIp-EOnTU9Nl5EAwFx",
"type": "internal",
"value": "9.950458",
"value": "9.950442",
},
],
},
Expand All @@ -116,10 +116,10 @@ exports[`random should chain deep sequences correctly 6`] = `
"type": "text",
},
"bounce": true,
"from": "kQDyAlT-y1CSItLqwQpZIugg2FjA44hie8gHmhnhnKg3-XtO",
"to": "kQCrbYuBNKCLCt9djALpBhYY7a02T13eEngbe_aOD-JnjOo5",
"from": "kQCyBjW6rtCuAEAmURZxQp5n67NrvQuckN0m6fQp3cHiAOeb",
"to": "kQDXBuOT_Y2F2FrqDubvzH6UCyQUa8hIp-EOnTU9Nl5EAwFx",
"type": "internal",
"value": "9.950458",
"value": "9.950442",
},
},
{
Expand All @@ -135,10 +135,10 @@ exports[`random should chain deep sequences correctly 6`] = `
"type": "text",
},
"bounce": true,
"from": "kQCrbYuBNKCLCt9djALpBhYY7a02T13eEngbe_aOD-JnjOo5",
"to": "kQCrbYuBNKCLCt9djALpBhYY7a02T13eEngbe_aOD-JnjOo5",
"from": "kQDXBuOT_Y2F2FrqDubvzH6UCyQUa8hIp-EOnTU9Nl5EAwFx",
"to": "kQDXBuOT_Y2F2FrqDubvzH6UCyQUa8hIp-EOnTU9Nl5EAwFx",
"type": "internal",
"value": "9.92844",
"value": "9.928424",
},
],
},
Expand All @@ -155,10 +155,10 @@ exports[`random should chain deep sequences correctly 6`] = `
"type": "text",
},
"bounce": true,
"from": "kQCrbYuBNKCLCt9djALpBhYY7a02T13eEngbe_aOD-JnjOo5",
"to": "kQCrbYuBNKCLCt9djALpBhYY7a02T13eEngbe_aOD-JnjOo5",
"from": "kQDXBuOT_Y2F2FrqDubvzH6UCyQUa8hIp-EOnTU9Nl5EAwFx",
"to": "kQDXBuOT_Y2F2FrqDubvzH6UCyQUa8hIp-EOnTU9Nl5EAwFx",
"type": "internal",
"value": "9.92844",
"value": "9.928424",
},
},
{
Expand Down
Loading

0 comments on commit 07fb778

Please sign in to comment.