Skip to content

Commit

Permalink
update_system_contract_test
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Sep 13, 2023
1 parent 9d7ee13 commit f14d311
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (k Keeper) TestUpdateSystemContractAddress(goCtx context.Context) error {
return sdkerrors.Wrapf(err, "failed to DeploySystemContract")
}
creator := k.observerKeeper.GetParams(ctx).GetAdminPolicyAccount(observertypes.Policy_Type_deploy_fungible_coin)
msg := types.NewMessageUpdateSystemContract(creator, SystemContractAddress.Hex())
msg := types.NewMsgUpdateSystemContract(creator, SystemContractAddress.Hex())
_, err = k.UpdateSystemContract(ctx, msg)
return err
}
Expand Down
Loading

0 comments on commit f14d311

Please sign in to comment.