Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4e16a5e
add scripts
luiz-lvj Dec 16, 2025
bc6bf83
merge
luiz-lvj Dec 22, 2025
1e9c128
Merge branch 'main' of github.com:openintentsframework/broadcaster in…
luiz-lvj Dec 22, 2025
b5fa881
up
luiz-lvj Jan 8, 2026
15bf5af
Merge branch 'update-erc' of github.com:openintentsframework/broadcas…
luiz-lvj Jan 26, 2026
a5da843
Merge branch 'update-erc' of github.com:openintentsframework/broadcas…
luiz-lvj Jan 27, 2026
47bbd11
update naming
luiz-lvj Jan 27, 2026
30ce5a6
update pragma version
luiz-lvj Jan 27, 2026
fb1df27
update script
luiz-lvj Jan 27, 2026
378075b
up
luiz-lvj Jan 27, 2026
0f1fddd
up
luiz-lvj Jan 27, 2026
edb64c9
Merge branch 'update-erc' of github.com:openintentsframework/broadcas…
luiz-lvj Jan 28, 2026
9cdad6c
Merge branch 'main' of github.com:openintentsframework/broadcaster in…
luiz-lvj Jan 28, 2026
28a7561
Merge branch 'main' of github.com:openintentsframework/broadcaster in…
luiz-lvj Jan 28, 2026
6464771
Merge branch 'main' of github.com:openintentsframework/broadcaster in…
luiz-lvj Jan 29, 2026
eddd261
Merge branch 'main' of github.com:openintentsframework/broadcaster in…
luiz-lvj Feb 25, 2026
ca05270
broadcaster and receiver addresses
luiz-lvj Feb 26, 2026
4923e58
contracts
luiz-lvj Feb 26, 2026
01a695f
update contracts
luiz-lvj Mar 2, 2026
1f73813
forge fmt
luiz-lvj Mar 2, 2026
912764c
simplify files
luiz-lvj Mar 2, 2026
15b5ca4
forge fmt
luiz-lvj Mar 2, 2026
126bcc3
up
luiz-lvj Mar 2, 2026
994c3c2
update contracts
luiz-lvj Mar 4, 2026
1dcc2a4
remove SEPOLIA from env variables
luiz-lvj Mar 11, 2026
1296dad
update addresses
luiz-lvj Mar 11, 2026
283363c
up
luiz-lvj Mar 11, 2026
64acb85
up
luiz-lvj Mar 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 46 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,47 @@
ARBITRUM_RPC_URL= # Arbitrum Sepolia URL
ETHEREUM_RPC_URL= # Ethereum Sepolia URL
ARBITRUM_RPC_URL=
ETHEREUM_RPC_URL=
ZKSYNC_RPC_URL=
OPTIMISM_RPC_URL=
LINEA_SEPOLIA= # Ethereum Sepolia URL
LINEA_RPC_URL=
SCROLL_RPC_URL=

OWNER=0xCc2ACDd7eF3e9841d42E00199D4cF5bcdCa77a7e
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Remove the real OWNER value from the example file.

Copying this file verbatim will make deployments assign ownership to 0xCc2ACDd7eF3e9841d42E00199D4cF5bcdCa77a7e. Leave the sample blank or replace it with an obvious placeholder so operators must set their own address.

Suggested patch
-OWNER=0xCc2ACDd7eF3e9841d42E00199D4cF5bcdCa77a7e
+OWNER=
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
OWNER=0xCc2ACDd7eF3e9841d42E00199D4cF5bcdCa77a7e
OWNER=
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.env.example at line 8, The .env.example currently contains a real Ethereum
address for the OWNER variable; replace the hardcoded value for OWNER with an
obviously fake placeholder or leave it blank (e.g., OWNER=YOUR_OWNER_ADDRESS or
OWNER=) so operators must set their own address rather than accidentally
inheriting 0xCc2ACDd7eF3e9841d42E00199D4cF5bcdCa77a7e; update the OWNER entry
accordingly and ensure no other real secrets/addresses remain in .env.example.


DEPLOYER_PRIVATE_KEY=

ETHEREUM_CHAIN_ID=

# Arbitrum Envs
ARBITRUM_CHAIN_ID=
ARBITRUM_OUTBOX=
ARBITRUM_ROOTS_SLOT=

#Linea Envs
LINEA_CHAIN_ID=
LINEA_ROLLUP=
LINEA_STATE_ROOT_HASHES_SLOT=
LINEA_L2_MESSAGE_SERVICE=

# Scroll Envs
SCROLL_CHAIN_ID=
SCROLL_CHAIN_SEPOLIA=
SCROLL_FINALIZED_STATE_ROOT_SLOT=
L1_SCROLL_MESSENGER=
L2_SCROLL_MESSENGER=

# Optimism Envs
OPTIMISM_CHAIN_ID=
OPTIMISM_ANCHOR_GAME_SLOT=
OPTIMISM_ANCHOR_STATE_REGISTRY=
OPTIMISM_L1_CROSS_DOMAIN_MESSENGER_PROXY=
OPTIMISM_L2_CROSS_DOMAIN_MESSENGER=

# ZkSync Envs
ZKSYNC_CHAIN_ID=
ZKSYNC_DIAMOND=
ZKSYNC_GATEWAY_ZK_CHAIN=
ZKSYNC_L2_LOGS_ROOT_HASH_SLOT=
ZKSYNC_GATEWAY_CHAIN_ID=



22 changes: 22 additions & 0 deletions deployments/arbitrum-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"contracts": {
"broadcaster": "0x2e6f2Cb4bf4E4D2166F83958442a180825B94248",
"receiver": "0x712535fE2e24df51917DB5438EB3dA90437F70AF",
"buffer": "0x0000000048C4Ed10cF14A02B9E0AbDDA5227b071",
"pusher": "0x5a5C4f3D0F0Efaeed2aEc9B59B67eC62a4666D88"
},
"copies": {
"ethereum-sepolia": {
"linea-sepolia": "0x3E36338736c590753F071D90779b0449bD576834",
"scroll-sepolia": "0x2635119429AFE9ed4b5dC38f71D12f1A241231Ec",
"optimism-sepolia": "0x9B22f2bB9a5ECbEd10984f47c1A5FE8C551Fbf6a",
"zksync-sepolia": "0xf5e56d9d93267631f69dB9388d38e9c487830bD4"
}
},
"provers": {
"ethereum-sepolia": {
"pointer": "0x2B48c5BeE8A3C63bbD5f5Be10bFCcda2ab372BF0",
"prover": "0x9b7478a19530735ef5DC022c3f00Bf303acc6950"
}
}
}
35 changes: 35 additions & 0 deletions deployments/ethereum-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"contracts": {
"broadcaster": "0x2e6f2Cb4bf4E4D2166F83958442a180825B94248",
"receiver": "0x712535fE2e24df51917DB5438EB3dA90437F70AF"
},
"pushers": {
"arbitrum-sepolia": "0x5a5C4f3D0F0Efaeed2aEc9B59B67eC62a4666D88",
"linea-sepolia": "0x2aC21Fcfd6905eF13FA9bc0F874f3524029cB443",
"scroll-sepolia": "0xF99b4E792aCaBa74cb2d1A5D3fDBDFfe630C0a8e",
"zksync-sepolia": "0xc69281Edb758A5dDD7A13e12b4F3d81b14Bd983B",
"optimism-sepolia": "0x2c4ded0d5883646AEAD86a6C748c871afa819125"
},
"provers": {
"arbitrum-sepolia": {
"pointer": "0x95D7Dd7F981ADFaA6a8C8446a2d026Bef16949d6",
"prover": "0x3ed2414D931f28Ef85D2E5e74e509d6FEDB812F6"
},
"linea-sepolia": {
"pointer": "0x99ED6a6C9749D624b2D6aF881cdcaE5248Eb290b",
"prover": "0x3E36338736c590753F071D90779b0449bD576834"
},
"scroll-sepolia": {
"pointer": "0x3FAe4F166289B46122b8236e948268d7846edeB6",
"prover": "0x2635119429AFE9ed4b5dC38f71D12f1A241231Ec"
},
"optimism-sepolia": {
"pointer": "0xba8A90CE0DF7cCBFd2d8cC47D53BdA0303E4e24a",
"prover": "0x9B22f2bB9a5ECbEd10984f47c1A5FE8C551Fbf6a"
},
"zksync-sepolia": {
"pointer": "0x7cac647e088b7361953f37C0C3BaA092748b8E7F",
"prover": "0xf5e56d9d93267631f69dB9388d38e9c487830bD4"
}
}
}
22 changes: 22 additions & 0 deletions deployments/linea-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"contracts": {
"broadcaster": "0x2e6f2Cb4bf4E4D2166F83958442a180825B94248",
"receiver": "0x712535fE2e24df51917DB5438EB3dA90437F70AF",
"buffer": "0xCd455Df9F48Af8C86427fE3F86787D95330F65AA",
"pusher": "0x2aC21Fcfd6905eF13FA9bc0F874f3524029cB443"
},
"copies": {
"ethereum-sepolia": {
"arbitrum-sepolia": "0x3ed2414D931f28Ef85D2E5e74e509d6FEDB812F6",
"scroll-sepolia": "0x2635119429AFE9ed4b5dC38f71D12f1A241231Ec",
"optimism-sepolia": "0x9B22f2bB9a5ECbEd10984f47c1A5FE8C551Fbf6a",
"zksync-sepolia": "0xf5e56d9d93267631f69dB9388d38e9c487830bD4"
}
},
"provers": {
"ethereum-sepolia": {
"pointer": "0x2B48c5BeE8A3C63bbD5f5Be10bFCcda2ab372BF0",
"prover": "0xCde1e6b2Dc517838c1eD4544c588e177F83D64E1"
}
}
}
22 changes: 22 additions & 0 deletions deployments/optimism-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"contracts": {
"broadcaster": "0x2e6f2Cb4bf4E4D2166F83958442a180825B94248",
"receiver": "0x712535fE2e24df51917DB5438EB3dA90437F70AF",
"buffer": "0xaC0a6EB6407b9C13c3B374219B2f91fda4DF47C5",
"pusher": "0x2c4ded0d5883646AEAD86a6C748c871afa819125"
},
"copies": {
"ethereum-sepolia": {
"arbitrum-sepolia": "0x3ed2414D931f28Ef85D2E5e74e509d6FEDB812F6",
"linea-sepolia": "0x3E36338736c590753F071D90779b0449bD576834",
"scroll-sepolia": "0x2635119429AFE9ed4b5dC38f71D12f1A241231Ec",
"zksync-sepolia": "0xf5e56d9d93267631f69dB9388d38e9c487830bD4"
}
},
"provers": {
"ethereum-sepolia": {
"pointer": "0x2B48c5BeE8A3C63bbD5f5Be10bFCcda2ab372BF0",
"prover": "0xBEFC80AD06A03f1e15c71e370D935a25820a7E19"
}
}
}
22 changes: 22 additions & 0 deletions deployments/scroll-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"contracts": {
"broadcaster": "0x2e6f2Cb4bf4E4D2166F83958442a180825B94248",
"receiver": "0x712535fE2e24df51917DB5438EB3dA90437F70AF",
"buffer": "0x12e91f63cC0F43434141396AC0E9f5b1A0e103D6",
"pusher": "0xF99b4E792aCaBa74cb2d1A5D3fDBDFfe630C0a8e"
},
"copies": {
"ethereum-sepolia": {
"arbitrum-sepolia": "0x3ed2414D931f28Ef85D2E5e74e509d6FEDB812F6",
"linea-sepolia": "0x3E36338736c590753F071D90779b0449bD576834",
"optimism-sepolia": "0x9B22f2bB9a5ECbEd10984f47c1A5FE8C551Fbf6a",
"zksync-sepolia": "0xf5e56d9d93267631f69dB9388d38e9c487830bD4"
}
},
"provers": {
"ethereum-sepolia": {
"pointer": "0x2B48c5BeE8A3C63bbD5f5Be10bFCcda2ab372BF0",
"prover": "0x852060961640ff9569946000E049c44c13bCEe98"
}
}
}
22 changes: 22 additions & 0 deletions deployments/zksync-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"contracts": {
"broadcaster": "0x5483634580acDB4f0134E09025732DF9784e46e3",
"receiver": "0x712535fE2e24df51917DB5438EB3dA90437F70AF",
"buffer": "0x4309FcAA812F729A2c6Fc9b67094296389eC919c",
"pusher": "0xc69281Edb758A5dDD7A13e12b4F3d81b14Bd983B"
},
"copies": {
"ethereum-sepolia": {
"arbitrum-sepolia": "0x3ed2414D931f28Ef85D2E5e74e509d6FEDB812F6",
"linea-sepolia": "0x3E36338736c590753F071D90779b0449bD576834",
"scroll-sepolia": "0x2635119429AFE9ed4b5dC38f71D12f1A241231Ec",
"optimism-sepolia": "0x9B22f2bB9a5ECbEd10984f47c1A5FE8C551Fbf6a"
}
},
"provers": {
"ethereum-sepolia": {
"pointer": "0x2B48c5BeE8A3C63bbD5f5Be10bFCcda2ab372BF0",
"prover": "0xAD72b787ECCEA11C97770207862BF0a3c35C138e"
}
}
}
8 changes: 6 additions & 2 deletions foundry.toml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems optimizations are not enabled.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ src = "src/contracts"
out = "out"
libs = ["lib"]
solc = "0.8.30"

script = "scripts"
optimizer = true
optimizer_runs = 200
via_ir = true

fs_permissions = [
Expand All @@ -14,7 +16,9 @@ fs_permissions = [
{ access = 'read', path = './test/payloads/taiko' },
{ access = 'read', path = './test/payloads/linea' },
{ access = 'read', path = './test/payloads/scroll' },

{ access = "read-write", path = "./deployments" },
{ access = 'read', path = './out' },
]

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import '@nomicfoundation/hardhat-toolbox-viem'

const config: HardhatUserConfig = {
solidity: {
version: '0.8.28',
version: '0.8.30',
settings: {
evmVersion: 'cancun',
optimizer: {
Expand Down
22 changes: 0 additions & 22 deletions scripts/Deploy.s.sol

This file was deleted.

22 changes: 0 additions & 22 deletions scripts/DeployBroadcaster.s.sol

This file was deleted.

22 changes: 0 additions & 22 deletions scripts/DeployZkSyncBroadcaster.s.sol

This file was deleted.

Loading
Loading