Skip to content

Commit

Permalink
Connect all chains (#3)
Browse files Browse the repository at this point in the history
* clean

* fix pangolin

* upgrade sphinx

* update project name

* upgrade lib ormp

* redeploy

* upgrade sphinx

* upgrade lib ormp

* redeploy

* import xAccount

* deploy xAccount

* fix compile

* forge install: safe-deployments

v1.34.0

* config xAccount

* config

* forge install: create3-deploy

v1.0.0

* config xAccount

* config xAccount

* fix

* redeploy

* update multi port

* update ormp port

* deploy by multisig

* update ormp ipfs

* upgrade msgport

* fix msgport interface

* upgrade lib msgport

* update safe

* change taiko testnet

* maint: Creating Sphinx lock file

* sphinx migrate

* redeploy

* upgrade libs

* bump sphinx to 0.32.2

* upgrade ormp

* upgrade lib

* redeploy

* upgrade msgport

* upgrade msgport

* force rebuild

* downgrade sphinx

* upgrade sphinx to 0.32.2

* update toml

* upgrade libs

* upgrade sphinx

* upgrade sphinx

* updates

* updates

* fix config

* config

* delele

* redeploy

* forked sphinx

* clean

* merkle input

* revert

* use forked sphinx

* dapp uninstall sphinx

* use forked sphinx

* upgrade forked sphinx

* a

* using forked sphinx

* upgrade lib ormp

* update config

* testnets

* mainnets config

* upgrade lib ormp

* bump sphinx to 0.1.10

* testnets proposal

* sign dapp

* execute deploy test proposal

* redeploy testnets

* testnets config

* execute connect

* fix

* mainnets rpc

* ci

* update rpcs

* clean

* upgrade lib msgport

* upgrade port uri

* deploy msgport v2 on mainnet

* upgrade msgport

* upgrade ormp-u uri

* clean

* deploy on tron

* deploy on mainnet

* supported chains

* connect all chains

* change defulat env value

* fix

* clean
  • Loading branch information
hujw77 authored May 28, 2024
1 parent 7387d24 commit 28bb54a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@

## Supported Chains
### Mainnet
TODO
- Arbitrum
- Blast
- Crab
- Darwinia
- Ethereum
- Polygon
- Moonbeam

#### Tron
```
Expand Down
8 changes: 7 additions & 1 deletion script/Connect.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,19 @@ contract ConnectScript is Base, OracleConfig, RelayerConfig {
}

function run() public sphinx {
bool IS_PROD = vmSafe.envOr("IS_PROD", false);
bool IS_PROD = vmSafe.envOr("IS_PROD", true);
if (IS_PROD) {
networks = sphinxConfig.mainnets;
} else {
networks = sphinxConfig.testnets;
}
connect(block.chainid);
// darwinia connect to tron
if (block.chainid == 46) {
III(0x8d22f03a675064BFd7509c87206d33730f33e324).setPeer(
728126428, 0xd5ACb1876B907A954755a08D3009EEDC0127065d
);
}
}

function connect(uint256 localChainId) internal {
Expand Down
4 changes: 2 additions & 2 deletions script/common/Proposal.s.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import "../Deploy.s.sol";
import "../Connect.s.sol";

contract Proposal is DeployScript {}
contract Proposal is ConnectScript {}
2 changes: 1 addition & 1 deletion script/input/1284.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fee = "1500000000000000"
[ormp.oracle.46]
fee = "25000000000000000"

[ormp.oracle.1284]
[ormp.oracle.137]
fee = "25000000000000000"

[ormp.oracle.42161]
Expand Down

0 comments on commit 28bb54a

Please sign in to comment.