mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-25 15:05:51 +00:00
fix: remove default validator address
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
034bd2e8db
commit
73e48c4ed7
@ -55,7 +55,6 @@ func DefaultConfig() *Config {
|
|||||||
MqttTLS: true,
|
MqttTLS: true,
|
||||||
IssuerHost: "https://testnet-issuer.rddl.io",
|
IssuerHost: "https://testnet-issuer.rddl.io",
|
||||||
CertsPath: "./certs/",
|
CertsPath: "./certs/",
|
||||||
validatorAddress: "plmnt1w5dww335zhh98pzv783hqre355ck3u4w4hjxcx",
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,7 @@ import (
|
|||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
"github.com/golang/mock/gomock"
|
"github.com/golang/mock/gomock"
|
||||||
"github.com/planetmint/planetmint-go/clients"
|
"github.com/planetmint/planetmint-go/clients"
|
||||||
|
"github.com/planetmint/planetmint-go/config"
|
||||||
"github.com/planetmint/planetmint-go/testutil/keeper"
|
"github.com/planetmint/planetmint-go/testutil/keeper"
|
||||||
clientmocks "github.com/planetmint/planetmint-go/testutil/mocks"
|
clientmocks "github.com/planetmint/planetmint-go/testutil/mocks"
|
||||||
"github.com/planetmint/planetmint-go/testutil/moduleobject"
|
"github.com/planetmint/planetmint-go/testutil/moduleobject"
|
||||||
@ -50,6 +51,8 @@ func TestRegisterNFT(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestMachineNFTIssuance(t *testing.T) {
|
func TestMachineNFTIssuance(t *testing.T) {
|
||||||
|
cfg := config.GetConfig()
|
||||||
|
cfg.SetValidatorAddress("plmnt10mq5nj8jhh27z7ejnz2ql3nh0qhzjnfvy50877")
|
||||||
ctrl := gomock.NewController(t)
|
ctrl := gomock.NewController(t)
|
||||||
elements.Client = &elementsmocks.MockClient{}
|
elements.Client = &elementsmocks.MockClient{}
|
||||||
shamirMock := clientmocks.NewMockIShamirCoordinatorClient(ctrl)
|
shamirMock := clientmocks.NewMockIShamirCoordinatorClient(ctrl)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user