github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/vectors/src/state-transition/no-data/balances.json (about)

     1  [
     2    {
     3      "id": 0,
     4      "description": "2 accounts. 1 valid transaction. 1 invalid transaction (balance == value)",
     5      "arity": 4,
     6      "chainIdSequencer": 1001,
     7      "defaultChainId": 1000,
     8      "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
     9      "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e",
    10      "genesis": [
    11        {
    12          "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
    13          "nonce": "0",
    14          "balance": "100000000000000000000",
    15          "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e"
    16        },
    17        {
    18          "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
    19          "nonce": "0",
    20          "balance": "200000000000000000000",
    21          "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23"
    22        },
    23        {
    24          "address": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9",
    25          "nonce": "0",
    26          "balance": "100000000000000000000",
    27          "pvtKey": "0x1d0722aff4b29780e9a78e0bf28d5e127fb276cfbb0c3eb6a0e1728401777f17"
    28        }
    29      ],
    30      "expectedOldRoot": "0x76b362a9afd679ea13a456ab103786492c65946be653589c1fd627841d0c6fdd",
    31      "txs": [
    32        {
    33          "id": 0,
    34          "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
    35          "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
    36          "nonce": 0,
    37          "value": "100000000000000000",
    38          "gasLimit": 100000,
    39          "gasPrice": "1000000000",
    40          "chainId": 1001,
    41          "rawTx": "0xf86d80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f5a01186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb979f910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c01225968799907432",
    42          "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321b",
    43          "reason": ""
    44        },
    45        {
    46          "id": 1,
    47          "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9",
    48          "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
    49          "nonce": 0,
    50          "value": "1000000000000000000000",
    51          "gasLimit": 100000,
    52          "gasPrice": "1000000000",
    53          "chainId": 1001,
    54          "rawTx": "0xf86f80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff893635c9adc5dea00000808207f6a0da7753f7d427264f52a4814241b26f1a816467bb19cee69f4760e01ce6f27461a07d7bccc285141676362c69b20705d945f1bdf938bd5546ede7294f0daed2bfd0",
    55          "customRawTx": "0xef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff893635c9adc5dea00000808203e98080da7753f7d427264f52a4814241b26f1a816467bb19cee69f4760e01ce6f274617d7bccc285141676362c69b20705d945f1bdf938bd5546ede7294f0daed2bfd01c",
    56          "reason": "TX INVALID: Not enough funds to pay total transaction cost"
    57        }
    58      ],
    59      "expectedNewRoot": "0x1cdd3725cacd4817720aee2688e97c11b63df891e17c8c0d82dfb39d76accad1",
    60      "expectedNewLeafs": {
    61        "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": {
    62          "balance": "99900000000000000000", 
    63          "nonce": "1"
    64        },
    65        "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": {
    66          "balance": "200100000000000000000",
    67          "nonce": "0"
    68        }
    69      },
    70      "batchL2Data": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321bef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff893635c9adc5dea00000808203e98080da7753f7d427264f52a4814241b26f1a816467bb19cee69f4760e01ce6f274617d7bccc285141676362c69b20705d945f1bdf938bd5546ede7294f0daed2bfd01c",
    71      "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9",
    72      "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
    73      "inputHash": "0x2f504a58b1fb3ef9258ff9a78c995adb98a3c7b2fcea4558101691d8038756a9",
    74      "batchHashData": "0x63aa056f4b95537af8c2055b8e11aa79dea1425f2813b4e34a2422556f73d666",
    75      "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
    76      "timestamp": 1944498031
    77    },
    78    {
    79      "id": 1,
    80      "description": "2 accounts. 1 valid transaction. 1 invalid transaction (tx with more value than balance)",
    81      "arity": 4,
    82      "chainIdSequencer": 1001,
    83      "defaultChainId": 1000,
    84      "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
    85      "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e",
    86      "genesis": [
    87        {
    88          "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
    89          "nonce": "0",
    90          "balance": "100000000000000000000",
    91          "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e"
    92        },
    93        {
    94          "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
    95          "nonce": "0",
    96          "balance": "200000000000000000000",
    97          "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23"
    98        }
    99      ],
   100      "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d",
   101      "txs": [
   102        {
   103          "id": 0,
   104          "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   105          "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
   106          "nonce": 0,
   107          "value": "100000000000000000",
   108          "gasLimit": 100000,
   109          "gasPrice": "1000000000",
   110          "chainId": 1001,
   111          "rawTx": "0xf86d80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f5a01186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb979f910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c01225968799907432",
   112          "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321b",
   113          "reason": ""
   114        },
   115        {
   116          "id": 1,
   117          "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   118          "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
   119          "nonce": 1,
   120          "value": "10000000000000000000000",
   121          "gasLimit": 100000,
   122          "gasPrice": "1000000000",
   123          "chainId": 1001,
   124          "rawTx": "0xf87001843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808207f6a0556c208747680326b9a0e9d01fe1e76d59feff21399583af5b9a43596828cd46a062ad0380cbe39f13b428935247e20557d058ba10838ba737d2ad5fd6e09cb05f",
   125          "customRawTx": "0xf001843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080556c208747680326b9a0e9d01fe1e76d59feff21399583af5b9a43596828cd4662ad0380cbe39f13b428935247e20557d058ba10838ba737d2ad5fd6e09cb05f1c",
   126          "reason": "TX INVALID: Not enough funds to pay total transaction cost"
   127        }
   128      ],
   129      "expectedNewRoot": "0x2aa02f4e58dc165ceeaac1d4ea5333246d3e5114301b22ce1996d0888e35227e",
   130      "expectedNewLeafs": {
   131        "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": {
   132          "balance": "99900000000000000000",
   133          "nonce": "1"
   134        },
   135        "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": {
   136          "balance": "200100000000000000000",
   137          "nonce": "0"
   138        }
   139      },
   140      "batchL2Data": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321bf001843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080556c208747680326b9a0e9d01fe1e76d59feff21399583af5b9a43596828cd4662ad0380cbe39f13b428935247e20557d058ba10838ba737d2ad5fd6e09cb05f1c",
   141      "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9",
   142      "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
   143      "inputHash": "0xdcfbcc284849a0da2fc170726bed44b08c1e2777c4e6015c5047736d5d617e95",
   144      "batchHashData": "0x29904b64238fa49321336c33746b81f72fd70fc5ab8736df078e8d8769cf047a",
   145      "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
   146      "timestamp": 1944498031
   147    },
   148    {
   149      "id": 2,
   150      "description": "2 accounts. 1 invalid transaction (value + gas == balance + 1, bigger value). 1 valid transaction (txvalue + gas == balance)",
   151      "arity": 4,
   152      "chainIdSequencer": 1001,
   153      "defaultChainId": 1000,
   154      "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   155      "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e",
   156      "genesis": [
   157        {
   158          "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   159          "nonce": "0",
   160          "balance": "100000000000000000000",
   161          "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e"
   162        },
   163        {
   164          "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
   165          "nonce": "0",
   166          "balance": "100000000000000000000",
   167          "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23"
   168        }
   169      ],
   170      "expectedOldRoot": "0xa88244596a08b2d267f764ef93304d682aac646f8603eaaad50d68b303eb9fe2",
   171      "txs": [
   172        {
   173          "id": 0,
   174          "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
   175          "to": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   176          "nonce": 0,
   177          "value": "99999979000000000001",
   178          "gasLimit": 21000,
   179          "gasPrice": "1000000000",
   180          "chainId": 1001,
   181          "rawTx": "0xf86e80843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d89056bc74b13f185b001808207f6a0f515585ea362383eeeace59c4129d10ead78ad57189db6eb1b0fc0b53cfd60c5a02968ba3e5b7585aded932d92df233f4a012da9084cf457039fd81dae1543f292",
   182          "customRawTx": "0xee80843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d89056bc74b13f185b001808203e98080f515585ea362383eeeace59c4129d10ead78ad57189db6eb1b0fc0b53cfd60c52968ba3e5b7585aded932d92df233f4a012da9084cf457039fd81dae1543f2921c",
   183          "reason": "TX INVALID: Not enough funds to pay total transaction cost"
   184        },
   185        {
   186          "id": 1,
   187          "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
   188          "to": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   189          "nonce": 0,
   190          "value": "99999979000000000000",
   191          "gasLimit": 21000,
   192          "gasPrice": "1000000000",
   193          "chainId": 1001,
   194          "rawTx": "0xf86e80843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d89056bc74b13f185b000808207f5a0ad135f1f2ff6ec8f3584ae96c589f252cc90caeff735ee1e8945a899665cdec7a05c26e2ca26abc25d18f4ea9d260451a0b45cff207725d6bc0721263c478f3b42",
   195          "customRawTx": "0xee80843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d89056bc74b13f185b000808203e98080ad135f1f2ff6ec8f3584ae96c589f252cc90caeff735ee1e8945a899665cdec75c26e2ca26abc25d18f4ea9d260451a0b45cff207725d6bc0721263c478f3b421b",
   196          "reason": ""
   197        }
   198      ],
   199      "expectedNewRoot": "0x567388053cc425d2781f91265d888b8fbbb94c07fd37fe959a8df6c76d20b9f5",
   200      "expectedNewLeafs": {
   201        "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": {
   202          "balance": "200000000000000000000",
   203          "nonce": "0"
   204        },
   205        "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": {
   206          "balance": "0",
   207          "nonce": "1"
   208        }
   209      },
   210      "batchL2Data": "0xee80843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d89056bc74b13f185b001808203e98080f515585ea362383eeeace59c4129d10ead78ad57189db6eb1b0fc0b53cfd60c52968ba3e5b7585aded932d92df233f4a012da9084cf457039fd81dae1543f2921cee80843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d89056bc74b13f185b000808203e98080ad135f1f2ff6ec8f3584ae96c589f252cc90caeff735ee1e8945a899665cdec75c26e2ca26abc25d18f4ea9d260451a0b45cff207725d6bc0721263c478f3b421b",
   211      "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9",
   212      "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
   213      "inputHash": "0xef44e5820f5ca23050164c57bc69bf0c8fd620b98797dfd0b8799eb1c3d5fe1c",
   214      "batchHashData": "0xff7583a8de2cc1a2952acd7511dd6384d699db8e9e98dc68c1c1bb1b5a11e935",
   215      "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
   216      "timestamp": 1944498031
   217    },
   218    {
   219      "id": 3,
   220      "description": "2 accounts. 1 valid transaction (txvalue == balance-1). 1 invalid transaction (tx with more value than balance)",
   221      "arity": 4,
   222      "chainIdSequencer": 1001,
   223      "defaultChainId": 1000,
   224      "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   225      "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e",
   226      "genesis": [
   227        {
   228          "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   229          "nonce": "0",
   230          "balance": "100000000000000000000",
   231          "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e"
   232        },
   233        {
   234          "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
   235          "nonce": "0",
   236          "balance": "100000000000000000000",
   237          "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23"
   238        }
   239      ],
   240      "expectedOldRoot": "0xa88244596a08b2d267f764ef93304d682aac646f8603eaaad50d68b303eb9fe2",
   241      "txs": [
   242        {
   243          "id": 0,
   244          "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
   245          "to": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   246          "nonce": 0,
   247          "value": "99999978999999999999",
   248          "gasLimit": 21000,
   249          "gasPrice": "1000000000",
   250          "chainId": 1001,
   251          "rawTx": "0xf86e80843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d89056bc74b13f185afff808207f5a0551278bb73253ca6a781f5356851b8c4adaeb4c26aa72a407b5f539f165ddf62a069d91313bbaa6f14a361174108e96cca3e99bfe39ae4911f9555b63ca9785c01",
   252          "customRawTx": "0xee80843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d89056bc74b13f185afff808203e98080551278bb73253ca6a781f5356851b8c4adaeb4c26aa72a407b5f539f165ddf6269d91313bbaa6f14a361174108e96cca3e99bfe39ae4911f9555b63ca9785c011b",
   253          "reason": ""
   254        },
   255        {
   256          "id": 1,
   257          "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff",
   258          "to": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D",
   259          "nonce": 1,
   260          "value": "100000000000000000",
   261          "gasLimit": 21000,
   262          "gasPrice": "1000000000",
   263          "chainId": 1001,
   264          "rawTx": "0xf86d01843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808207f6a0c428d135671f713b2db7d9922ab917b795c5e7dee9c21cd8fafc5cee36c668c5a0319c323a887d9961452c1ab8236fae2ca84c2230edcf45c7bbdc9d5f65390c5f",
   265          "customRawTx": "0xed01843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808203e98080c428d135671f713b2db7d9922ab917b795c5e7dee9c21cd8fafc5cee36c668c5319c323a887d9961452c1ab8236fae2ca84c2230edcf45c7bbdc9d5f65390c5f1c",
   266          "reason": "TX INVALID: Not enough funds to pay total transaction cost"
   267        }
   268      ],
   269      "expectedNewRoot": "0x200ea39dc84a1ca39b4c3ea10539f3f5cdd565cec24190389fe72c9d8cec7598",
   270      "expectedNewLeafs": {
   271        "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": {
   272          "balance": "199999999999999999999",
   273          "nonce": "0"
   274        },
   275        "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": {
   276          "balance": "1",
   277          "nonce": "1"
   278        }
   279      },
   280      "batchL2Data": "0xee80843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d89056bc74b13f185afff808203e98080551278bb73253ca6a781f5356851b8c4adaeb4c26aa72a407b5f539f165ddf6269d91313bbaa6f14a361174108e96cca3e99bfe39ae4911f9555b63ca9785c011bed01843b9aca0082520894617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808203e98080c428d135671f713b2db7d9922ab917b795c5e7dee9c21cd8fafc5cee36c668c5319c323a887d9961452c1ab8236fae2ca84c2230edcf45c7bbdc9d5f65390c5f1c",
   281      "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9",
   282      "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
   283      "inputHash": "0xbed868d37bf912f4093840cbd6a65159d0ec590c3e9cd73f9996d4e5aabcf35f",
   284      "batchHashData": "0xc3701d03b0569a46984b10b77b768a3e07a1ce1a6c8bb001943a0a666ab8522c",
   285      "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
   286      "timestamp": 1944498031
   287    }
   288  ]