Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy berachain #978

Merged
merged 42 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
3e34d87
add berachain to network.json
0xDEnYO Feb 4, 2025
f0982e2
add stargate config
0xDEnYO Feb 4, 2025
644e977
add create3 address to global.json
0xDEnYO Feb 4, 2025
657af88
update target state
0xDEnYO Feb 4, 2025
75839d3
update config files
0xDEnYO Feb 4, 2025
ecacbf1
use verifier URL from Jira ticket
0xDEnYO Feb 5, 2025
d41b168
deployed full setup to berachain
0xDEnYO Feb 7, 2025
e922af9
deployed full setup to berachain
0xDEnYO Feb 7, 2025
6b8627f
contract pragmas changed to floating
0xDEnYO Feb 7, 2025
7d7a7ae
logs updated
0xDEnYO Feb 7, 2025
8c3622e
Merge branch 'deploy-berachain-lf-12119' of github.com:lifinance/cont…
0xDEnYO Feb 7, 2025
6a13e82
Merge branch 'main' of github.com:lifinance/contracts into deploy-ber…
0xDEnYO Feb 7, 2025
c4b62c9
update networks.json
0xDEnYO Feb 7, 2025
4730873
update env.example
0xDEnYO Feb 7, 2025
86c5687
update foundry.toml
0xDEnYO Feb 7, 2025
022b4b3
fix deploy log
0xDEnYO Feb 7, 2025
8b97e62
fix targetstate file
0xDEnYO Feb 7, 2025
1525dcf
fix targetstate file
0xDEnYO Feb 7, 2025
b615efd
updated emergencyPause action
0xDEnYO Feb 7, 2025
fb7d129
update packacke.json and helper functions to work with node v22
0xDEnYO Feb 7, 2025
25c47f4
fix issues in deploy scripts
0xDEnYO Feb 7, 2025
74daecf
fix updateCoreFacets script
0xDEnYO Feb 7, 2025
805d6e8
deploy EmergencyPauseFacet
ezynda3 Feb 7, 2025
53ea959
Merge branch 'deploy-berachain-lf-12119' of github.com:lifinance/cont…
ezynda3 Feb 7, 2025
7412fe3
update
ezynda3 Feb 7, 2025
6764160
remove pragma change in updateCoreFacets
0xDEnYO Feb 10, 2025
03b51fd
undo unwanted changes
0xDEnYO Feb 11, 2025
118d586
flag added to allow zeroAddress
0xDEnYO Feb 11, 2025
700b5e8
bugfix
0xDEnYO Feb 11, 2025
602790b
Merge branch 'allow-zeroAddress-in-helper-function' into deploy-berac…
0xDEnYO Feb 11, 2025
35f0d61
Added overloaded _getConfigContractAddress
mirooon Feb 11, 2025
437d0fb
Updated template
mirooon Feb 11, 2025
d5d03f0
Merge branch 'allow-zeroAddress-in-helper-function' into deploy-berac…
mirooon Feb 11, 2025
c4ec121
deployed GasZipFacet and -Periphery and whitelisted
0xDEnYO Feb 11, 2025
3836af1
diamond logs updated
0xDEnYO Feb 11, 2025
30ac373
Merge branch 'deploy-berachain-lf-12119' of github.com:lifinance/cont…
0xDEnYO Feb 11, 2025
0a237b2
revert foundry.toml
0xDEnYO Feb 11, 2025
1fdddca
Merge branch 'main' into deploy-berachain-lf-12119
0xDEnYO Feb 11, 2025
81562e3
update gasZipChainId
0xDEnYO Feb 11, 2025
36f7107
Merge branch 'deploy-berachain-lf-12119' of github.com:lifinance/cont…
0xDEnYO Feb 11, 2025
9295980
Merge branch 'main' of github.com:lifinance/contracts into deploy-ber…
0xDEnYO Feb 12, 2025
d3308f4
add missing quotes
0xDEnYO Feb 12, 2025
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
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ETH_NODE_URI_ARBITRUM=https://1rpc.io/arb #[pre-commit-checker: not a secret]
ETH_NODE_URI_AURORA=https://1rpc.io/aurora #[pre-commit-checker: not a secret]
ETH_NODE_URI_AVALANCHE=https://1rpc.io/avax/c #[pre-commit-checker: not a secret]
ETH_NODE_URI_BASE=https://mainnet.base.org #[pre-commit-checker: not a secret]
ETH_NODE_URI_BERACHAIN=https://rpc.berachain.com #[pre-commit-checker: not a secret]
ETH_NODE_URI_BLAST=https://rpc.blast.io #[pre-commit-checker: not a secret]
ETH_NODE_URI_BOBA=https://mainnet.boba.network #[pre-commit-checker: not a secret]
ETH_NODE_URI_BSC=https://1rpc.io/bnb #[pre-commit-checker: not a secret]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/diamondEmergencyPause.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
ETH_NODE_URI_AURORA: ${{ secrets.ETH_NODE_URI_AURORA }}
ETH_NODE_URI_AVALANCHE: ${{ secrets.ETH_NODE_URI_AVALANCHE }}
ETH_NODE_URI_BASE: ${{ secrets.ETH_NODE_URI_BASE }}
ETH_NODE_URI_BERACHAIN: ${{ secrets.ETH_NODE_URI_BERACHAIN }}
ETH_NODE_URI_BLAST: ${{ secrets.ETH_NODE_URI_BLAST }}
ETH_NODE_URI_BOBA: ${{ secrets.ETH_NODE_URI_BOBA }}
ETH_NODE_URI_BSC: ${{ secrets.ETH_NODE_URI_BSC }}
Expand Down
2 changes: 1 addition & 1 deletion archive/test/LiFiDiamondImmutable.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.17;
pragma solidity ^0.8.17;
mirooon marked this conversation as resolved.
Show resolved Hide resolved

import { LiFiDiamondImmutable } from "lifi/LiFiDiamondImmutable.sol";
import { LibDiamond } from "lifi/Libraries/LibDiamond.sol";
Expand Down
10 changes: 7 additions & 3 deletions config/amarok.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
"domain": "",
"tokensToApprove": []
},
"berachain": {
"chainId": 80094,
"connextHandler": "0x0000000000000000000000000000000000000000",
"domain": "",
"tokensToApprove": []
},
"bsc": {
"chainId": 56,
"connextHandler": "0xCd401c10afa37d641d2F594852DA94C700e4F2CE",
Expand Down Expand Up @@ -90,9 +96,7 @@
"chainId": 34443,
"connextHandler": "0x7380511493DD4c2f1dD75E9CCe5bD52C787D4B51",
"domain": "1836016741",
"tokensToApprove": [
"0x4200000000000000000000000000000000000006"
]
"tokensToApprove": ["0x4200000000000000000000000000000000000006"]
},
"arbitrum": {
"chainId": 42161,
Expand Down
10 changes: 7 additions & 3 deletions config/dexs.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@
"0x6b2c0c7be2048daa9b5527982c29f48062b34d58",
"0x57df6092665eb6058DE53939612413ff4B09114E"
],
"berachain": [
"0x070EC43b4222E0f17EEcD2C839cb9D1D5adeF73c",
"0xbf7d441A5015d92357bB41DB2552E11619D62326",
"0x6295b30297C254108E0bF16C70D513d2043E3d45",
"0xe2Bd045c9C7c765D0920BB4e12D5B584eA682C29"
],
"blast": [
"0x6352a56caadC4F1E25CD6c75970Fa768A3304e64",
"0xF048e5816B0C7951AC179f656C5B86e5a79Bd7b5",
Expand Down Expand Up @@ -867,9 +873,7 @@
"0xf91bb752490473b8342a3e964e855b9f9a2a668e"
],
"avalancheFujiTestnet": [],
"bscTestnet": [
"0x1b02da8cb0d097eb8d57a175b88c7d8b47997506"
],
"bscTestnet": ["0x1b02da8cb0d097eb8d57a175b88c7d8b47997506"],
"localanvil": [],
"mumbai": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
Expand Down
1 change: 1 addition & 0 deletions config/gaszip.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"apechain": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"avalanche": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"base": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"berachain": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"bsc": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"blast": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"fantom": "0xA60768b03eB14d940F6c9a8553329B7F9037C91b",
Expand Down
1 change: 1 addition & 0 deletions config/global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"create3Factory": {
"default": "0x93FEC2C00BfE902F733B57c5a6CeeD7CD1384AE1",
"berachain": "0x5f63A2d7850776465b84Bc0fe6284BBC8188dbC7",
"linea": "0x8437A5fE47A4Df14700c96DF1870824e72FA8499",
"metis": "0x763f212f355433C59d734C71247d16fCE74D8785",
"taiko": "0x8437A5fE47A4Df14700c96DF1870824e72FA8499",
Expand Down
18 changes: 18 additions & 0 deletions config/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,24 @@
"safeWebUrl": "https://app.safe.global/transactions/queue?safe=base:0x1F6974C11B833Eb52ea07E0B442510165D87d82e",
"gasZipChainId": 54
},
"berachain": {
"name": "berachain",
"chainId": 80094,
"nativeAddress": "0x0000000000000000000000000000000000000000",
"nativeCurrency": "BERA",
"wrappedNativeAddress": "0x6969696969696969696969696969696969696969",
"status": "active",
"type": "mainnet",
"rpcUrl": "https://rpc.berachain.com",
"verificationType": "etherscan",
"explorerUrl": "https://berascan.com/",
"explorerApiUrl": "https://api.berascan.com",
"multicallAddress": "0xcA11bde05977b3631167028862bE2a173976CA11",
"safeApiUrl": "https://transaction.safe.berachain.com/api",
"safeAddress": "0xdf61270fDC1A892874Fd3C0143A0A4CBA74F4EF1",
"safeWebUrl": "https://safe.berachain.com/home?safe=berachain:0xdf61270fDC1A892874Fd3C0143A0A4CBA74F4EF1",
ezynda3 marked this conversation as resolved.
Show resolved Hide resolved
"gasZipChainId": 143
},
"blast": {
"name": "blast",
"chainId": 81457,
Expand Down
1 change: 1 addition & 0 deletions config/permit2Proxy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"aurora": "",
"avalanche": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
"base": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
"berachain": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
"blast": "0x000000000022d473030f116ddee9f6b43ac78ba3",
"boba": "",
"bsc": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
Expand Down
5 changes: 5 additions & 0 deletions config/relay.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934",
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF"
},
"berachain": {
"chainId": 80094,
"relayReceiver": "0x7f4babd2c7d35221e72ab67ea72cba99573a0089",
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF"
},
"bsc": {
"chainId": 56,
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934",
Expand Down
4 changes: 4 additions & 0 deletions config/stargate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"aurora": "0x1a44076050125825900e736c501f859c50fE728c",
"avalanche": "0x1a44076050125825900e736c501f859c50fE728c",
"base": "0x1a44076050125825900e736c501f859c50fE728c",
"berachain": "0x6F475642a6e85809B1c36Fa62763669b1b48DD5B",
"boba": "0x0000000000000000000000000000000000000000",
"blast": "0x1a44076050125825900e736c501f859c50fE728c",
"bsc": "0x1a44076050125825900e736c501f859c50fE728c",
Expand Down Expand Up @@ -48,6 +49,7 @@
"tokenMessaging": {
"LinkToDeployedToAddresses": "https://stargateprotocol.gitbook.io/stargate/v/v2-developer-docs/technical-reference/mainnet-contracts",
"mainnet": "0x6d6620eFa72948C5f68A3C8646d58C00d3f4A980",
"berachain": "0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6",
"bsc": "0x6e3d884c96d640526f273c61dfcf08915ebd7e2b",
"polygon": "0x6ce9bf8cdab780416ad1fd87b318a077d2f50eac",
"abstract": "0x183D6b82680189bB4dB826F739CdC9527D467B25",
Expand Down Expand Up @@ -211,6 +213,7 @@
"aurora": "0x0000000000000000000000000000000000000000",
"avalanche": "0xeCc19E177d24551aA7ed6Bc6FE566eCa726CC8a9",
"base": "0xeCc19E177d24551aA7ed6Bc6FE566eCa726CC8a9",
"berachain": "0x0000000000000000000000000000000000000000",
"boba": "0x0000000000000000000000000000000000000000",
"blast": "0x0000000000000000000000000000000000000000",
"bsc": "0xeCc19E177d24551aA7ed6Bc6FE566eCa726CC8a9",
Expand Down Expand Up @@ -258,6 +261,7 @@
"aurora": "0x0000000000000000000000000000000000000000",
"avalanche": "0x45A01E4e04F14f7A4a6702c74187c5F6222033cd",
"base": "0x45f1A95A4D3f3836523F5c83673c797f4d4d263B",
"berachain": "0x0000000000000000000000000000000000000000",
"blast": "0x0000000000000000000000000000000000000000",
"boba": "0x0000000000000000000000000000000000000000",
"bsc": "0x4a364f8c717cAAD9A442737Eb7b8A55cc6cf18D8",
Expand Down
4 changes: 4 additions & 0 deletions config/symbiosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"metaRouter": "0x691df9C4561d95a4a726313089c8536dd682b946",
"gateway": "0x41Ae964d0F61Bb5F5e253141A462aD6F3b625B92"
},
"berachain": {
"metaRouter": "0xcE8f24A58D85eD5c5A6824f7be1F8d4711A0eb4C",
"gateway": "0xAdB2d3b711Bb8d8Ea92ff70292c466140432c278"
},
"blast": {
"metaRouter": "0x7057aB3fB2BeE9c18e0cDe4240DE4ff7f159E365",
"gateway": "0xa0079829B9F1Edc5DD0DE3eC104f281745C4bD81"
Expand Down
1 change: 1 addition & 0 deletions config/tokenwrapper.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"comment": "Note: this file is generated by a backend script, do not change it manually!",
"mainnet": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"abstract": "0x3439153EB7AF838Ad19d56E1571FBD09333C2809",
"berachain": "0x6969696969696969696969696969696969696969",
"optimism": "0x4200000000000000000000000000000000000006",
"cronos": "0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23",
"rootstock": "0x542fda317318ebf1d3deaf76e0b632741a7e677d",
Expand Down
Loading
Loading