UNPKG

xcm-lib-zkverify

Version:

XCM asset teleportation and remote EVM calls for ZKVerify

13 lines 466 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConfigValidator = void 0; class ConfigValidator { static validateParachainId(id) { const allowedParachainIds = [1]; if (!allowedParachainIds.includes(id)) { throw new Error(`EVM parachain ID must be one of: ${allowedParachainIds.join(', ')}`); } } } exports.ConfigValidator = ConfigValidator; //# sourceMappingURL=config-validator.js.map