github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/vectors/src/state-transition/forced-tx/group3/test-deploy_3.json (about) 1 { 2 "expectedOldStateRoot": "0x8753a67a8c1e1f34361688bcb4ade9a303748a50f396e9b2184224f96f17e688", 3 "expectedNewStateRoot": "0xadf643098410808ea2bea9afac7a32fce21167adf455084fec31bdf8c5257f71", 4 "batchL2Data": "0xf901d080843b9aca00839896808080b901bc60806040526001600055600260015534801561001a57600080fd5b5060405161019c38038061019c833981810160405281019061003c919061005e565b80600081905550506100b1565b6000815190506100588161009a565b92915050565b60006020828403121561007457610073610095565b5b600061008284828501610049565b91505092915050565b6000819050919050565b600080fd5b6100a38161008b565b81146100ae57600080fd5b50565b60dd806100bf6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80638ca3165d146037578063e4081625146051575b600080fd5b603d606b565b604051604891906084565b60405180910390f35b60576071565b604051606291906084565b60405180910390f35b60005481565b60015481565b607e81609d565b82525050565b6000602082019050609760008301846077565b92915050565b600081905091905056fea26469706673582212207c5d3e8487560f785926787101edb5f7d44e80e7797b1324d73c8a53e83b613764736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000038203e98080c1d85da30f0d87da063621306f1661b93658d60a262a4420ab1a403643160ebc22ae1a96934c29192e1f3092b39f2684b2b238f865c9bfc68e5f6627184e999c1c", 5 "genesis": [ 6 { 7 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 8 "nonce": "0", 9 "balance": "100000000000000000000", 10 "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", 11 "isSmartContract": false 12 }, 13 { 14 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 15 "nonce": "0", 16 "balance": "200000000000000000000", 17 "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", 18 "isSmartContract": false 19 }, 20 { 21 "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", 22 "nonce": "1", 23 "balance": "0", 24 "storage": { 25 "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", 26 "0x0000000000000000000000000000000000000000000000000000000000000001": "0x02" 27 }, 28 "isSmartContract": true, 29 "bytecode": "0x608060405234801561001057600080fd5b50600436106100625760003560e01c80630f0db778146100675780635ef3d3dd146100835780638ca3165d1461009f578063b698c129146100bd578063e4081625146100d9578063e795befc146100f7575b600080fd5b610081600480360381019061007c91906101bd565b610127565b005b61009d60048036038101906100989190610190565b610143565b005b6100a761014d565b6040516100b4919061020c565b60405180910390f35b6100d760048036038101906100d29190610190565b610153565b005b6100e161015d565b6040516100ee919061020c565b60405180910390f35b610111600480360381019061010c9190610190565b610163565b60405161011e919061020c565b60405180910390f35b8060026000848152602001908152602001600020819055505050565b8060008190555050565b60005481565b8060018190555050565b60015481565b60026020528060005260406000206000915090505481565b60008135905061018a81610236565b92915050565b6000602082840312156101a6576101a5610231565b5b60006101b48482850161017b565b91505092915050565b600080604083850312156101d4576101d3610231565b5b60006101e28582860161017b565b92505060206101f38582860161017b565b9150509250929050565b61020681610227565b82525050565b600060208201905061022160008301846101fd565b92915050565b6000819050919050565b600080fd5b61023f81610227565b811461024a57600080fd5b5056fea26469706673582212205feec680dbd3ffdb3d28421e0c45d9127cc1de581ab1d493e719a7579f16c06964736f6c63430008070033", 30 "abi": [ 31 { 32 "inputs": [ 33 { 34 "internalType": "uint256", 35 "name": "_stoFirst", 36 "type": "uint256" 37 } 38 ], 39 "name": "setFirst", 40 "outputs": [], 41 "stateMutability": "nonpayable", 42 "type": "function" 43 }, 44 { 45 "inputs": [ 46 { 47 "internalType": "uint256", 48 "name": "key", 49 "type": "uint256" 50 }, 51 { 52 "internalType": "uint256", 53 "name": "value", 54 "type": "uint256" 55 } 56 ], 57 "name": "setMapping", 58 "outputs": [], 59 "stateMutability": "nonpayable", 60 "type": "function" 61 }, 62 { 63 "inputs": [ 64 { 65 "internalType": "uint256", 66 "name": "_stoSecond", 67 "type": "uint256" 68 } 69 ], 70 "name": "setSecond", 71 "outputs": [], 72 "stateMutability": "nonpayable", 73 "type": "function" 74 }, 75 { 76 "inputs": [], 77 "name": "stoFirst", 78 "outputs": [ 79 { 80 "internalType": "uint256", 81 "name": "", 82 "type": "uint256" 83 } 84 ], 85 "stateMutability": "view", 86 "type": "function" 87 }, 88 { 89 "inputs": [ 90 { 91 "internalType": "uint256", 92 "name": "", 93 "type": "uint256" 94 } 95 ], 96 "name": "stoMapping", 97 "outputs": [ 98 { 99 "internalType": "uint256", 100 "name": "", 101 "type": "uint256" 102 } 103 ], 104 "stateMutability": "view", 105 "type": "function" 106 }, 107 { 108 "inputs": [], 109 "name": "stoSecond", 110 "outputs": [ 111 { 112 "internalType": "uint256", 113 "name": "", 114 "type": "uint256" 115 } 116 ], 117 "stateMutability": "view", 118 "type": "function" 119 } 120 ] 121 } 122 ], 123 "expectedNewLeafs": [ 124 { 125 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 126 "nonce": "0", 127 "balance": "100000000000000000000", 128 "storage": null, 129 "isSmartContract": false, 130 "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", 131 "bytecodeLength": 0 132 }, 133 { 134 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 135 "nonce": "1", 136 "balance": "199999851762000000000", 137 "storage": null, 138 "isSmartContract": false, 139 "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", 140 "bytecodeLength": 0 141 }, 142 { 143 "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", 144 "nonce": "1", 145 "balance": "0", 146 "storage": { 147 "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", 148 "0x0000000000000000000000000000000000000000000000000000000000000001": "0x02" 149 }, 150 "isSmartContract": true, 151 "hashBytecode": "0x37b6873a51b6e346373661b3579866c2a9e055364b6734e8232c61a1f2358428", 152 "bytecodeLength": 643 153 }, 154 { 155 "address": "0xA72217948Ea7D968A64c77F83908cea136bBF964", 156 "nonce": "1", 157 "balance": "0", 158 "storage": { 159 "0x0000000000000000000000000000000000000000000000000000000000000000": "0x03", 160 "0x0000000000000000000000000000000000000000000000000000000000000001": "0x02" 161 }, 162 "isSmartContract": true, 163 "hashBytecode": "0xd63f653f8df5322d234d592d3d8ad84a1387b4635975f4ed28b7781eb0993d5c", 164 "bytecodeLength": 221 165 } 166 ] 167 }