UNPKG

@unilogin/sdk

Version:

SDK is a JS library, that communicates with relayer. SDK allows managing contract, by creating basic contract-calling messages.

8 lines 412 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var commons_1 = require("@unilogin/commons"); var errors_1 = require("./errors"); exports.ensureSufficientGas = function (unsingedMessage) { commons_1.ensure(commons_1.GAS_BASE < unsingedMessage.safeTxGas, errors_1.InsufficientGas, "gasLimit should be greater than " + commons_1.GAS_BASE); }; //# sourceMappingURL=validation.js.map