mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
Merge pull request #54 from planetmint/eckelj/define_unittest_chain_id
pinned the chain id for unit tests
This commit is contained in:
commit
229b649a69
15
docs/static/openapi.yml
vendored
15
docs/static/openapi.yml
vendored
@ -46490,9 +46490,8 @@ paths:
|
||||
type: string
|
||||
ticker:
|
||||
type: string
|
||||
issued:
|
||||
type: string
|
||||
format: uint64
|
||||
reissue:
|
||||
type: boolean
|
||||
amount:
|
||||
type: string
|
||||
format: uint64
|
||||
@ -75335,9 +75334,8 @@ definitions:
|
||||
type: string
|
||||
ticker:
|
||||
type: string
|
||||
issued:
|
||||
type: string
|
||||
format: uint64
|
||||
reissue:
|
||||
type: boolean
|
||||
amount:
|
||||
type: string
|
||||
format: uint64
|
||||
@ -75387,9 +75385,8 @@ definitions:
|
||||
type: string
|
||||
ticker:
|
||||
type: string
|
||||
issued:
|
||||
type: string
|
||||
format: uint64
|
||||
reissue:
|
||||
type: boolean
|
||||
amount:
|
||||
type: string
|
||||
format: uint64
|
||||
|
2
go.mod
2
go.mod
@ -10,6 +10,7 @@ require (
|
||||
github.com/cometbft/cometbft v0.37.2
|
||||
github.com/cometbft/cometbft-db v0.7.0
|
||||
github.com/cosmos/cosmos-sdk v0.47.3
|
||||
github.com/cosmos/go-bip39 v1.0.0
|
||||
github.com/cosmos/gogoproto v1.4.10
|
||||
github.com/cosmos/ibc-go/v7 v7.1.0
|
||||
github.com/golang/mock v1.6.0
|
||||
@ -58,7 +59,6 @@ require (
|
||||
github.com/confio/ics23/go v0.9.0 // indirect
|
||||
github.com/cosmos/btcutil v1.0.5 // indirect
|
||||
github.com/cosmos/cosmos-proto v1.0.0-beta.2 // indirect
|
||||
github.com/cosmos/go-bip39 v1.0.0 // indirect
|
||||
github.com/cosmos/gogogateway v1.2.0 // indirect
|
||||
github.com/cosmos/iavl v0.20.0 // indirect
|
||||
github.com/cosmos/ics23/go v0.10.0 // indirect
|
||||
|
@ -6,7 +6,6 @@ import (
|
||||
"time"
|
||||
|
||||
tmdb "github.com/cometbft/cometbft-db"
|
||||
tmrand "github.com/cometbft/cometbft/libs/rand"
|
||||
"github.com/cosmos/cosmos-sdk/baseapp"
|
||||
"github.com/cosmos/cosmos-sdk/crypto/hd"
|
||||
"github.com/cosmos/cosmos-sdk/crypto/keyring"
|
||||
@ -51,7 +50,7 @@ func New(t *testing.T, configs ...Config) *Network {
|
||||
func DefaultConfig() network.Config {
|
||||
var (
|
||||
encoding = app.MakeEncodingConfig()
|
||||
chainID = "chain-" + tmrand.NewRand().Str(6)
|
||||
chainID = "chain-foobarbaz"
|
||||
)
|
||||
return network.Config{
|
||||
Codec: encoding.Marshaler,
|
||||
|
Loading…
x
Reference in New Issue
Block a user