Skip to content

Commit b93448d

Browse files
authored
chore: redeploy AcrossEventEmitter w/ EVM bytecode to zksync networks (#1166)
Signed-off-by: bennett <[email protected]>
1 parent 41d3ba1 commit b93448d

File tree

4 files changed

+1542
-218
lines changed

4 files changed

+1542
-218
lines changed

deployments/lens/AcrossEventEmitter.json

Lines changed: 113 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"address": "0x6AA1d7390C0B9F36f08503207985fEAE6C6a13Dc",
2+
"address": "0xBF75133b48b0a42AB9374027902E83C5E2949034",
33
"abi": [
44
{
55
"anonymous": false,
@@ -28,120 +28,124 @@
2828
"type": "function"
2929
}
3030
],
31-
"numDeployments": 1,
32-
"solcInputHash": "a2fe052ed50c2110988c5b3cea298cfa",
33-
"metadata": {
34-
"llvm_options": [],
35-
"optimizer_settings": {
36-
"is_debug_logging_enabled": false,
37-
"is_fallback_to_size_enabled": false,
38-
"is_verify_each_enabled": false,
39-
"level_back_end": "Aggressive",
40-
"level_middle_end": "Aggressive",
41-
"level_middle_end_size": "Zero"
42-
},
43-
"solc_version": "0.8.23",
44-
"solc_zkvm_edition": "1.0.1",
45-
"source_metadata": {
46-
"compiler": {
47-
"version": "0.8.23+commit.b42ca2a3"
31+
"transactionHash": "0x3ebf63b9172768d2a71aeefd33a70a3f8196557ca4bf1d750c8e5aa085d7c3cd",
32+
"receipt": {
33+
"to": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
34+
"from": "0x9A8f92a830A5cB89a3816e3D267CB7791c16b04D",
35+
"contractAddress": null,
36+
"transactionIndex": 0,
37+
"gasUsed": "213933",
38+
"logsBloom": "0x00000001000403080000010000000000004000000000400000000000000000000000000000000000001000000200000000000000000000000040000000000000000100000001040000000028080040000400000000000000000000000000080000000000020100000000000000000800000000000000400000000010040000000000001000000000000004000100000000000100001000000000000000000080000000000001100000000000800100000000000000000000002000010000000000000002008000800000000000000000000010000100000000000000000020000001008000000020000000000000000080000004000000000000000080000000",
39+
"blockHash": "0x5a9ae49192979e74281afd298a2549469d4299ed68a88f39a29ee8cefa82cb0d",
40+
"transactionHash": "0x3ebf63b9172768d2a71aeefd33a70a3f8196557ca4bf1d750c8e5aa085d7c3cd",
41+
"logs": [
42+
{
43+
"transactionIndex": 0,
44+
"blockNumber": 4835847,
45+
"transactionHash": "0x3ebf63b9172768d2a71aeefd33a70a3f8196557ca4bf1d750c8e5aa085d7c3cd",
46+
"address": "0x000000000000000000000000000000000000800A",
47+
"topics": [
48+
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
49+
"0x0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d",
50+
"0x0000000000000000000000000000000000000000000000000000000000008001"
51+
],
52+
"data": "0x0000000000000000000000000000000000000000000000000009f263a04d36a3",
53+
"logIndex": 0,
54+
"blockHash": "0x5a9ae49192979e74281afd298a2549469d4299ed68a88f39a29ee8cefa82cb0d"
4855
},
49-
"language": "Solidity",
50-
"output": {
51-
"abi": [
52-
{
53-
"anonymous": false,
54-
"inputs": [
55-
{
56-
"indexed": false,
57-
"internalType": "bytes",
58-
"name": "data",
59-
"type": "bytes"
60-
}
61-
],
62-
"name": "MetadataEmitted",
63-
"type": "event"
64-
},
65-
{
66-
"inputs": [
67-
{
68-
"internalType": "bytes",
69-
"name": "data",
70-
"type": "bytes"
71-
}
72-
],
73-
"name": "emitData",
74-
"outputs": [],
75-
"stateMutability": "nonpayable",
76-
"type": "function"
77-
}
56+
{
57+
"transactionIndex": 0,
58+
"blockNumber": 4835847,
59+
"transactionHash": "0x3ebf63b9172768d2a71aeefd33a70a3f8196557ca4bf1d750c8e5aa085d7c3cd",
60+
"address": "0x000000000000000000000000000000000000800A",
61+
"topics": [
62+
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
63+
"0x0000000000000000000000000000000000000000000000000000000000008001",
64+
"0x0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d"
7865
],
79-
"devdoc": {
80-
"events": {
81-
"MetadataEmitted(bytes)": {
82-
"params": {
83-
"data": "The metadata bytes emitted"
84-
}
85-
}
86-
},
87-
"kind": "dev",
88-
"methods": {
89-
"emitData(bytes)": {
90-
"params": {
91-
"data": "The bytes data to emit"
92-
}
93-
}
94-
},
95-
"title": "AcrossEventEmitter",
96-
"version": 1
97-
},
98-
"userdoc": {
99-
"events": {
100-
"MetadataEmitted(bytes)": {
101-
"notice": "Emitted when metadata is stored"
102-
}
103-
},
104-
"kind": "user",
105-
"methods": {
106-
"emitData(bytes)": {
107-
"notice": "Emits metadata as an event"
108-
}
109-
},
110-
"notice": "A simple contract that emits events with bytes encoded metadata",
111-
"version": 1
112-
}
66+
"data": "0x0000000000000000000000000000000000000000000000000002166d67297df0",
67+
"logIndex": 1,
68+
"blockHash": "0x5a9ae49192979e74281afd298a2549469d4299ed68a88f39a29ee8cefa82cb0d"
11369
},
114-
"settings": {
115-
"compilationTarget": {
116-
"contracts/AcrossEventEmitter.sol": "AcrossEventEmitter"
117-
},
118-
"evmVersion": "shanghai",
119-
"libraries": {},
120-
"metadata": {
121-
"bytecodeHash": "ipfs"
122-
},
123-
"optimizer": {
124-
"enabled": true,
125-
"runs": 200
126-
},
127-
"remappings": []
70+
{
71+
"transactionIndex": 0,
72+
"blockNumber": 4835847,
73+
"transactionHash": "0x3ebf63b9172768d2a71aeefd33a70a3f8196557ca4bf1d750c8e5aa085d7c3cd",
74+
"address": "0x0000000000000000000000000000000000008008",
75+
"topics": ["0x27fe8c0b49f49507b9d4fe5968c9f49edfe5c9df277d433a07a0717ede97638d"],
76+
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000034e00000000000000000000000000000000000000000000000000000000000080080000000000000000000000000000000000000000000000000000000000008004456463b4d0d5b5828a3df7dece64a0d5a253f09fbfbf41d86e6d336981c8a78e",
77+
"logIndex": 2,
78+
"blockHash": "0x5a9ae49192979e74281afd298a2549469d4299ed68a88f39a29ee8cefa82cb0d"
12879
},
129-
"sources": {
130-
"contracts/AcrossEventEmitter.sol": {
131-
"keccak256": "0xf40ca34b904d800db09e80ace2cc7331dba212373c14b32fb370298946b136b3",
132-
"license": "BUSL-1.1",
133-
"urls": [
134-
"bzz-raw://d32f9aa20bd2d8b043467c73dee8c09c62950b278fac7af9b4595ba5db421a30",
135-
"dweb:/ipfs/QmWJAmg5peVvLe616HrB3mFwz2he5HpphCPwwyKunbKw4F"
136-
]
137-
}
80+
{
81+
"transactionIndex": 0,
82+
"blockNumber": 4835847,
83+
"transactionHash": "0x3ebf63b9172768d2a71aeefd33a70a3f8196557ca4bf1d750c8e5aa085d7c3cd",
84+
"address": "0x0000000000000000000000000000000000008008",
85+
"topics": [
86+
"0x3a36e47291f4201faf137fab081d92295bce2d53be2c6ca68ba82c7faa9ce241",
87+
"0x0000000000000000000000000000000000000000000000000000000000008004",
88+
"0x456463b4d0d5b5828a3df7dece64a0d5a253f09fbfbf41d86e6d336981c8a78e"
89+
],
90+
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000016060808060405260043610156011575f80fd5b5f3560e01c63d836083e146023575f80fd5b3460f45760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011260f4576004359067ffffffffffffffff80831160f4573660238401121560f457826004013590811160f457366024828501011160f457801560f457817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8360409460247fc28009f405f9b451f5155492167b1ad5ab376d991bea880cb5049e924e5b823c986020875282602088015201868601375f85828601015201168101030190a1005b5f80fdfea2646970667358221220a2c7a0f09e981d67663b05d824037d0d54404d85e8c1debac93ab835ff1790aa64736f6c634300081700330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
91+
"logIndex": 3,
92+
"blockHash": "0x5a9ae49192979e74281afd298a2549469d4299ed68a88f39a29ee8cefa82cb0d"
13893
},
139-
"version": 1
140-
},
141-
"zk_version": "1.5.7"
94+
{
95+
"transactionIndex": 0,
96+
"blockNumber": 4835847,
97+
"transactionHash": "0x3ebf63b9172768d2a71aeefd33a70a3f8196557ca4bf1d750c8e5aa085d7c3cd",
98+
"address": "0x0000000000000000000000000000000000008004",
99+
"topics": [
100+
"0xc94722ff13eacf53547c4741dab5228353a05938ffcdd5d4a2d533ae0e618287",
101+
"0x0200012e60d7915071518eb2e24ab59d533bb9f7bcbcfbc60b8955ba5ffb6eff",
102+
"0x0000000000000000000000000000000000000000000000000000000000000000"
103+
],
104+
"data": "0x",
105+
"logIndex": 4,
106+
"blockHash": "0x5a9ae49192979e74281afd298a2549469d4299ed68a88f39a29ee8cefa82cb0d"
107+
},
108+
{
109+
"transactionIndex": 0,
110+
"blockNumber": 4835847,
111+
"transactionHash": "0x3ebf63b9172768d2a71aeefd33a70a3f8196557ca4bf1d750c8e5aa085d7c3cd",
112+
"address": "0x0000000000000000000000000000000000008006",
113+
"topics": [
114+
"0x290afdae231a3fc0bbae8b1af63698b0a1d79b21ad17df0342dfb952fe74f8e5",
115+
"0x0000000000000000000000004e59b44847b379578588920ca78fbf26c0b4956c",
116+
"0x0200012e60d7915071518eb2e24ab59d533bb9f7bcbcfbc60b8955ba5ffb6eff",
117+
"0x000000000000000000000000bf75133b48b0a42ab9374027902e83c5e2949034"
118+
],
119+
"data": "0x",
120+
"logIndex": 5,
121+
"blockHash": "0x5a9ae49192979e74281afd298a2549469d4299ed68a88f39a29ee8cefa82cb0d"
122+
},
123+
{
124+
"transactionIndex": 0,
125+
"blockNumber": 4835847,
126+
"transactionHash": "0x3ebf63b9172768d2a71aeefd33a70a3f8196557ca4bf1d750c8e5aa085d7c3cd",
127+
"address": "0x000000000000000000000000000000000000800A",
128+
"topics": [
129+
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
130+
"0x0000000000000000000000000000000000000000000000000000000000008001",
131+
"0x0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d"
132+
],
133+
"data": "0x0000000000000000000000000000000000000000000000000005c0bcf8a30992",
134+
"logIndex": 6,
135+
"blockHash": "0x5a9ae49192979e74281afd298a2549469d4299ed68a88f39a29ee8cefa82cb0d"
136+
}
137+
],
138+
"blockNumber": 4835847,
139+
"cumulativeGasUsed": "0",
140+
"status": 1,
141+
"byzantium": true
142142
},
143-
"bytecode": "0x0000008003000039000000400030043f00000001002001900000002d0000c13d00000060021002700000001c03200197000000040030008c000000660000413d000000000201043b0000001e022001970000001f0020009c000000660000c13d000000240030008c000000660000413d0000000002000416000000000002004b000000660000c13d0000000402100370000000000502043b000000200050009c000000660000213d0000002302500039000000000032004b000000660000813d0000000404500039000000000241034f000000000202043b000000200020009c000000660000213d00000000052500190000002405500039000000000035004b000000660000213d000000000002004b000000350000c13d0000002501000041000000800010043f0000002001000039000000840010043f0000001401000039000000a40010043f0000002601000041000000c40010043f00000027010000410000006f000104300000000001000416000000000001004b000000660000c13d0000002001000039000001000010044300000120000004430000001d010000410000006e0001042e0000002003000039000000800030043f0000002003400039000000000431034f000000a00020043f00000028052001980000001f0620018f000000c003500039000000440000613d000000c007000039000000000804034f000000008908043c0000000007970436000000000037004b000000400000c13d000000000006004b000000510000613d000000000454034f0000000305600210000000000603043300000000065601cf000000000656022f000000000404043b0000010005500089000000000454022f00000000045401cf000000000464019f0000000000430435000000c00320003900000000000304350000001f0220003900000028012001970000006002100210000000210220009a000000220010009c000000230200804100000000010004140000001c0010009c0000001c01008041000000c00110021000000000012100190000800d0200003900000001030000390000002404000041006d00680000040f0000000100200190000000660000613d00000000010000190000006e0001042e00000000010000190000006f000104300000006b002104210000000102000039000000000001042d0000000002000019000000000001042d0000006d000004320000006e0001042e0000006f0001043000000000000000000000000000000000000000000000000000000000ffffffff0000000200000000000000000000000000000040000001000000000000000000ffffffff00000000000000000000000000000000000000000000000000000000d836083e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffdffffffffffffffffffffffffffffffffffffbfffffff80000000000000000000000000000000000000000000000000000000000000000000000000ffffffc002000000000000000000000000000000ffffffff000000800000000000000000c28009f405f9b451f5155492167b1ad5ab376d991bea880cb5049e924e5b823c08c379a000000000000000000000000000000000000000000000000000000000446174612063616e6e6f7420626520656d7074790000000000000000000000000000000000000000000000000000000000000064000000800000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00000000000000000000000000000000000000000000000000000000000000000ac2f3ed61de7d44cd2f56e7b95dcd7bac8ea415990df114194de5f7520ffe9df",
144-
"deployedBytecode": "0x0000008003000039000000400030043f00000001002001900000002d0000c13d00000060021002700000001c03200197000000040030008c000000660000413d000000000201043b0000001e022001970000001f0020009c000000660000c13d000000240030008c000000660000413d0000000002000416000000000002004b000000660000c13d0000000402100370000000000502043b000000200050009c000000660000213d0000002302500039000000000032004b000000660000813d0000000404500039000000000241034f000000000202043b000000200020009c000000660000213d00000000052500190000002405500039000000000035004b000000660000213d000000000002004b000000350000c13d0000002501000041000000800010043f0000002001000039000000840010043f0000001401000039000000a40010043f0000002601000041000000c40010043f00000027010000410000006f000104300000000001000416000000000001004b000000660000c13d0000002001000039000001000010044300000120000004430000001d010000410000006e0001042e0000002003000039000000800030043f0000002003400039000000000431034f000000a00020043f00000028052001980000001f0620018f000000c003500039000000440000613d000000c007000039000000000804034f000000008908043c0000000007970436000000000037004b000000400000c13d000000000006004b000000510000613d000000000454034f0000000305600210000000000603043300000000065601cf000000000656022f000000000404043b0000010005500089000000000454022f00000000045401cf000000000464019f0000000000430435000000c00320003900000000000304350000001f0220003900000028012001970000006002100210000000210220009a000000220010009c000000230200804100000000010004140000001c0010009c0000001c01008041000000c00110021000000000012100190000800d0200003900000001030000390000002404000041006d00680000040f0000000100200190000000660000613d00000000010000190000006e0001042e00000000010000190000006f000104300000006b002104210000000102000039000000000001042d0000000002000019000000000001042d0000006d000004320000006e0001042e0000006f0001043000000000000000000000000000000000000000000000000000000000ffffffff0000000200000000000000000000000000000040000001000000000000000000ffffffff00000000000000000000000000000000000000000000000000000000d836083e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffdffffffffffffffffffffffffffffffffffffbfffffff80000000000000000000000000000000000000000000000000000000000000000000000000ffffffc002000000000000000000000000000000ffffffff000000800000000000000000c28009f405f9b451f5155492167b1ad5ab376d991bea880cb5049e924e5b823c08c379a000000000000000000000000000000000000000000000000000000000446174612063616e6e6f7420626520656d7074790000000000000000000000000000000000000000000000000000000000000064000000800000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00000000000000000000000000000000000000000000000000000000000000000ac2f3ed61de7d44cd2f56e7b95dcd7bac8ea415990df114194de5f7520ffe9df",
143+
"args": [],
144+
"numDeployments": 2,
145+
"solcInputHash": "7dedd3b35fc7a222d0a8d437c68d5f49",
146+
"metadata": "{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"MetadataEmitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"emitData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"MetadataEmitted(bytes)\":{\"params\":{\"data\":\"The metadata bytes emitted\"}}},\"kind\":\"dev\",\"methods\":{\"emitData(bytes)\":{\"params\":{\"data\":\"The bytes data to emit\"}}},\"title\":\"AcrossEventEmitter\",\"version\":1},\"userdoc\":{\"events\":{\"MetadataEmitted(bytes)\":{\"notice\":\"Emitted when metadata is stored\"}},\"kind\":\"user\",\"methods\":{\"emitData(bytes)\":{\"notice\":\"Emits metadata as an event\"}},\"notice\":\"A simple contract that emits events with bytes encoded metadata\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/AcrossEventEmitter.sol\":\"AcrossEventEmitter\"},\"debug\":{\"revertStrings\":\"strip\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/AcrossEventEmitter.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title AcrossEventEmitter\\n * @notice A simple contract that emits events with bytes encoded metadata\\n */\\ncontract AcrossEventEmitter {\\n /**\\n * @notice Emitted when metadata is stored\\n * @param data The metadata bytes emitted\\n */\\n event MetadataEmitted(bytes data);\\n\\n /**\\n * @notice Emits metadata as an event\\n * @param data The bytes data to emit\\n */\\n function emitData(bytes calldata data) external {\\n require(data.length > 0, \\\"Data cannot be empty\\\");\\n emit MetadataEmitted(data);\\n }\\n}\\n\",\"keccak256\":\"0xf40ca34b904d800db09e80ace2cc7331dba212373c14b32fb370298946b136b3\",\"license\":\"BUSL-1.1\"}},\"version\":1}",
147+
"bytecode": "0x608080604052346100165761012e908161001b8239f35b5f80fdfe60808060405260043610156011575f80fd5b5f3560e01c63d836083e146023575f80fd5b3460f45760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011260f4576004359067ffffffffffffffff80831160f4573660238401121560f457826004013590811160f457366024828501011160f457801560f457817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8360409460247fc28009f405f9b451f5155492167b1ad5ab376d991bea880cb5049e924e5b823c986020875282602088015201868601375f85828601015201168101030190a1005b5f80fdfea2646970667358221220a2c7a0f09e981d67663b05d824037d0d54404d85e8c1debac93ab835ff1790aa64736f6c63430008170033",
148+
"deployedBytecode": "0x60808060405260043610156011575f80fd5b5f3560e01c63d836083e146023575f80fd5b3460f45760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011260f4576004359067ffffffffffffffff80831160f4573660238401121560f457826004013590811160f457366024828501011160f457801560f457817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8360409460247fc28009f405f9b451f5155492167b1ad5ab376d991bea880cb5049e924e5b823c986020875282602088015201868601375f85828601015201168101030190a1005b5f80fdfea2646970667358221220a2c7a0f09e981d67663b05d824037d0d54404d85e8c1debac93ab835ff1790aa64736f6c63430008170033",
145149
"devdoc": {
146150
"events": {
147151
"MetadataEmitted(bytes)": {

0 commit comments

Comments
 (0)