Fix AuthzExtension testing

This commit is contained in:
Simon Warta 2023-05-04 16:29:24 +02:00
parent 87b11cea6c
commit 070deeb8f4

View File

@ -14,8 +14,7 @@ import {
pendingWithoutSimapp,
pendingWithoutSimapp46OrHigher,
simapp,
simapp44Enabled,
simapp46Enabled,
simappEnabled,
} from "../../testutils.spec";
import { AuthzExtension, setupAuthzExtension } from "./queries";
@ -37,7 +36,7 @@ describe("AuthzExtension", () => {
const grantedMsg = "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward";
beforeAll(async () => {
if (simapp44Enabled() || simapp46Enabled()) {
if (simappEnabled()) {
const wallet = await DirectSecp256k1HdWallet.fromMnemonic(faucet.mnemonic, {
// Use address 1 and 2 instead of 0 to avoid conflicts with other delegation tests
// This must match `voterAddress` above.