Skip to content

Commit 85ff105

Browse files
committed
feat: Deploy on testnets
1 parent 166593c commit 85ff105

File tree

6 files changed

+454
-234
lines changed

6 files changed

+454
-234
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ deploy-on-testnets:
6767
OPTIONS="--verify --verifier etherscan --verifier-api-key $(ETHERSCAN_API_KEY) --verifier-url $(ETHERSCAN_API_URL)"
6868

6969
deploy-all: # SOURCE_CHAIN, SOURCE_RPC, TARGET_CHAIN, TARGET_RPC, OPTIONS
70-
$(MAKE) deploy-contract CONTRACT=RLCLiquidityUnifier CHAIN=$(SOURCE_CHAIN) RPC_URL=$(SOURCE_RPC) OPTIONS=$(OPTIONS) || true
71-
$(MAKE) deploy-contract CONTRACT=bridges/layerZero/IexecLayerZeroBridge CHAIN=$(SOURCE_CHAIN) RPC_URL=$(SOURCE_RPC) OPTIONS=$(OPTIONS) || true
72-
$(MAKE) deploy-contract CONTRACT=RLCCrosschainToken CHAIN=$(TARGET_CHAIN) RPC_URL=$(TARGET_RPC) OPTIONS=$(OPTIONS) || true
73-
$(MAKE) deploy-contract CONTRACT=bridges/layerZero/IexecLayerZeroBridge CHAIN=$(TARGET_CHAIN) RPC_URL=$(TARGET_RPC) OPTIONS=$(OPTIONS) || true
70+
$(MAKE) deploy-contract CONTRACT=RLCLiquidityUnifier CHAIN=$(SOURCE_CHAIN) RPC_URL=$(SOURCE_RPC) OPTIONS="$(OPTIONS)"
71+
$(MAKE) deploy-contract CONTRACT=bridges/layerZero/IexecLayerZeroBridge CHAIN=$(SOURCE_CHAIN) RPC_URL=$(SOURCE_RPC) OPTIONS="$(OPTIONS)"
72+
$(MAKE) deploy-contract CONTRACT=RLCCrosschainToken CHAIN=$(TARGET_CHAIN) RPC_URL=$(TARGET_RPC) OPTIONS="$(OPTIONS)"
73+
$(MAKE) deploy-contract CONTRACT=bridges/layerZero/IexecLayerZeroBridge CHAIN=$(TARGET_CHAIN) RPC_URL=$(TARGET_RPC) OPTIONS="$(OPTIONS)"
7474
$(MAKE) configure-bridge SOURCE_CHAIN=$(SOURCE_CHAIN) TARGET_CHAIN=$(TARGET_CHAIN) RPC_URL=$(SOURCE_RPC)
7575
$(MAKE) configure-bridge SOURCE_CHAIN=$(TARGET_CHAIN) TARGET_CHAIN=$(SOURCE_CHAIN) RPC_URL=$(TARGET_RPC)
7676
@echo "Deployment completed."
Lines changed: 135 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,65 @@
11
{
22
"transactions": [
33
{
4-
"hash": "0x67be1884d8bc7cb8eeee770d631eaec7c5178e2ba7d169f7da10f704b0631722",
4+
"hash": "0x84f2ee12579ccf50df2a377e4982dee79c0d619085a87b3c421b3ba92d56f66a",
55
"transactionType": "CALL",
66
"contractName": null,
7-
"contractAddress": "0x68cc55914cbc2630c2c60f49531e4b70b33399ff",
7+
"contractAddress": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
88
"function": "setPeer(uint32,bytes32)",
99
"arguments": [
1010
"40231",
11-
"0x00000000000000000000000062fa14c85638eb81ef38121591dcb8e4e12ce9fc"
11+
"0x0000000000000000000000004fce023890f5c9acdb04645b2801ff89793dd84e"
1212
],
1313
"transaction": {
14-
"from": "0x29d9fb59587af02ae3bee909babdd0ac75580009",
15-
"to": "0x68cc55914cbc2630c2c60f49531e4b70b33399ff",
16-
"gas": "0x11c2a",
14+
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
15+
"to": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
16+
"gas": "0x11c67",
1717
"value": "0x0",
18-
"input": "0x3400288b0000000000000000000000000000000000000000000000000000000000009d2700000000000000000000000062fa14c85638eb81ef38121591dcb8e4e12ce9fc",
19-
"nonce": "0x11",
18+
"input": "0x3400288b0000000000000000000000000000000000000000000000000000000000009d270000000000000000000000004fce023890f5c9acdb04645b2801ff89793dd84e",
19+
"nonce": "0x13",
20+
"chainId": "0xaa36a7"
21+
},
22+
"additionalContracts": [],
23+
"isFixedGasLimit": false
24+
},
25+
{
26+
"hash": "0x58ef4068cb70edf182a860d158f230ff8a19ae9bcfee52e884dfa1cc7ac37d38",
27+
"transactionType": "CALL",
28+
"contractName": null,
29+
"contractAddress": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
30+
"function": "setEnforcedOptions((uint32,uint16,bytes)[])",
31+
"arguments": [
32+
"[(40231, 2, 0x00030100110100000000000000000000000000011170)]"
33+
],
34+
"transaction": {
35+
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
36+
"to": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
37+
"gas": "0x1391a",
38+
"value": "0x0",
39+
"input": "0xb98bd0700000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000009d270000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000160003010011010000000000000000000000000001117000000000000000000000",
40+
"nonce": "0x14",
41+
"chainId": "0xaa36a7"
42+
},
43+
"additionalContracts": [],
44+
"isFixedGasLimit": false
45+
},
46+
{
47+
"hash": "0xd5251901a9ec32b70a69723226e2de6bbeab25943f28c5c3f1c7cca50d0390d5",
48+
"transactionType": "CALL",
49+
"contractName": null,
50+
"contractAddress": "0x7c84a73d0ebb7b2db5160d34d812dc8632ee99da",
51+
"function": "grantRole(bytes32,address)",
52+
"arguments": [
53+
"0xd7c4527c99f13bf6a80d3bc15ebce76f7f8256ab4fbf63363b10858db314c978",
54+
"0xcF9A304C10bCfB7f00b290B6B6efa7DB071b4d0F"
55+
],
56+
"transaction": {
57+
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
58+
"to": "0x7c84a73d0ebb7b2db5160d34d812dc8632ee99da",
59+
"gas": "0x1442d",
60+
"value": "0x0",
61+
"input": "0x2f2ff15dd7c4527c99f13bf6a80d3bc15ebce76f7f8256ab4fbf63363b10858db314c978000000000000000000000000cf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
62+
"nonce": "0x15",
2063
"chainId": "0xaa36a7"
2164
},
2265
"additionalContracts": [],
@@ -26,40 +69,105 @@
2669
"receipts": [
2770
{
2871
"status": "0x1",
29-
"cumulativeGasUsed": "0x161869b",
72+
"cumulativeGasUsed": "0x1bb271b",
3073
"logs": [
3174
{
32-
"address": "0x68cc55914cbc2630c2c60f49531e4b70b33399ff",
75+
"address": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
3376
"topics": [
3477
"0x238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b"
3578
],
36-
"data": "0x0000000000000000000000000000000000000000000000000000000000009d2700000000000000000000000062fa14c85638eb81ef38121591dcb8e4e12ce9fc",
37-
"blockHash": "0x93c25f536537ad30444c2fafd4f1171dff843c1ebe99a87774ccc8830f936ecb",
38-
"blockNumber": "0x84971c",
39-
"transactionHash": "0x67be1884d8bc7cb8eeee770d631eaec7c5178e2ba7d169f7da10f704b0631722",
40-
"transactionIndex": "0x132",
41-
"logIndex": "0x1e4",
79+
"data": "0x0000000000000000000000000000000000000000000000000000000000009d270000000000000000000000004fce023890f5c9acdb04645b2801ff89793dd84e",
80+
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
81+
"blockNumber": "0x8505c0",
82+
"transactionHash": "0x84f2ee12579ccf50df2a377e4982dee79c0d619085a87b3c421b3ba92d56f66a",
83+
"transactionIndex": "0xf1",
84+
"logIndex": "0x196",
85+
"removed": false
86+
}
87+
],
88+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002001000000000000000000000000000000000000000200000000000000000040000000004000000000000000000000000000000000000000000000000000000000000000000",
89+
"type": "0x2",
90+
"transactionHash": "0x84f2ee12579ccf50df2a377e4982dee79c0d619085a87b3c421b3ba92d56f66a",
91+
"transactionIndex": "0xf1",
92+
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
93+
"blockNumber": "0x8505c0",
94+
"gasUsed": "0xcde8",
95+
"effectiveGasPrice": "0x8b38af",
96+
"blobGasUsed": "0x0",
97+
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
98+
"to": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
99+
"contractAddress": null
100+
},
101+
{
102+
"status": "0x1",
103+
"cumulativeGasUsed": "0x1bc09ca",
104+
"logs": [
105+
{
106+
"address": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
107+
"topics": [
108+
"0xbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b674"
109+
],
110+
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000009d270000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000160003010011010000000000000000000000000001117000000000000000000000",
111+
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
112+
"blockNumber": "0x8505c0",
113+
"transactionHash": "0x58ef4068cb70edf182a860d158f230ff8a19ae9bcfee52e884dfa1cc7ac37d38",
114+
"transactionIndex": "0xf2",
115+
"logIndex": "0x197",
116+
"removed": false
117+
}
118+
],
119+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000002000000200000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000",
120+
"type": "0x2",
121+
"transactionHash": "0x58ef4068cb70edf182a860d158f230ff8a19ae9bcfee52e884dfa1cc7ac37d38",
122+
"transactionIndex": "0xf2",
123+
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
124+
"blockNumber": "0x8505c0",
125+
"gasUsed": "0xe2af",
126+
"effectiveGasPrice": "0x8b38af",
127+
"blobGasUsed": "0x0",
128+
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
129+
"to": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
130+
"contractAddress": null
131+
},
132+
{
133+
"status": "0x1",
134+
"cumulativeGasUsed": "0x1bce773",
135+
"logs": [
136+
{
137+
"address": "0x7c84a73d0ebb7b2db5160d34d812dc8632ee99da",
138+
"topics": [
139+
"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d",
140+
"0xd7c4527c99f13bf6a80d3bc15ebce76f7f8256ab4fbf63363b10858db314c978",
141+
"0x000000000000000000000000cf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
142+
"0x0000000000000000000000009990cfb1feb7f47297f54bef4d4ebedf6c5463a3"
143+
],
144+
"data": "0x",
145+
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
146+
"blockNumber": "0x8505c0",
147+
"transactionHash": "0xd5251901a9ec32b70a69723226e2de6bbeab25943f28c5c3f1c7cca50d0390d5",
148+
"transactionIndex": "0xf3",
149+
"logIndex": "0x198",
42150
"removed": false
43151
}
44152
],
45-
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000002000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000002000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000",
153+
"logsBloom": "0x00000004000000000000000000000000000000000400000000000000000000000000000400000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000100000000000000009000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000200000000000002000000000000000000000000000000000000000001000000000000000800000000000000000000000004000000040000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000",
46154
"type": "0x2",
47-
"transactionHash": "0x67be1884d8bc7cb8eeee770d631eaec7c5178e2ba7d169f7da10f704b0631722",
48-
"transactionIndex": "0x132",
49-
"blockHash": "0x93c25f536537ad30444c2fafd4f1171dff843c1ebe99a87774ccc8830f936ecb",
50-
"blockNumber": "0x84971c",
51-
"gasUsed": "0xcdbc",
52-
"effectiveGasPrice": "0x36e0152a",
155+
"transactionHash": "0xd5251901a9ec32b70a69723226e2de6bbeab25943f28c5c3f1c7cca50d0390d5",
156+
"transactionIndex": "0xf3",
157+
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
158+
"blockNumber": "0x8505c0",
159+
"gasUsed": "0xdda9",
160+
"effectiveGasPrice": "0x8b38af",
53161
"blobGasUsed": "0x0",
54-
"from": "0x29d9fb59587af02ae3bee909babdd0ac75580009",
55-
"to": "0x68cc55914cbc2630c2c60f49531e4b70b33399ff",
162+
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
163+
"to": "0x7c84a73d0ebb7b2db5160d34d812dc8632ee99da",
56164
"contractAddress": null
57165
}
58166
],
59167
"libraries": [],
60168
"pending": [],
61169
"returns": {},
62-
"timestamp": 1751619999,
170+
"timestamp": 1751960381,
63171
"chain": 11155111,
64-
"commit": "bb43c60"
172+
"commit": "166593c"
65173
}

0 commit comments

Comments
 (0)