Skip to content

Commit

Permalink
Update socket app migration script and test helpers to use new addres…
Browse files Browse the repository at this point in the history
…s array conversion methods and modify transaction data in JSON files. (#311)
  • Loading branch information
ylv-io authored Nov 13, 2024
1 parent 850d688 commit a2148f8
Show file tree
Hide file tree
Showing 6 changed files with 206 additions and 71 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"transactions": [
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb",
"function": "handleOps((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address)",
"arguments": [
"[(0x2e2B1c42E38f5af81771e65D87729E57ABD1337a, 3743, 0x, 0xb61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144db9e99080000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000070000000000000000000000006332e56a423480a211e301cb85be12814e9238bb0000000000000000000000002b98775abe9cdeb041e3c2e56c76ce2560af57fb00000000000000000000000012ff8947a2524303c13ca7da9be4914381f6557a00000000000000000000000072846179ef1467b2b71f2bb7525fcd4450e46b2a000000000000000000000000897da4d039f64090bfdb33cd2ed2da81add6fb02000000000000000000000000a7527c270f30cf3dafa6e82603b4978e1a8493590000000000000000000000006dbb5ee7c63775013faf810527dbede2810d7aee00000000000000000000000000000000000000000000000000000000, 4000000, 210000, 21000, 1, 1000000000, 0x0000000000000000000000000000000000000000, 0xfc4ce1218c6d1ce0f14266566ca7e3608ac728e92d2e8b9ae5c5bfef7eceb13006ad3d5963164a09e80227a7ba8b027c1f73a658e25d5623b63539dbde697e0b1b2bfa04443a9f70de4deda214dd5efa493b2b6605a3f5901028627c30306e35b52ef619bae887256b47822c14e2f773ad85ea7bc4a27e37698b1e5678a6fbe5bf1c)]",
"0x660ad4B5A74130a4796B4d54BC6750Ae93C86e6c"
],
"transaction": {
"from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c",
"to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb",
"value": "0x0",
"input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000e9f0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144db9e99080000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000070000000000000000000000006332e56a423480a211e301cb85be12814e9238bb0000000000000000000000002b98775abe9cdeb041e3c2e56c76ce2560af57fb00000000000000000000000012ff8947a2524303c13ca7da9be4914381f6557a00000000000000000000000072846179ef1467b2b71f2bb7525fcd4450e46b2a000000000000000000000000897da4d039f64090bfdb33cd2ed2da81add6fb02000000000000000000000000a7527c270f30cf3dafa6e82603b4978e1a8493590000000000000000000000006dbb5ee7c63775013faf810527dbede2810d7aee0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082fc4ce1218c6d1ce0f14266566ca7e3608ac728e92d2e8b9ae5c5bfef7eceb13006ad3d5963164a09e80227a7ba8b027c1f73a658e25d5623b63539dbde697e0b1b2bfa04443a9f70de4deda214dd5efa493b2b6605a3f5901028627c30306e35b52ef619bae887256b47822c14e2f773ad85ea7bc4a27e37698b1e5678a6fbe5bf1c000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x6053",
"chainId": "0x1ecf"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1731276224,
"chain": 7887,
"commit": "850d688"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"contractAddress": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb",
"function": "handleOps((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address)",
"arguments": [
"[(0x2e2B1c42E38f5af81771e65D87729E57ABD1337a, 2514, 0x, 0xb61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000404c1d3c7b300000000000000000000000000000000000000000000000000000000000001000000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000006536f636b657400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000abc64e84c653e0f077c0178e4b1fac01bfcc20b0000000000000000000000000db09c7c2c4071e3ca1bad0c357906efa17c251020000000000000000000000007d4e3628c3dece7ba053c296eea3729318f93715000000000000000000000000fe6e2862ef74adf306aacd575eaf5f45281b1017000000000000000000000000342f5ba3230f6d1e32aa775440bdcb93647dd4cd0000000000000000000000004c9c64b2fae0e13df9a635ad699c5efc386d1cee000000000000000000000000345b2061ea8256689349fca968cf7af0ff6011aa0000000000000000000000008d23e5ba32ca80809d60ed70ddbd96e6b3d6101500000000000000000000000028a6468de32690f63d8095e8980b43ab48f9470c000000000000000000000000ce2fc6c6bfcf04f2f857338ecf6004381f414926000000000000000000000000e3f4c9cca8ea855497d63800befb43f290ac78c6000000000000000000000000c7fca8ab6d1e1142790454e7e5655d93c3b03ed600000000000000000000000024f287b474a05e48627846148ccda3d05de03953000000000000000000000000a2a13094bab725d6d9dd8b9b5c01f1a1bf67f98600000000000000000000000090128652cf49a44f0374d0ee7d3782df59e72a8c000000000000000000000000d17b43d94f0bf2960d285e89de5b9a8369e3ed5b000000000000000000000000f5d3d976872e01b7b7af7964ca9cf4d9925847260000000000000000000000007da5691fb59740cf02cc7dc16743be9dcbf685b5000000000000000000000000e5b6205cfc03786fc554c40767a591b8dcbc1e76000000000000000000000000a968c2771d5e984979589ef8f6fa59d5818a208f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, 4000000, 210000, 21000, 1, 1000000000, 0x0000000000000000000000000000000000000000, 0xb15608b0338953795165db077629644f83cd4f550cef00dd07deb34359ccb69f17aff90cd0e1f69ebbc8f19f7c1ee46404d01cc64a2fc051b18e9f3a2aa0ca971b367f9709f78a837ba439e5c4b79a8953ad9fedb35a34180e887faed88e6bd60a142a901ada7fff496644c951d170d66a36fa6cf76bf907b0a714b139204fe02f1b)]",
"[(0x2e2B1c42E38f5af81771e65D87729E57ABD1337a, 3743, 0x, 0xb61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144db9e99080000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000070000000000000000000000006332e56a423480a211e301cb85be12814e9238bb0000000000000000000000002b98775abe9cdeb041e3c2e56c76ce2560af57fb00000000000000000000000012ff8947a2524303c13ca7da9be4914381f6557a00000000000000000000000072846179ef1467b2b71f2bb7525fcd4450e46b2a000000000000000000000000897da4d039f64090bfdb33cd2ed2da81add6fb02000000000000000000000000a7527c270f30cf3dafa6e82603b4978e1a8493590000000000000000000000006dbb5ee7c63775013faf810527dbede2810d7aee00000000000000000000000000000000000000000000000000000000, 4000000, 210000, 21000, 1, 1000000000, 0x0000000000000000000000000000000000000000, 0xfc4ce1218c6d1ce0f14266566ca7e3608ac728e92d2e8b9ae5c5bfef7eceb13006ad3d5963164a09e80227a7ba8b027c1f73a658e25d5623b63539dbde697e0b1b2bfa04443a9f70de4deda214dd5efa493b2b6605a3f5901028627c30306e35b52ef619bae887256b47822c14e2f773ad85ea7bc4a27e37698b1e5678a6fbe5bf1c)]",
"0x660ad4B5A74130a4796B4d54BC6750Ae93C86e6c"
],
"transaction": {
"from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c",
"to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb",
"value": "0x0",
"input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a00000000000000000000000000000000000000000000000000000000000009d20000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000006a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000404c1d3c7b300000000000000000000000000000000000000000000000000000000000001000000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000006536f636b657400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000abc64e84c653e0f077c0178e4b1fac01bfcc20b0000000000000000000000000db09c7c2c4071e3ca1bad0c357906efa17c251020000000000000000000000007d4e3628c3dece7ba053c296eea3729318f93715000000000000000000000000fe6e2862ef74adf306aacd575eaf5f45281b1017000000000000000000000000342f5ba3230f6d1e32aa775440bdcb93647dd4cd0000000000000000000000004c9c64b2fae0e13df9a635ad699c5efc386d1cee000000000000000000000000345b2061ea8256689349fca968cf7af0ff6011aa0000000000000000000000008d23e5ba32ca80809d60ed70ddbd96e6b3d6101500000000000000000000000028a6468de32690f63d8095e8980b43ab48f9470c000000000000000000000000ce2fc6c6bfcf04f2f857338ecf6004381f414926000000000000000000000000e3f4c9cca8ea855497d63800befb43f290ac78c6000000000000000000000000c7fca8ab6d1e1142790454e7e5655d93c3b03ed600000000000000000000000024f287b474a05e48627846148ccda3d05de03953000000000000000000000000a2a13094bab725d6d9dd8b9b5c01f1a1bf67f98600000000000000000000000090128652cf49a44f0374d0ee7d3782df59e72a8c000000000000000000000000d17b43d94f0bf2960d285e89de5b9a8369e3ed5b000000000000000000000000f5d3d976872e01b7b7af7964ca9cf4d9925847260000000000000000000000007da5691fb59740cf02cc7dc16743be9dcbf685b5000000000000000000000000e5b6205cfc03786fc554c40767a591b8dcbc1e76000000000000000000000000a968c2771d5e984979589ef8f6fa59d5818a208f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082b15608b0338953795165db077629644f83cd4f550cef00dd07deb34359ccb69f17aff90cd0e1f69ebbc8f19f7c1ee46404d01cc64a2fc051b18e9f3a2aa0ca971b367f9709f78a837ba439e5c4b79a8953ad9fedb35a34180e887faed88e6bd60a142a901ada7fff496644c951d170d66a36fa6cf76bf907b0a714b139204fe02f1b000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x4b83",
"input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000e9f0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144db9e99080000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000070000000000000000000000006332e56a423480a211e301cb85be12814e9238bb0000000000000000000000002b98775abe9cdeb041e3c2e56c76ce2560af57fb00000000000000000000000012ff8947a2524303c13ca7da9be4914381f6557a00000000000000000000000072846179ef1467b2b71f2bb7525fcd4450e46b2a000000000000000000000000897da4d039f64090bfdb33cd2ed2da81add6fb02000000000000000000000000a7527c270f30cf3dafa6e82603b4978e1a8493590000000000000000000000006dbb5ee7c63775013faf810527dbede2810d7aee0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082fc4ce1218c6d1ce0f14266566ca7e3608ac728e92d2e8b9ae5c5bfef7eceb13006ad3d5963164a09e80227a7ba8b027c1f73a658e25d5623b63539dbde697e0b1b2bfa04443a9f70de4deda214dd5efa493b2b6605a3f5901028627c30306e35b52ef619bae887256b47822c14e2f773ad85ea7bc4a27e37698b1e5678a6fbe5bf1c000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x6053",
"chainId": "0x1ecf"
},
"additionalContracts": [],
Expand All @@ -26,7 +26,7 @@
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1727711533,
"timestamp": 1731276224,
"chain": 7887,
"commit": "3fb1dd4"
"commit": "850d688"
}
Loading

0 comments on commit a2148f8

Please sign in to comment.