node: remove unused terraChainID command line flag
Change-Id: I5f02faa3f00098725e7242c289f65978c4879c3c
This commit is contained in:
parent
92d3ee577c
commit
bd5f957e1b
|
@ -84,8 +84,6 @@ spec:
|
||||||
- ws://terra-terrad:26657/websocket
|
- ws://terra-terrad:26657/websocket
|
||||||
- --terraLCD
|
- --terraLCD
|
||||||
- http://terra-lcd:1317
|
- http://terra-lcd:1317
|
||||||
- --terraChainID
|
|
||||||
- localterra
|
|
||||||
- --terraContract
|
- --terraContract
|
||||||
- terra18vd8fpwxzck93qlwghaj6arh4p7c5n896xzem5
|
- terra18vd8fpwxzck93qlwghaj6arh4p7c5n896xzem5
|
||||||
- --solanaContract
|
- --solanaContract
|
||||||
|
|
|
@ -66,7 +66,6 @@ var (
|
||||||
|
|
||||||
terraWS *string
|
terraWS *string
|
||||||
terraLCD *string
|
terraLCD *string
|
||||||
terraChainID *string
|
|
||||||
terraContract *string
|
terraContract *string
|
||||||
|
|
||||||
solanaWsRPC *string
|
solanaWsRPC *string
|
||||||
|
@ -117,7 +116,6 @@ func init() {
|
||||||
|
|
||||||
terraWS = NodeCmd.Flags().String("terraWS", "", "Path to terrad root for websocket connection")
|
terraWS = NodeCmd.Flags().String("terraWS", "", "Path to terrad root for websocket connection")
|
||||||
terraLCD = NodeCmd.Flags().String("terraLCD", "", "Path to LCD service root for http calls")
|
terraLCD = NodeCmd.Flags().String("terraLCD", "", "Path to LCD service root for http calls")
|
||||||
terraChainID = NodeCmd.Flags().String("terraChainID", "", "Terra chain ID, used in LCD client initialization")
|
|
||||||
terraContract = NodeCmd.Flags().String("terraContract", "", "Wormhole contract address on Terra blockchain")
|
terraContract = NodeCmd.Flags().String("terraContract", "", "Wormhole contract address on Terra blockchain")
|
||||||
|
|
||||||
solanaWsRPC = NodeCmd.Flags().String("solanaWS", "", "Solana Websocket URL (required")
|
solanaWsRPC = NodeCmd.Flags().String("solanaWS", "", "Solana Websocket URL (required")
|
||||||
|
@ -330,9 +328,6 @@ func runNode(cmd *cobra.Command, args []string) {
|
||||||
if *terraLCD == "" {
|
if *terraLCD == "" {
|
||||||
logger.Fatal("Please specify --terraLCD")
|
logger.Fatal("Please specify --terraLCD")
|
||||||
}
|
}
|
||||||
if *terraChainID == "" {
|
|
||||||
logger.Fatal("Please specify --terraChainID")
|
|
||||||
}
|
|
||||||
if *terraContract == "" {
|
if *terraContract == "" {
|
||||||
logger.Fatal("Please specify --terraContract")
|
logger.Fatal("Please specify --terraContract")
|
||||||
}
|
}
|
||||||
|
@ -504,7 +499,6 @@ func runNode(cmd *cobra.Command, args []string) {
|
||||||
*devNumGuardians,
|
*devNumGuardians,
|
||||||
*ethRPC,
|
*ethRPC,
|
||||||
*terraLCD,
|
*terraLCD,
|
||||||
*terraChainID,
|
|
||||||
*terraContract,
|
*terraContract,
|
||||||
attestationEvents,
|
attestationEvents,
|
||||||
)
|
)
|
||||||
|
|
|
@ -75,7 +75,6 @@ type Processor struct {
|
||||||
devnetEthRPC string
|
devnetEthRPC string
|
||||||
|
|
||||||
terraLCD string
|
terraLCD string
|
||||||
terraChainID string
|
|
||||||
terraContract string
|
terraContract string
|
||||||
|
|
||||||
attestationEvents *reporter.AttestationEventReporter
|
attestationEvents *reporter.AttestationEventReporter
|
||||||
|
@ -115,7 +114,6 @@ func NewProcessor(
|
||||||
devnetNumGuardians uint,
|
devnetNumGuardians uint,
|
||||||
devnetEthRPC string,
|
devnetEthRPC string,
|
||||||
terraLCD string,
|
terraLCD string,
|
||||||
terraChainID string,
|
|
||||||
terraContract string,
|
terraContract string,
|
||||||
attestationEvents *reporter.AttestationEventReporter,
|
attestationEvents *reporter.AttestationEventReporter,
|
||||||
) *Processor {
|
) *Processor {
|
||||||
|
@ -135,7 +133,6 @@ func NewProcessor(
|
||||||
db: db,
|
db: db,
|
||||||
|
|
||||||
terraLCD: terraLCD,
|
terraLCD: terraLCD,
|
||||||
terraChainID: terraChainID,
|
|
||||||
terraContract: terraContract,
|
terraContract: terraContract,
|
||||||
|
|
||||||
attestationEvents: attestationEvents,
|
attestationEvents: attestationEvents,
|
||||||
|
|
Loading…
Reference in New Issue