Commit ed93f50
authored
➕ Add MemeCore/LightLink Test and Main Network Deployments (pcaversaccio#261)
### 🕓 Changelog
Add MemeCore/LightLink test and main network deployments (resolves pcaversaccio#257
and pcaversaccio#259):
- [MemeCore Testnet
(Insectarium)](https://insectarium.blockscout.memecore.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed),
-
[MemeCore](https://memecorescan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed),
- [LightLink Testnet
(Pegasus)](https://pegasus.lightlink.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed),
- [LightLink
Phoenix](https://phoenix.lightlink.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed).
#### Verification
Compare the `keccak256` hash of the runtime bytecode with the canonical
`keccak256` hash of the runtime bytecode
[here](https://github.com/pcaversaccio/createx#security-considerations)
(`0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f`):
```console
~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc.insectarium.memecore.net)
0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f
~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://rpc.memecore.net)
0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f
~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://replicator.pegasus.lightlink.io/rpc/v1)
0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f
~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://replicator.phoenix.lightlink.io/rpc/v1)
0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f
```
---------
Signed-off-by: pcaversaccio <pascal.caversaccio@hotmail.ch>1 parent 87f6633 commit ed93f50
9 files changed
Lines changed: 122 additions & 17 deletions
File tree
- deployments
- interface
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2264 | 2264 | | |
2265 | 2265 | | |
2266 | 2266 | | |
| 2267 | + | |
| 2268 | + | |
2267 | 2269 | | |
2268 | 2270 | | |
2269 | 2271 | | |
| |||
2354 | 2356 | | |
2355 | 2357 | | |
2356 | 2358 | | |
| 2359 | + | |
| 2360 | + | |
2357 | 2361 | | |
2358 | 2362 | | |
2359 | 2363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
655 | 670 | | |
656 | 671 | | |
657 | 672 | | |
| |||
1264 | 1279 | | |
1265 | 1280 | | |
1266 | 1281 | | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
1267 | 1297 | | |
1268 | 1298 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
1156 | 1185 | | |
1157 | 1186 | | |
1158 | 1187 | | |
| |||
1442 | 1471 | | |
1443 | 1472 | | |
1444 | 1473 | | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
1445 | 1480 | | |
1446 | 1481 | | |
1447 | 1482 | | |
| |||
2706 | 2741 | | |
2707 | 2742 | | |
2708 | 2743 | | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
| 2755 | + | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
2709 | 2776 | | |
2710 | 2777 | | |
2711 | 2778 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
Submodule openzeppelin-contracts updated 22 files
- .changeset/blue-mirrors-agree.md+5
- .changeset/clean-worlds-end.md+5
- .changeset/grumpy-cats-brake.md+5
- .changeset/new-socks-deny.md+5
- .changeset/social-tools-sniff.md+5
- contracts/crosschain/CrosschainLinked.sol+108
- contracts/crosschain/README.adoc+18-1
- contracts/crosschain/bridges/BridgeERC20.sol+36
- contracts/crosschain/bridges/BridgeERC20Core.sol+78
- contracts/crosschain/bridges/BridgeERC7802.sol+33
- contracts/mocks/token/ERC20BridgeableMock.sol+5-1
- contracts/token/ERC1155/ERC1155.sol+9-8
- contracts/token/ERC20/README.adoc+3
- contracts/token/ERC20/extensions/ERC20Crosschain.sol+38
- contracts/utils/RLP.sol+91-12
- contracts/utils/cryptography/MessageHashUtils.sol+129
- test/crosschain/BridgeERC20.behavior.js+163
- test/crosschain/BridgeERC20.test.js+46
- test/helpers/account.js+6-4
- test/token/ERC20/extensions/ERC20Crosschain.test.js+83
- test/utils/RLP.test.js+55
- test/utils/cryptography/MessageHashUtils.test.js+53-1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
231 | 235 | | |
232 | 236 | | |
233 | 237 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments