diff --git a/broadcast/97-update_socket_app.s.sol/7887/dry-run/run-1731276224.json b/broadcast/97-update_socket_app.s.sol/7887/dry-run/run-1731276224.json new file mode 100644 index 00000000..2e1d00a7 --- /dev/null +++ b/broadcast/97-update_socket_app.s.sol/7887/dry-run/run-1731276224.json @@ -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" +} \ No newline at end of file diff --git a/broadcast/97-update_socket_app.s.sol/7887/dry-run/run-latest.json b/broadcast/97-update_socket_app.s.sol/7887/dry-run/run-latest.json index ba22e020..2e1d00a7 100644 --- a/broadcast/97-update_socket_app.s.sol/7887/dry-run/run-latest.json +++ b/broadcast/97-update_socket_app.s.sol/7887/dry-run/run-latest.json @@ -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": [], @@ -26,7 +26,7 @@ "libraries": [], "pending": [], "returns": {}, - "timestamp": 1727711533, + "timestamp": 1731276224, "chain": 7887, - "commit": "3fb1dd4" + "commit": "850d688" } \ No newline at end of file diff --git a/broadcast/97-update_socket_app.s.sol/7887/run-1731276296.json b/broadcast/97-update_socket_app.s.sol/7887/run-1731276296.json new file mode 100644 index 00000000..abd48e25 --- /dev/null +++ b/broadcast/97-update_socket_app.s.sol/7887/run-1731276296.json @@ -0,0 +1,95 @@ +{ + "transactions": [ + { + "hash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", + "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": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x116e50", + "logs": [ + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972" + ], + "data": "0x", + "blockHash": "0xab8f964a4bd5084bcce28d12f020fc7a184145242a8dedbcc3dff055350c2b88", + "blockNumber": "0x3d58f", + "transactionHash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", + "transactionIndex": "0x1", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x5a2b641b84b0230c8e75f55d5afd27f4dbd59d5b", + "topics": [ + "0x5ed922fe11a834df4ad0556e8f265179bbe61f057f4808eab4c3b6542b621260", + "0x0000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc" + ], + "data": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000070000000000000000000000006332e56a423480a211e301cb85be12814e9238bb0000000000000000000000002b98775abe9cdeb041e3c2e56c76ce2560af57fb00000000000000000000000012ff8947a2524303c13ca7da9be4914381f6557a00000000000000000000000072846179ef1467b2b71f2bb7525fcd4450e46b2a000000000000000000000000897da4d039f64090bfdb33cd2ed2da81add6fb02000000000000000000000000a7527c270f30cf3dafa6e82603b4978e1a8493590000000000000000000000006dbb5ee7c63775013faf810527dbede2810d7aee", + "blockHash": "0xab8f964a4bd5084bcce28d12f020fc7a184145242a8dedbcc3dff055350c2b88", + "blockNumber": "0x3d58f", + "transactionHash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", + "transactionIndex": "0x1", + "logIndex": "0x1", + "removed": false + }, + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f", + "0x8296b4e35a8e4618a195727d1c9093de8d060baf206fbf3fb7ed40a5dbbf27e5", + "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000e9f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000d6bcb00000000000000000000000000000000000000000000000000000000000d6bcb", + "blockHash": "0xab8f964a4bd5084bcce28d12f020fc7a184145242a8dedbcc3dff055350c2b88", + "blockNumber": "0x3d58f", + "transactionHash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", + "transactionIndex": "0x1", + "logIndex": "0x2", + "removed": false + } + ], + "logsBloom": "0x00000008000000000000000000000000000000000000000000000000000000000008000000000000000000010000000000000000000000400000020000000000000000000000000000000000000000000000000000000000000000000008000800000000020000000000000000000800002000000000000000000000000000000000000000000000000000000000800000000000000000800000080000000000000400000000000000400000000000000000000000000000000002000000000000000000000000100001000000000000000000010000000800000000000020000000000000010000000200000800000000000000000000001000000080000000", + "type": "0x2", + "transactionHash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", + "transactionIndex": "0x1", + "blockHash": "0xab8f964a4bd5084bcce28d12f020fc7a184145242a8dedbcc3dff055350c2b88", + "blockNumber": "0x3d58f", + "gasUsed": "0x116e50", + "effectiveGasPrice": "0x5f5e100", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "contractAddress": null, + "gasUsedForL1": "0x90a69", + "l1BlockNumber": "0x142e0cd" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1731276296, + "chain": 7887, + "commit": "850d688" +} \ No newline at end of file diff --git a/broadcast/97-update_socket_app.s.sol/7887/run-latest.json b/broadcast/97-update_socket_app.s.sol/7887/run-latest.json index 05f32d14..abd48e25 100644 --- a/broadcast/97-update_socket_app.s.sol/7887/run-latest.json +++ b/broadcast/97-update_socket_app.s.sol/7887/run-latest.json @@ -1,18 +1,21 @@ { "transactions": [ { - "hash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "hash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", "transactionType": "CALL", "contractName": null, - "contractAddress": null, - "function": null, - "arguments": 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": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000e780000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000076000000000000000000000000000000000000000000000000000000000000007a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005a4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000504c1d3c7b300000000000000000000000000000000000000000000000000000000000001000000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000006536f636b65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000abc64e84c653e0f077c0178e4b1fac01bfcc20b0000000000000000000000000db09c7c2c4071e3ca1bad0c357906efa17c251020000000000000000000000007d4e3628c3dece7ba053c296eea3729318f93715000000000000000000000000fe6e2862ef74adf306aacd575eaf5f45281b1017000000000000000000000000342f5ba3230f6d1e32aa775440bdcb93647dd4cd0000000000000000000000004c9c64b2fae0e13df9a635ad699c5efc386d1cee000000000000000000000000345b2061ea8256689349fca968cf7af0ff6011aa0000000000000000000000008d23e5ba32ca80809d60ed70ddbd96e6b3d6101500000000000000000000000028a6468de32690f63d8095e8980b43ab48f9470c000000000000000000000000ce2fc6c6bfcf04f2f857338ecf6004381f414926000000000000000000000000e3f4c9cca8ea855497d63800befb43f290ac78c6000000000000000000000000c7fca8ab6d1e1142790454e7e5655d93c3b03ed600000000000000000000000024f287b474a05e48627846148ccda3d05de03953000000000000000000000000a2a13094bab725d6d9dd8b9b5c01f1a1bf67f98600000000000000000000000090128652cf49a44f0374d0ee7d3782df59e72a8c000000000000000000000000d17b43d94f0bf2960d285e89de5b9a8369e3ed5b000000000000000000000000f5d3d976872e01b7b7af7964ca9cf4d9925847260000000000000000000000007da5691fb59740cf02cc7dc16743be9dcbf685b5000000000000000000000000e5b6205cfc03786fc554c40767a591b8dcbc1e76000000000000000000000000a968c2771d5e984979589ef8f6fa59d5818a208f000000000000000000000000ae7f260b74f289ab3701fb01cbf81bcd7645422200000000000000000000000045113356a5b8b1ba8a8bc75dcaac42be066638800000000000000000000000002d82862810e1b040b8ea419dc309572364e574e70000000000000000000000005f40795576557877d0fed93b5a9ea8a19592486200000000000000000000000019e5c67db27284907978f4fd856403346816bf870000000000000000000000005324a41fac86c0d6cd301b3144124fd3c399fd870000000000000000000000008cd4725d32ccfb201a25f1e1a18260e53f37c927000000000000000000000000b0fc8b7fb66958fe813475bbdc91c1ac75725442000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000829869980407b68ab1ea84834804ba26439dfac056993f5eafbd4c40d760bc0e0325aba9e0ab4598972fec1587e2fd999dd3a11f7831e0a646c6a67cfdcf3bd4e41bf9ffb66566f70e9bd422a6f8b5bce0f9f4513f1a53d170038825dc57f88ac2920f0d854eec50e09ef3271cdfa993aa254170f43019788c92c6a7c902fbd8436d1c000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x6029", + "input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000e9f0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144db9e99080000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000070000000000000000000000006332e56a423480a211e301cb85be12814e9238bb0000000000000000000000002b98775abe9cdeb041e3c2e56c76ce2560af57fb00000000000000000000000012ff8947a2524303c13ca7da9be4914381f6557a00000000000000000000000072846179ef1467b2b71f2bb7525fcd4450e46b2a000000000000000000000000897da4d039f64090bfdb33cd2ed2da81add6fb02000000000000000000000000a7527c270f30cf3dafa6e82603b4978e1a8493590000000000000000000000006dbb5ee7c63775013faf810527dbede2810d7aee0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082fc4ce1218c6d1ce0f14266566ca7e3608ac728e92d2e8b9ae5c5bfef7eceb13006ad3d5963164a09e80227a7ba8b027c1f73a658e25d5623b63539dbde697e0b1b2bfa04443a9f70de4deda214dd5efa493b2b6605a3f5901028627c30306e35b52ef619bae887256b47822c14e2f773ad85ea7bc4a27e37698b1e5678a6fbe5bf1c000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x6053", "chainId": "0x1ecf" }, "additionalContracts": [], @@ -22,7 +25,7 @@ "receipts": [ { "status": "0x1", - "cumulativeGasUsed": "0x182a98", + "cumulativeGasUsed": "0x116e50", "logs": [ { "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", @@ -30,9 +33,9 @@ "0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972" ], "data": "0x", - "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", - "blockNumber": "0x3d0ee", - "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "blockHash": "0xab8f964a4bd5084bcce28d12f020fc7a184145242a8dedbcc3dff055350c2b88", + "blockNumber": "0x3d58f", + "transactionHash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", "transactionIndex": "0x1", "logIndex": "0x0", "removed": false @@ -40,13 +43,13 @@ { "address": "0x5a2b641b84b0230c8e75f55d5afd27f4dbd59d5b", "topics": [ - "0x1c64f068a47e25f729fe0a695d5999e7c9669e2f9397d4a40fb04b3e89ad393f", + "0x5ed922fe11a834df4ad0556e8f265179bbe61f057f4808eab4c3b6542b621260", "0x0000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc" ], - "data": "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a00000000000000000000000000000000000000000000000000000000672d01b3", - "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", - "blockNumber": "0x3d0ee", - "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "data": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000070000000000000000000000006332e56a423480a211e301cb85be12814e9238bb0000000000000000000000002b98775abe9cdeb041e3c2e56c76ce2560af57fb00000000000000000000000012ff8947a2524303c13ca7da9be4914381f6557a00000000000000000000000072846179ef1467b2b71f2bb7525fcd4450e46b2a000000000000000000000000897da4d039f64090bfdb33cd2ed2da81add6fb02000000000000000000000000a7527c270f30cf3dafa6e82603b4978e1a8493590000000000000000000000006dbb5ee7c63775013faf810527dbede2810d7aee", + "blockHash": "0xab8f964a4bd5084bcce28d12f020fc7a184145242a8dedbcc3dff055350c2b88", + "blockNumber": "0x3d58f", + "transactionHash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", "transactionIndex": "0x1", "logIndex": "0x1", "removed": false @@ -55,38 +58,38 @@ "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", "topics": [ "0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f", - "0xd1a289f15b473e8fc72e3ea346b89c507df13ad5ebe8baae4f07306bdf219108", + "0x8296b4e35a8e4618a195727d1c9093de8d060baf206fbf3fb7ed40a5dbbf27e5", "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a", "0x0000000000000000000000000000000000000000000000000000000000000000" ], - "data": "0x0000000000000000000000000000000000000000000000000000000000000e78000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000001286300000000000000000000000000000000000000000000000000000000000128630", - "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", - "blockNumber": "0x3d0ee", - "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "data": "0x0000000000000000000000000000000000000000000000000000000000000e9f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000d6bcb00000000000000000000000000000000000000000000000000000000000d6bcb", + "blockHash": "0xab8f964a4bd5084bcce28d12f020fc7a184145242a8dedbcc3dff055350c2b88", + "blockNumber": "0x3d58f", + "transactionHash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", "transactionIndex": "0x1", "logIndex": "0x2", "removed": false } ], - "logsBloom": "0x00000000000000000000000000000080000000000000000000000000000000000008000000000000000000010000000000000000000000000000020000000000000000000000000000000000000000000000000001000000000000000008000800000000020000000000000000000800002000800000000000000000000000000000000040000000000000000000800000000000000000800000080000008000000400000000000000400000000000000000000000000000000002000000000000000000000000100001000000000000000000010000000000000000000020000000000000010000000000000000000000000000000000000000000080000000", - "type": "0x0", - "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "logsBloom": "0x00000008000000000000000000000000000000000000000000000000000000000008000000000000000000010000000000000000000000400000020000000000000000000000000000000000000000000000000000000000000000000008000800000000020000000000000000000800002000000000000000000000000000000000000000000000000000000000800000000000000000800000080000000000000400000000000000400000000000000000000000000000000002000000000000000000000000100001000000000000000000010000000800000000000020000000000000010000000200000800000000000000000000001000000080000000", + "type": "0x2", + "transactionHash": "0xa4f375d0368b87d8cafef1a75e27ee5a06ac4e7f9a0b55a54a9e0627651295fc", "transactionIndex": "0x1", - "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", - "blockNumber": "0x3d0ee", - "gasUsed": "0x182a98", + "blockHash": "0xab8f964a4bd5084bcce28d12f020fc7a184145242a8dedbcc3dff055350c2b88", + "blockNumber": "0x3d58f", + "gasUsed": "0x116e50", "effectiveGasPrice": "0x5f5e100", "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", "contractAddress": null, - "gasUsedForL1": "0xadb69", - "l1BlockNumber": "0x142882c" + "gasUsedForL1": "0x90a69", + "l1BlockNumber": "0x142e0cd" } ], "libraries": [], "pending": [], "returns": {}, - "timestamp": 1731002806, + "timestamp": 1731276296, "chain": 7887, - "commit": "fe1d82dc" + "commit": "850d688" } \ No newline at end of file diff --git a/script/migrations/97-update_socket_app.s.sol b/script/migrations/97-update_socket_app.s.sol index 047093fa..720d708c 100644 --- a/script/migrations/97-update_socket_app.s.sol +++ b/script/migrations/97-update_socket_app.s.sol @@ -4,56 +4,36 @@ pragma solidity ^0.8.18; import "../../src/wallet/KintoWallet.sol"; import {MigrationHelper} from "@kinto-core-script/utils/MigrationHelper.sol"; import {KintoAppRegistry} from "@kinto-core/apps/KintoAppRegistry.sol"; +import "@kinto-core-test/helpers/ArrayHelpers.sol"; contract KintoMigration97DeployScript is MigrationHelper { + using ArrayHelpers for *; + function run() public override { super.run(); KintoAppRegistry kintoAppRegistry = KintoAppRegistry(payable(_getChainDeployment("KintoAppRegistry"))); address socketApp = 0x3e9727470C66B1e77034590926CDe0242B5A3dCc; // Socket-DL contract - address[] memory appContracts = new address[](28); - - // controllers - appContracts[0] = address(0xaBc64E84c653e0f077c0178E4b1fAC01Bfcc20b0); // DAI controller - appContracts[1] = address(0xDB09c7C2C4071e3Ca1bAD0C357906Efa17c25102); // wstETH controller - appContracts[2] = address(0x7D4E3628C3DEce7bA053c296eEA3729318F93715); // WETH controller - appContracts[3] = address(0xFe6E2862ef74ADF306AAcd575eAF5F45281B1017); // USDC controller - appContracts[4] = address(0x342f5BA3230f6D1E32Aa775440BDcB93647dD4CD); // ENA controller - appContracts[5] = address(0x4c9c64B2FAe0e13dF9A635ad699c5eFC386D1Cee); // USDe controller - appContracts[6] = address(0x345B2061EA8256689349fca968CF7Af0Ff6011Aa); // EIGEN controller - appContracts[7] = address(0x8D23e5Ba32Ca80809d60eD70ddbd96e6b3D61015); // eETH controller - appContracts[8] = address(0x28A6468dE32690f63D8095e8980B43ab48F9470C); // sDAI controller - appContracts[9] = address(0xCE2FC6C6bFCF04f2f857338ecF6004381F414926); // sUSDe controller - appContracts[10] = address(0xe3F4C9cCA8eA855497D63800beFb43f290aC78c6); // wUSDM controller - appContracts[11] = address(0xC7FCA8aB6D1E1142790454e7e5655d93c3b03ed6); // weETH controller - appContracts[12] = address(0x24f287b474a05E48627846148cCdA3D05de03953); // ETHFI controller - appContracts[13] = address(0xA2a13094baB725D6D9dd8b9B5c01F1a1bF67F986); // SolvBTC controller - appContracts[14] = address(0x90128652cF49A44F0374d0EE7d3782df59e72A8C); // MKR controller - appContracts[15] = address(0xd17b43d94f0BF2960d285E89de5b9a8369e3eD5b); // PAXG controller - appContracts[16] = address(0xf5d3d976872E01b7B7aF7964Ca9cf4D992584726); // XAUT controller - appContracts[17] = address(0x7DA5691fB59740cF02CC7dc16743Be9dCBf685b5); // stUSD controller - appContracts[18] = address(0xe5b6205CfC03786Fc554c40767A591b8dCBC1E76); // stEUR controller - appContracts[19] = address(0xa968C2771d5E984979589ef8f6fA59D5818a208F); // SOL controller - appContracts[20] = address(0xaE7f260b74f289ab3701fb01Cbf81bCD76454222); // SPX controller - appContracts[21] = address(0x45113356a5b8b1ba8A8Bc75dcAAc42bE06663880); // rETH controller - appContracts[22] = address(0x2d82862810e1B040B8EA419dc309572364E574e7); // GHO controller - appContracts[23] = address(0x5f40795576557877d0fEd93b5A9ea8a195924862); // LINK controller - appContracts[24] = address(0x19E5C67db27284907978F4Fd856403346816BF87); // ARB controller - appContracts[25] = address(0x5324a41FaC86C0D6CD301B3144124fD3c399Fd87); // AAVE controller - appContracts[26] = address(0x8cd4725D32CcFB201A25F1E1a18260E53F37C927); // cbETH controller - appContracts[27] = address(0xB0FC8B7fb66958fe813475bBDC91c1Ac75725442); // cbBTC controller - - uint256[4] memory appLimits = [RATE_LIMIT_PERIOD, RATE_LIMIT_THRESHOLD, GAS_LIMIT_PERIOD, GAS_LIMIT_THRESHOLD]; _handleOps( abi.encodeWithSelector( - KintoAppRegistry.updateMetadata.selector, "Socket", socketApp, appContracts, appLimits, new address[](0) + KintoAppRegistry.addAppContracts.selector, + socketApp, + [ + 0x6332e56A423480A211E301Cb85be12814e9238Bb, + 0x2B98775aBE9cDEb041e3c2E56C76ce2560AF57FB, + 0x12FF8947a2524303C13ca7dA9bE4914381f6557a, + 0x72846179EF1467B2b71F2bb7525fcD4450E46B2A, + 0x897DA4D039f64090bfdb33cd2Ed2Da81adD6FB02, + 0xa7527C270f30cF3dAFa6e82603b4978e1A849359, + 0x6dbB5ee7c63775013FaF810527DBeDe2810d7Aee + ].toMemoryArray() ), address(_getChainDeployment("KintoAppRegistry")) ); - assertEq(kintoAppRegistry.getApp(0xaBc64E84c653e0f077c0178E4b1fAC01Bfcc20b0), socketApp); - assertEq(kintoAppRegistry.getApp(0xa968C2771d5E984979589ef8f6fA59D5818a208F), socketApp); + assertEq(kintoAppRegistry.getApp(0x6332e56A423480A211E301Cb85be12814e9238Bb), socketApp); + assertEq(kintoAppRegistry.getApp(0x6dbB5ee7c63775013FaF810527DBeDe2810d7Aee), socketApp); } } diff --git a/test/helpers/ArrayHelpers.sol b/test/helpers/ArrayHelpers.sol index c8508f11..583e8400 100644 --- a/test/helpers/ArrayHelpers.sol +++ b/test/helpers/ArrayHelpers.sol @@ -68,6 +68,31 @@ library ArrayHelpers { return ret; } + function toMemoryArray(address[7] memory array) internal pure returns (address[] memory) { + address[] memory ret = new address[](7); + ret[0] = array[0]; + ret[1] = array[1]; + ret[2] = array[2]; + ret[3] = array[3]; + ret[4] = array[4]; + ret[5] = array[5]; + ret[6] = array[6]; + return ret; + } + + function toMemoryArray(address[8] memory array) internal pure returns (address[] memory) { + address[] memory ret = new address[](8); + ret[0] = array[0]; + ret[1] = array[1]; + ret[2] = array[2]; + ret[3] = array[3]; + ret[4] = array[4]; + ret[5] = array[5]; + ret[6] = array[6]; + ret[7] = array[7]; + return ret; + } + function toMemoryArray(uint256[1] memory array) internal pure returns (uint256[] memory) { uint256[] memory ret = new uint256[](1); ret[0] = array[0];