Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilbe27 committed Oct 31, 2024
1 parent 0ee9f1f commit 5146b50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/appconst/appconst_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ func (s *TestSuite) TestGetEthChainID() {
s.Run("localnet", func() {
s.EqualValues(
big.NewInt(appconst.ETH_CHAIN_ID_LOCALNET_0),
appconst.GetEthChainID("nibiru-localnet-0"),
appconst.GetEthChainID("nibiru-localnet0"),
)
})
s.Run("devnet", func() {
want := big.NewInt(appconst.ETH_CHAIN_ID_TESTNET_1)
given := "nibiru-testnet-1"
given := "nibiru-testnet1"
s.EqualValues(want, appconst.GetEthChainID(given))

want = big.NewInt(appconst.ETH_CHAIN_ID_DEVNET_2)
given = "nibiru-devnet-2"
given = "nibiru-devnet2"
s.EqualValues(want, appconst.GetEthChainID(given))
})
s.Run("else", func() {
Expand Down

0 comments on commit 5146b50

Please sign in to comment.