diff --git a/client/rpc/dex_client.go b/client/rpc/dex_client.go index 4d624919..f2947228 100644 --- a/client/rpc/dex_client.go +++ b/client/rpc/dex_client.go @@ -1003,7 +1003,9 @@ func (c *HTTP) sign(m msg.Msg, options ...tx.Option) ([]byte, error) { if types.Network == types.TestNetwork { chainID = gtypes.TestnetChainID } else if types.Network == types.TmpTestNetwork { - chainID = gtypes.TmpTestnetChainId + chainID = gtypes.KongoChainId + } else if types.Network == types.GangesNetwork { + chainID = gtypes.GangesChainId } signMsg := &tx.StdSignMsg{ ChainID: chainID, diff --git a/common/types/address.go b/common/types/address.go index f93b6f64..b595402c 100644 --- a/common/types/address.go +++ b/common/types/address.go @@ -21,6 +21,7 @@ const ( TestNetwork ChainNetwork = iota ProdNetwork TmpTestNetwork + GangesNetwork ) const ( @@ -38,6 +39,8 @@ func (this ChainNetwork) Bech32Prefixes() string { return "tbnb" case TmpTestNetwork: return "tbnb" + case GangesNetwork: + return "tbnb" case ProdNetwork: return "bnb" default: diff --git a/types/config.go b/types/config.go index b8ae1d07..747acb30 100644 --- a/types/config.go +++ b/types/config.go @@ -7,8 +7,11 @@ const ( DefaultWSPrefix = "/api/ws" NativeSymbol = "BNB" - ProdChainID = "Binance-Chain-Tigris" - TestnetChainID = "Binance-Chain-Nile" - TmpTestnetChainId = "Binance-Chain-Kongo" - RialtoNet = "rialto" + ProdChainID = "Binance-Chain-Tigris" + TestnetChainID = "Binance-Chain-Nile" + KongoChainId = "Binance-Chain-Kongo" + GangesChainId = "Binance-Chain-Ganges" + + RialtoNet = "rialto" + ChapelNet = "chapel" )