From 62e7801cfa3bc925c7d0796fa46f3dcbc66b62c1 Mon Sep 17 00:00:00 2001 From: bruce-riley <96066700+bruce-riley@users.noreply.github.com> Date: Mon, 4 Dec 2023 10:05:29 -0600 Subject: [PATCH] Node/EVM: Remove obsolete polygon parameters (#3571) --- node/cmd/guardiand/node.go | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/node/cmd/guardiand/node.go b/node/cmd/guardiand/node.go index 52caeb62e..e080fedbd 100644 --- a/node/cmd/guardiand/node.go +++ b/node/cmd/guardiand/node.go @@ -71,10 +71,8 @@ var ( bscRPC *string bscContract *string - polygonRPC *string - polygonContract *string - polygonRootChainRpc *string - polygonRootChainContractAddress *string + polygonRPC *string + polygonContract *string auroraRPC *string auroraContract *string @@ -238,8 +236,6 @@ func init() { polygonRPC = NodeCmd.Flags().String("polygonRPC", "", "Polygon RPC URL") polygonContract = NodeCmd.Flags().String("polygonContract", "", "Polygon contract address") - polygonRootChainRpc = NodeCmd.Flags().String("polygonRootChainRpc", "", "Polygon root chain RPC") - polygonRootChainContractAddress = NodeCmd.Flags().String("polygonRootChainContractAddress", "", "Polygon root chain contract address") avalancheRPC = NodeCmd.Flags().String("avalancheRPC", "", "Avalanche RPC URL") avalancheContract = NodeCmd.Flags().String("avalancheContract", "", "Avalanche contract address") @@ -1065,10 +1061,6 @@ func runNode(cmd *cobra.Command, args []string) { } if shouldStart(polygonRPC) { - // Checkpointing is obsolete. - if *polygonRootChainRpc != "" || *polygonRootChainContractAddress != "" { - logger.Warn(`polygon checkpointing is obsolete, please remove "--polygonRootChainRpc" and "--polygonRootChainContractAddress"`) - } wc := &evm.WatcherConfig{ NetworkID: "polygon", ChainID: vaa.ChainIDPolygon,