Skip to content

Commit

Permalink
add missing field in init message of xcsV2
Browse files Browse the repository at this point in the history
  • Loading branch information
tuantran1702 committed Mar 22, 2024
1 parent 4c4d7f8 commit 30674f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/interchaintest/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ func SetupOsmosisContracts(t *testing.T,
t.Logf("swap router contract address: %s\n", swaprouterContractAddr)

// 3. Crosschain Swaps Contract
initMsg = fmt.Sprintf("{\"swap_contract\":\"%s\",\"governor\": \"%s\"}", swaprouterContractAddr, owner)
initMsg = fmt.Sprintf("{\"swap_contract\":\"%s\",\"governor\": \"%s\",\"registry_contract\": \"%s\"}", swaprouterContractAddr, owner, registryContractAddr)
xcsV2ContractAddr, err := osmosis.InstantiateContract(ctx, user.KeyName(), xcsV2CodeId, initMsg, true)
if err != nil {
return nil, err
Expand Down

0 comments on commit 30674f5

Please sign in to comment.