Skip to content

Commit

Permalink
remove TotalBurnedNeutronsAmount as non-whitelisted query
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0n00gler committed Nov 27, 2023
1 parent 377336e commit 891f554
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/testcases/parallel/stargate_queries.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,5 @@ describe('Neutron / Simple', () => {
const res = JSON.parse(await querySmart({ feeburner_params: {} }));
expect(res.params.neutron_denom).toBe('untrn');
});

test('non whitelisted query should NOT work', async () => {
await expect(
querySmart({ feeburner_total_burned_neutrons_amount: {} }),
).rejects.toThrow(
/Unsupported query type: '\/neutron.feeburner.Query\/TotalBurnedNeutronsAmount'/,
);
});
});
});

0 comments on commit 891f554

Please sign in to comment.