import {expect} from 'chai'; import { Swarm } from 'daemon-manager/src'; import { defaultSwarmConfig, startSwarmWithClient } from '@bluzelle/testing'; import { getParamValue } from './query'; // params module is deprecated after cosmos-sdk version 0.47.12 describe.skip('params module', () => { beforeEach(() => Swarm.stopDaemons({ ...defaultSwarmConfig }) ); after(() => Swarm.stopDaemons({ ...defaultSwarmConfig }) ); it.skip('should get params value', () => startSwarmWithClient() .then(client => getParamValue(client.bzSdk, { subspace: 'staking', key: 'MaxValidators' })) .then(res => expect(res.param?.value).to.equal('100')) ); });