|
|
@@ -201,8 +201,8 @@ var (
|
|
|
inkRPC *string
|
|
|
inkContract *string
|
|
|
|
|
|
- hyperliquidRPC *string
|
|
|
- hyperliquidContract *string
|
|
|
+ hyperEvmRPC *string
|
|
|
+ hyperEvmContract *string
|
|
|
|
|
|
sepoliaRPC *string
|
|
|
sepoliaContract *string
|
|
|
@@ -425,8 +425,8 @@ func init() {
|
|
|
inkRPC = node.RegisterFlagWithValidationOrFail(NodeCmd, "inkRPC", "Ink RPC URL", "ws://eth-devnet:8545", []string{"ws", "wss"})
|
|
|
inkContract = NodeCmd.Flags().String("inkContract", "", "Ink contract address")
|
|
|
|
|
|
- hyperliquidRPC = node.RegisterFlagWithValidationOrFail(NodeCmd, "hyperliquidRPC", "Hyperliquid RPC URL", "ws://eth-devnet:8545", []string{"ws", "wss"})
|
|
|
- hyperliquidContract = NodeCmd.Flags().String("hyperliquidContract", "", "Hyperliquid contract address")
|
|
|
+ hyperEvmRPC = node.RegisterFlagWithValidationOrFail(NodeCmd, "hyperEvmRPC", "HyperEVM RPC URL", "ws://eth-devnet:8545", []string{"ws", "wss"})
|
|
|
+ hyperEvmContract = NodeCmd.Flags().String("hyperEvmContract", "", "HyperEVM contract address")
|
|
|
|
|
|
arbitrumSepoliaRPC = node.RegisterFlagWithValidationOrFail(NodeCmd, "arbitrumSepoliaRPC", "Arbitrum on Sepolia RPC URL", "ws://eth-devnet:8545", []string{"ws", "wss"})
|
|
|
arbitrumSepoliaContract = NodeCmd.Flags().String("arbitrumSepoliaContract", "", "Arbitrum on Sepolia contract address")
|
|
|
@@ -818,7 +818,7 @@ func runNode(cmd *cobra.Command, args []string) {
|
|
|
*unichainContract = checkEvmArgs(logger, *unichainRPC, *unichainContract, "unichain", false)
|
|
|
*worldchainContract = checkEvmArgs(logger, *worldchainRPC, *worldchainContract, "worldchain", true)
|
|
|
*inkContract = checkEvmArgs(logger, *inkRPC, *inkContract, "ink", false)
|
|
|
- *hyperliquidContract = checkEvmArgs(logger, *hyperliquidRPC, *hyperliquidContract, "hyperliquid", false)
|
|
|
+ *hyperEvmContract = checkEvmArgs(logger, *hyperEvmRPC, *hyperEvmContract, "hyperEvm", false)
|
|
|
|
|
|
// These chains will only ever be testnet / devnet.
|
|
|
*sepoliaContract = checkEvmArgs(logger, *sepoliaRPC, *sepoliaContract, "sepolia", false)
|
|
|
@@ -935,7 +935,7 @@ func runNode(cmd *cobra.Command, args []string) {
|
|
|
rpcMap["celoRPC"] = *celoRPC
|
|
|
rpcMap["ethRPC"] = *ethRPC
|
|
|
rpcMap["fantomRPC"] = *fantomRPC
|
|
|
- rpcMap["hyperliquidRPC"] = *hyperliquidRPC
|
|
|
+ rpcMap["hyperEvmRPC"] = *hyperEvmRPC
|
|
|
rpcMap["ibcBlockHeightURL"] = *ibcBlockHeightURL
|
|
|
rpcMap["ibcLCD"] = *ibcLCD
|
|
|
rpcMap["ibcWS"] = *ibcWS
|
|
|
@@ -1437,12 +1437,12 @@ func runNode(cmd *cobra.Command, args []string) {
|
|
|
watcherConfigs = append(watcherConfigs, wc)
|
|
|
}
|
|
|
|
|
|
- if shouldStart(hyperliquidRPC) {
|
|
|
+ if shouldStart(hyperEvmRPC) {
|
|
|
wc := &evm.WatcherConfig{
|
|
|
- NetworkID: "hyperliquid",
|
|
|
- ChainID: vaa.ChainIDHyperliquid,
|
|
|
- Rpc: *hyperliquidRPC,
|
|
|
- Contract: *hyperliquidContract,
|
|
|
+ NetworkID: "hyperevm",
|
|
|
+ ChainID: vaa.ChainIDHyperEVM,
|
|
|
+ Rpc: *hyperEvmRPC,
|
|
|
+ Contract: *hyperEvmContract,
|
|
|
CcqBackfillCache: *ccqBackfillCache,
|
|
|
}
|
|
|
|