The base cost must be greater than the provided value.
const baseCost = 100;
const value = 99;
try {
await utils.checkBaseCost(baseCost, value);
} catch (e) {
// e.message = `The base cost of performing the priority operation is higher than the provided value parameter for the transaction: baseCost: ${baseCost}, provided value: ${value}`,
}
Checks if the transaction's base cost is greater than the provided value, which covers the transaction's cost.