Skip to content

Commit 2c17187

Browse files
committed
Merge branch 'master' into feat/multisig-wrapper
2 parents 05de67d + b11272a commit 2c17187

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+10215
-3215
lines changed

.env.example

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ OPTIMISM_SEPOLIA_RPC=''
4242
POLYGON_RPC='https://rpc.ankr.com/polygon'
4343
POLYGON_MUMBAI_RPC='https://matic-mumbai.chainstacklabs.com'
4444

45-
AVAX_RPC='https://api.avax.network/ext/bc/C/rpc'
46-
4745
BSC_RPC='https://bsc-dataseed1.binance.org'
4846
BSC_TESTNET_RPC='https://data-seed-prebsc-1-s1.binance.org:8545'
4947

@@ -64,8 +62,6 @@ BASE_RPC=''
6462
MODE_RPC=''
6563
ANCIENT8_TESTNET_RPC=''
6664
ANCIENT8_TESTNET2_RPC=''
67-
HOOK_TESTNET_RPC=''
68-
HOOK_RPC=''
6965
PARALLEL_RPC=''
7066
MANTLE_RPC=''
7167
REYA_CRONOS_RPC=''
@@ -91,3 +87,27 @@ DL_API_DEV_URL=''
9187
DL_API_PROD_URL=''
9288

9389
NEOX_TESTNET_RPC=' '
90+
NEOX_T4_TESTNET_RPC=' '
91+
NEOX_RPC=' '
92+
GNOSIS_RPC=' '
93+
LINEA_RPC=' '
94+
ZKEVM_RPC=' '
95+
AVALANCHE_RPC=' '
96+
XLAYER_RPC=' '
97+
MANTA_PACIFIC_RPC=' '
98+
POLTER_TESTNET_RPC=' '
99+
POLYGON_AMOY_RPC=' '
100+
OPBNB_RPC=' '
101+
GEIST_RPC=' '
102+
103+
ZERO_SEPOLIA_RPC=' '
104+
105+
ZERO_RPC=' '
106+
107+
ZKSYNC_RPC=' '
108+
109+
ARENA_Z_RPC=' '
110+
111+
INK_RPC=' '
112+
113+
SONIC_RPC=' '

.github/workflows/push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
- name: Install forge dependencies
2424
run: forge install
2525

26-
- name: Set Node.js 16.x
26+
- name: Set Node.js 18.x
2727
uses: actions/setup-node@v3
2828
with:
29-
node-version: 16.x
29+
node-version: 18.x
3030

3131
- name: Run yarn install
3232
uses: borales/actions-yarn@v4

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ switchboards.json
3030
devRpcConfig.ts
3131
devRpcConfig.json
3232
prodRpcConfig.ts
33-
prodRpcConfig.json
33+
prodRpcConfig.json
34+
35+
artifacts-zk/
36+
cache_hardhat-zk/
37+
deployments-zk/

.prettierignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@ yarn.lock
2424
.github/*
2525
.prettierrc
2626
scratchpad
27-
lcov.info
27+
lcov.info
28+
29+
artifacts-zk/
30+
cache_hardhat-zk/
31+
deployments-zk/

chainConfig.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
{
22
"8453": {
33
"roleOwners": {
4-
"ownerAddress": "0x5fD7D0d6b91CC4787Bcb86ca47e0Bd4ea0346d34",
4+
"ownerAddress": "0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
55
"executorAddress": "0x42639d8fd154b72472e149a7d5ac13fa280303d9",
66
"transmitterAddress": "0xfbc5ea2525bb827979e4c33b237cd47bcb8f81c5",
77
"watcherAddress": "0x75ddddf61b8180d3837b7d8b98c062ca442e0e14",
88
"feeUpdaterAddress": "0xfbc5ea2525bb827979e4c33b237cd47bcb8f81c5"
99
},
10-
"siblings": [1, 137, 42161, 10, 56, 34443],
11-
"overrides": {
12-
"type": 1,
13-
"gasLimit": 3000000,
14-
"gasPrice": 10000000
15-
}
10+
"siblings": [1, 137, 42161, 10, 56, 34443]
1611
},
1712
"31337": {
1813
"siblings": [],
@@ -26,7 +21,7 @@
2621
},
2722
"34443": {
2823
"roleOwners": {
29-
"ownerAddress": "0x5fD7D0d6b91CC4787Bcb86ca47e0Bd4ea0346d34",
24+
"ownerAddress": "0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
3025
"executorAddress": "0x42639d8fd154b72472e149a7d5ac13fa280303d9",
3126
"transmitterAddress": "0xfbc5ea2525bb827979e4c33b237cd47bcb8f81c5",
3227
"watcherAddress": "0x75ddddf61b8180d3837b7d8b98c062ca442e0e14",
@@ -41,7 +36,7 @@
4136
},
4237
"60808": {
4338
"roleOwners": {
44-
"ownerAddress": "0x5fD7D0d6b91CC4787Bcb86ca47e0Bd4ea0346d34",
39+
"ownerAddress": "0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
4540
"executorAddress": "0x42639d8fd154b72472e149a7d5ac13fa280303d9",
4641
"transmitterAddress": "0xfbc5ea2525bb827979e4c33b237cd47bcb8f81c5",
4742
"watcherAddress": "0x75ddddf61b8180d3837b7d8b98c062ca442e0e14",
@@ -52,7 +47,7 @@
5247
},
5348
"444444": {
5449
"roleOwners": {
55-
"ownerAddress": "0x78Deb9225c3F28D12922913Fec978e4dC90E1aa4",
50+
"ownerAddress": "0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
5651
"executorAddress": "0x42639d8fd154b72472e149a7d5ac13fa280303d9",
5752
"transmitterAddress": "0xfbc5ea2525bb827979e4c33b237cd47bcb8f81c5",
5853
"watcherAddress": "0x75ddddf61b8180d3837b7d8b98c062ca442e0e14",
@@ -63,7 +58,7 @@
6358
},
6459
"2863311531": {
6560
"roleOwners": {
66-
"ownerAddress": "0x5fD7D0d6b91CC4787Bcb86ca47e0Bd4ea0346d34",
61+
"ownerAddress": "0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
6762
"executorAddress": "0x42639d8fd154b72472e149a7d5ac13fa280303d9",
6863
"transmitterAddress": "0xfbc5ea2525bb827979e4c33b237cd47bcb8f81c5",
6964
"watcherAddress": "0x75ddddf61b8180d3837b7d8b98c062ca442e0e14",

contracts/examples/Messenger.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ contract Messenger is IPlug, Ownable(msg.sender) {
3333
}
3434

3535
function removeGas(address payable receiver_) external onlyOwner {
36-
receiver_.transfer(address(this).balance);
36+
// receiver_.transfer(address(this).balance);
37+
payable(receiver_).call{value: address(this).balance}("");
3738
}
3839

3940
function sendLocalMessage(bytes32 message_) external {

contracts/socket/SocketBatcher.sol

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,11 @@ contract SocketBatcher is AccessControl {
270270
IExecutionManager.setRelativeNativeTokenPrice.selector
271271
) {
272272
IExecutionManager(contractAddress_).setRelativeNativeTokenPrice(
273-
setFeesRequests_[index].nonce,
274-
setFeesRequests_[index].dstChainSlug,
275-
setFeesRequests_[index].fees,
276-
setFeesRequests_[index].signature
277-
);
273+
setFeesRequests_[index].nonce,
274+
setFeesRequests_[index].dstChainSlug,
275+
setFeesRequests_[index].fees,
276+
setFeesRequests_[index].signature
277+
);
278278
} else if (
279279
setFeesRequests_[index].functionSelector ==
280280
IExecutionManager.setMsgValueMaxThreshold.selector
@@ -640,7 +640,8 @@ contract SocketBatcher is AccessControl {
640640
uint256 totalAmount;
641641
for (uint i; i < addresses.length; i++) {
642642
totalAmount += amounts[i];
643-
addresses[i].transfer(amounts[i]);
643+
// addresses[i].transfer(amounts[i]);
644+
payable(addresses[i]).call{value: amounts[i]}("");
644645
}
645646

646647
require(totalAmount == msg.value, "LOW_MSG_VALUE");

0 commit comments

Comments
 (0)