Documentation ¶
Index ¶
- Constants
- Variables
- type E2ETestSuite
- func (s *E2ETestSuite) GaiaREST() string
- func (s *E2ETestSuite) QueryExchangeRate(endpoint, denom string) (sdk.DecCoins, error)
- func (s *E2ETestSuite) QueryHistAvgPrice(endpoint, denom string) (sdk.Dec, error)
- func (s *E2ETestSuite) QueryOutflows(endpoint, denom string) (sdk.Dec, error)
- func (s *E2ETestSuite) QueryREST(endpoint string, valPtr interface{}) error
- func (s *E2ETestSuite) QueryTotalSupply(endpoint string) (sdk.Coins, error)
- func (s *E2ETestSuite) QueryUmeeAllBalances(endpoint, addr string) (sdk.Coins, error)
- func (s *E2ETestSuite) QueryUmeeBalance(umeeValIdx int, umeeTokenDenom string) (umeeBalance sdk.Coin, umeeAddr string)
- func (s *E2ETestSuite) QueryUmeeDenomBalance(endpoint, addr, denom string) (sdk.Coin, error)
- func (s *E2ETestSuite) QueryUmeeTx(endpoint, txHash string) error
- func (s *E2ETestSuite) SendIBC(srcChainID, dstChainID, recipient string, token sdk.Coin)
- func (s *E2ETestSuite) SetupSuite()
- func (s *E2ETestSuite) TearDownSuite()
- func (s *E2ETestSuite) UmeeREST() string
Constants ¶
View Source
const ( PhotonDenom = "photon" InitBalanceStr = "510000000000" + appparams.BondDenom + ",100000000000" + PhotonDenom GaiaChainID = "test-gaia-chain" EthChainID uint = 15 EthMinerPK = "0xb1bab011e03a9862664706fc3bbaa1b16651528e5f0e7fbfcbfdd8be302a13e7" PriceFeederContainerRepo = "ghcr.io/umee-network/price-feeder-umee" PriceFeederServerPort = "7171/tcp" PriceFeederMaxStartupTime = 20 // seconds )
Variables ¶
View Source
var ( ATOM = "ATOM" ATOMBaseDenom = "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2" ATOMExponent = 6 )
Functions ¶
This section is empty.
Types ¶
type E2ETestSuite ¶
type E2ETestSuite struct { suite.Suite Chain *chain DkrPool *dockertest.Pool DkrNet *dockertest.Network GaiaResource *dockertest.Resource HermesResource *dockertest.Resource ValResources []*dockertest.Resource OrchResources []*dockertest.Resource GravityContractAddr string Umee client.Client MinNetwork bool // MinNetwork defines which runs only validator wihtout price-feeder, gaia and ibc-relayer // contains filtered or unexported fields }
func (*E2ETestSuite) GaiaREST ¶
func (s *E2ETestSuite) GaiaREST() string
func (*E2ETestSuite) QueryExchangeRate ¶
func (s *E2ETestSuite) QueryExchangeRate(endpoint, denom string) (sdk.DecCoins, error)
func (*E2ETestSuite) QueryHistAvgPrice ¶
func (s *E2ETestSuite) QueryHistAvgPrice(endpoint, denom string) (sdk.Dec, error)
func (*E2ETestSuite) QueryOutflows ¶
func (s *E2ETestSuite) QueryOutflows(endpoint, denom string) (sdk.Dec, error)
func (*E2ETestSuite) QueryREST ¶
func (s *E2ETestSuite) QueryREST(endpoint string, valPtr interface{}) error
QueryREST make http query to grpc-web endpoint and tries to decode valPtr using proto-JSON decoder if valPtr implements proto.Message. Otherwise standard JSON decoder is used. valPtr must be a pointer.
func (*E2ETestSuite) QueryTotalSupply ¶
func (s *E2ETestSuite) QueryTotalSupply(endpoint string) (sdk.Coins, error)
func (*E2ETestSuite) QueryUmeeAllBalances ¶
func (s *E2ETestSuite) QueryUmeeAllBalances(endpoint, addr string) (sdk.Coins, error)
func (*E2ETestSuite) QueryUmeeBalance ¶
func (*E2ETestSuite) QueryUmeeDenomBalance ¶
func (s *E2ETestSuite) QueryUmeeDenomBalance(endpoint, addr, denom string) (sdk.Coin, error)
func (*E2ETestSuite) QueryUmeeTx ¶
func (s *E2ETestSuite) QueryUmeeTx(endpoint, txHash string) error
func (*E2ETestSuite) SendIBC ¶
func (s *E2ETestSuite) SendIBC(srcChainID, dstChainID, recipient string, token sdk.Coin)
func (*E2ETestSuite) SetupSuite ¶
func (s *E2ETestSuite) SetupSuite()
func (*E2ETestSuite) TearDownSuite ¶
func (s *E2ETestSuite) TearDownSuite()
func (*E2ETestSuite) UmeeREST ¶
func (s *E2ETestSuite) UmeeREST() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.