opstack-kit-chains
Version:
Support your OP-Stack network with 'opstack-kit'
23 lines • 898 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvalidEip712TransactionError = void 0;
const base_js_1 = require("../../errors/base.js");
class InvalidEip712TransactionError extends base_js_1.BaseError {
constructor() {
super([
'Transaction is not an EIP712 transaction.',
'',
'Transaction must:',
' - include `type: "eip712"`',
' - include one of the following: `customSignature`, `paymaster`, `paymasterInput`, `gasPerPubdata`, `factoryDeps`',
].join('\n'));
Object.defineProperty(this, "name", {
enumerable: true,
configurable: true,
writable: true,
value: 'InvalidEip712TransactionError'
});
}
}
exports.InvalidEip712TransactionError = InvalidEip712TransactionError;
//# sourceMappingURL=transaction.js.map
;