diff --git a/ethereum/env/.env.hyperliquid.testnet b/ethereum/env/.env.hyperevm.testnet similarity index 95% rename from ethereum/env/.env.hyperliquid.testnet rename to ethereum/env/.env.hyperevm.testnet index c264c3237a..85e764a229 100644 --- a/ethereum/env/.env.hyperliquid.testnet +++ b/ethereum/env/.env.hyperevm.testnet @@ -1,4 +1,4 @@ -# Hyperliquid testnet env +# HyperEVM testnet env # Rename to .env # Common config for forge deployment diff --git a/node/cmd/guardiand/node.go b/node/cmd/guardiand/node.go index e981115ebc..0bc96197fc 100644 --- a/node/cmd/guardiand/node.go +++ b/node/cmd/guardiand/node.go @@ -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, } diff --git a/node/pkg/query/query.go b/node/pkg/query/query.go index 161b39862d..94d13e7413 100644 --- a/node/pkg/query/query.go +++ b/node/pkg/query/query.go @@ -141,7 +141,7 @@ var perChainConfig = map[vaa.ChainID]PerChainConfig{ vaa.ChainIDOptimismSepolia: {NumWorkers: 1, TimestampCacheSupported: true}, vaa.ChainIDPolygonSepolia: {NumWorkers: 1, TimestampCacheSupported: true}, vaa.ChainIDMonadDevnet: {NumWorkers: 1, TimestampCacheSupported: true}, - vaa.ChainIDHyperliquid: {NumWorkers: 1, TimestampCacheSupported: true}, + vaa.ChainIDHyperEVM: {NumWorkers: 1, TimestampCacheSupported: true}, } // GetPerChainConfig returns the config for the specified chain. If the chain is not configured it returns an empty struct, diff --git a/node/pkg/watchers/evm/watcher.go b/node/pkg/watchers/evm/watcher.go index d31654168d..a0b5a75859 100644 --- a/node/pkg/watchers/evm/watcher.go +++ b/node/pkg/watchers/evm/watcher.go @@ -720,7 +720,7 @@ func (w *Watcher) getFinality(ctx context.Context) (bool, bool, error) { w.chainID == vaa.ChainIDBSC || w.chainID == vaa.ChainIDEthereum || w.chainID == vaa.ChainIDHolesky || - w.chainID == vaa.ChainIDHyperliquid || + w.chainID == vaa.ChainIDHyperEVM || w.chainID == vaa.ChainIDInk || w.chainID == vaa.ChainIDKarura || w.chainID == vaa.ChainIDMantle || diff --git a/sdk/testnet_consts.go b/sdk/testnet_consts.go index 907d0e36b3..2a9b689900 100644 --- a/sdk/testnet_consts.go +++ b/sdk/testnet_consts.go @@ -43,7 +43,7 @@ var knownTestnetTokenbridgeEmitters = map[vaa.ChainID]string{ vaa.ChainIDUnichain: "000000000000000000000000a10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a", vaa.ChainIDWorldchain: "000000000000000000000000430855B4D43b8AEB9D2B9869B74d58dda79C0dB2", vaa.ChainIDInk: "000000000000000000000000376428e7f26D5867e69201b275553C45B09EE090", - vaa.ChainIDHyperliquid: "0000000000000000000000004a8bc80Ed5a4067f1CCf107057b8270E0cC11A78", + vaa.ChainIDHyperEVM: "0000000000000000000000004a8bc80Ed5a4067f1CCf107057b8270E0cC11A78", vaa.ChainIDSepolia: "000000000000000000000000DB5492265f6038831E89f495670FF909aDe94bd9", vaa.ChainIDHolesky: "00000000000000000000000076d093BbaE4529a342080546cAFEec4AcbA59EC6", vaa.ChainIDArbitrumSepolia: "000000000000000000000000C7A204bDBFe983FCD8d8E61D02b475D4073fF97e", diff --git a/sdk/vaa/structs.go b/sdk/vaa/structs.go index 0c1eba0ffe..3ddd8ee835 100644 --- a/sdk/vaa/structs.go +++ b/sdk/vaa/structs.go @@ -217,8 +217,8 @@ func (c ChainID) String() string { return "worldchain" case ChainIDInk: return "ink" - case ChainIDHyperliquid: - return "hyperliquid" + case ChainIDHyperEVM: + return "hyperevm" case ChainIDCosmoshub: return "cosmoshub" case ChainIDEvmos: @@ -344,8 +344,8 @@ func ChainIDFromString(s string) (ChainID, error) { return ChainIDWorldchain, nil case "ink": return ChainIDInk, nil - case "hyperliquid": - return ChainIDHyperliquid, nil + case "hyperevm": + return ChainIDHyperEVM, nil case "cosmoshub": return ChainIDCosmoshub, nil case "seievm": @@ -429,7 +429,7 @@ func GetAllNetworkIDs() []ChainID { ChainIDUnichain, ChainIDWorldchain, ChainIDInk, - ChainIDHyperliquid, + ChainIDHyperEVM, ChainIDWormchain, ChainIDCosmoshub, ChainIDEvmos, @@ -536,8 +536,8 @@ const ( ChainIDWorldchain ChainID = 45 // ChainIDInk is the ChainID of Ink ChainIDInk ChainID = 46 - // ChainIDHyperliquid is the ChainID of Hyperliquid - ChainIDHyperliquid ChainID = 47 + // ChainIDHyperEVM is the ChainID of HyperEVM + ChainIDHyperEVM ChainID = 47 //ChainIDWormchain is the ChainID of Wormchain ChainIDWormchain ChainID = 3104 // ChainIDCosmoshub is the ChainID of Cosmoshub diff --git a/sdk/vaa/structs_test.go b/sdk/vaa/structs_test.go index fcf005caaa..fb5d4b58a5 100644 --- a/sdk/vaa/structs_test.go +++ b/sdk/vaa/structs_test.go @@ -69,7 +69,7 @@ func TestChainIDFromString(t *testing.T) { {input: "unichain", output: ChainIDUnichain}, {input: "worldchain", output: ChainIDWorldchain}, {input: "ink", output: ChainIDInk}, - {input: "hyperliquid", output: ChainIDHyperliquid}, + {input: "hyperevm", output: ChainIDHyperEVM}, {input: "seievm", output: ChainIDSeiEVM}, {input: "wormchain", output: ChainIDWormchain}, {input: "cosmoshub", output: ChainIDCosmoshub}, @@ -130,7 +130,7 @@ func TestChainIDFromString(t *testing.T) { {input: "Unichain", output: ChainIDUnichain}, {input: "Worldchain", output: ChainIDWorldchain}, {input: "Ink", output: ChainIDInk}, - {input: "Hyperliquid", output: ChainIDHyperliquid}, + {input: "HyperEVM", output: ChainIDHyperEVM}, {input: "SeiEVM", output: ChainIDSeiEVM}, {input: "Wormchain", output: ChainIDWormchain}, {input: "Cosmoshub", output: ChainIDCosmoshub}, @@ -332,7 +332,7 @@ func TestChainId_String(t *testing.T) { {input: 44, output: "unichain"}, {input: 45, output: "worldchain"}, {input: 46, output: "ink"}, - {input: 47, output: "hyperliquid"}, + {input: 47, output: "hyperevm"}, {input: 3104, output: "wormchain"}, {input: 4000, output: "cosmoshub"}, {input: 4001, output: "evmos"},