diff --git a/zetaclient/evm_client.go b/zetaclient/evm_client.go index b3e9a172b1..52bc29ed00 100644 --- a/zetaclient/evm_client.go +++ b/zetaclient/evm_client.go @@ -604,7 +604,7 @@ func (ob *EVMChainClient) observeInTX() error { ob.logger.ExternalChainWatcher.Info().Msgf("TxBlockNumber %d Transaction Hash: %s Message : %s", event.Raw.BlockNumber, event.Raw.TxHash, event.Message) destChain := common.GetChainFromChainID(event.DestinationChainId.Int64()) if destChain == nil { - ob.logger.ExternalChainWatcher.Warn().Msgf("chain id not supported %s", event.DestinationChainId.Int64()) + ob.logger.ExternalChainWatcher.Warn().Msgf("chain id not supported %d", event.DestinationChainId.Int64()) continue } destAddr := clienttypes.BytesToEthHex(event.DestinationAddress) diff --git a/zetaclient/zetabridge.go b/zetaclient/zetabridge.go index 975dcdb29b..48b86bf9a9 100644 --- a/zetaclient/zetabridge.go +++ b/zetaclient/zetabridge.go @@ -184,7 +184,7 @@ func (b *ZetaCoreBridge) UpdateConfigFromCore(cfg *config.Config) error { } _, found := cfg.EVMChainConfigs[params.ChainId] if !found { - panic(fmt.Sprintf("EvmConfig %s is nil for this client ", params.ChainId)) + panic(fmt.Sprintf("EvmConfig %d is nil for this client ", params.ChainId)) } if cfg.EVMChainConfigs[params.ChainId].CoreParams == nil { cfg.EVMChainConfigs[params.ChainId].CoreParams = config.NewCoreParams() diff --git a/zetaclient/zetacore_observer.go b/zetaclient/zetacore_observer.go index bdd39c8254..dcff12938e 100644 --- a/zetaclient/zetacore_observer.go +++ b/zetaclient/zetacore_observer.go @@ -246,7 +246,7 @@ func GetTargetChain(send *types.CrossChainTx) (string, error) { func (co *CoreObserver) getTargetChainOb(send *types.CrossChainTx) (ChainClient, error) { chainStr, err := GetTargetChain(send) if err != nil { - return nil, fmt.Errorf("chain %s not found", send.GetCurrentOutTxParam().ReceiverChainId) + return nil, fmt.Errorf("chain %d not found", send.GetCurrentOutTxParam().ReceiverChainId) } chainName := common.ParseChainName(chainStr) c := common.GetChainFromChainName(chainName)