From aca9c0f346e85ce9c0a8939ee290c8ae2bc01e0d Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Tue, 3 May 2022 15:55:50 +0200 Subject: [PATCH] feat: adds orchestrator address to validator in staking module (#112) * adds orchestrator address to validator initialization in staking module * fix msg edit validator * todo * todo --- testutil/network/network.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testutil/network/network.go b/testutil/network/network.go index 263aaab9f49c..dae1c9ebbf04 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -402,6 +402,9 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { orchAddr, _ := sdk.AccAddressFromHex("celes1qktu8009djs6uym9uwj84ead24exkezsaqrmn5") ethAddr, _ := stakingtypes.NewEthAddress("0x91DEd26b5f38B065FC0204c7929Da6b2A21277Cd") + orchAddr, _ := sdk.AccAddressFromHex("celes1qktu8009djs6uym9uwj84ead24exkezsaqrmn5") + ethAddr, _ := stakingtypes.NewEthAddress("0x91DEd26b5f38B065FC0204c7929Da6b2A21277Cd") + createValMsg, err := stakingtypes.NewMsgCreateValidator( sdk.ValAddress(addr), valPubKeys[i],