Skip to content

Commit

Permalink
fix: typos (#505)
Browse files Browse the repository at this point in the history
* fix typos

* fix typos

* fix typo
  • Loading branch information
omahs authored Jun 30, 2024
1 parent 05f69b7 commit 9a748d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion starship/charts/devnet/scripts/default/create-genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ then
done
fi

## if facuet not enabled then add validator and relayer with index as keys and into gentx
## if faucet not enabled then add validator and relayer with index as keys and into gentx
if [[ $FAUCET_ENABLED == "false" && $NUM_VALIDATORS -gt "1" ]];
then
## Add validators key and delegate tokens
Expand Down
4 changes: 2 additions & 2 deletions starship/cmd/starship/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Chain struct {
NumValidators int `name:"num-validators" json:"num_validators,omitempty" yaml:"numValidators"`
Scripts map[string]ScriptData `name:"scripts" json:"scripts,omitempty" yaml:"scripts"`
Cometmock *Feature `name:"cometmock" json:"cometmock,omitempty" yaml:"cometmock"`
Faucet *Feature `name:"facuet" json:"faucet,omitempty" yaml:"faucet"`
Faucet *Feature `name:"faucet" json:"faucet,omitempty" yaml:"faucet"`
Ports Port `name:"ports" json:"ports,omitempty" yaml:"ports"`
Upgrade Upgrade `name:"upgrade" json:"upgrade,omitempty" yaml:"upgrade"`
Genesis map[string]interface{} `name:"genesis" json:"genesis,omitempty" yaml:"genesis"`
Expand Down Expand Up @@ -107,7 +107,7 @@ func (f *Feature) GetRESTAddr() string {
// Need not be fully compatible with the values.schema.json file, just need
// parts of the config file for performing various functions, mainly port-forwarding
// todo: move this to a more common place, outside just tests
// todo: can be moved to proto defination
// todo: can be moved to proto definition
type HelmConfig struct {
Chains []*Chain `name:"chains" json:"chains" yaml:"chains"`
Relayers []*Relayer `name:"relayers" json:"relayers" yaml:"relayers"`
Expand Down
6 changes: 3 additions & 3 deletions starship/tests/e2e/faucet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (s *TestSuite) TestFaucet_Status() {
s.T().Log("running test for /status endpoint for faucet")

for _, chain := range s.config.Chains {
s.Run(fmt.Sprintf("facuet test for: %s", chain.ID), func() {
s.Run(fmt.Sprintf("faucet test for: %s", chain.ID), func() {
if chain.Ports.Faucet == 0 {
s.T().Skip("faucet not exposed via ports")
}
Expand Down Expand Up @@ -122,7 +122,7 @@ func (s *TestSuite) TestFaucet_Credit() {
expCreditedAmt := float64(10000000000)

for _, chain := range s.config.Chains {
s.Run(fmt.Sprintf("facuet test for: %s", chain.ID), func() {
s.Run(fmt.Sprintf("faucet test for: %s", chain.ID), func() {
if chain.Ports.Faucet == 0 {
s.T().Skip("faucet not exposed via ports")
}
Expand All @@ -149,7 +149,7 @@ func (s *TestSuite) TestFaucet_Credit() {
afterBalance := s.getAccountBalance(chain, addr, denom)
s.T().Log("address:", addr, "after balance: ", afterBalance, "before balance:", beforeBalance)
// note sometimes expected difference is 9x expected value (bug due to using holder address for test)
// hence checking for difference is atleast expected value
// hence checking for difference is at least expected value
s.Require().GreaterOrEqual(afterBalance-beforeBalance, expCreditedAmt)
})
}
Expand Down

0 comments on commit 9a748d2

Please sign in to comment.