Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m3s
CI/CD Pipeline / Security Scanning (push) Successful in 2m18s
CI/CD Pipeline / Lint and Format (push) Failing after 34s
CI/CD Pipeline / Terraform Validation (push) Failing after 20s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 22s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 40s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 49s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 21s
Validation / validate-genesis (push) Successful in 25s
Validation / validate-terraform (push) Failing after 21s
Validation / validate-kubernetes (push) Failing after 8s
Validation / validate-smart-contracts (push) Failing after 8s
Validation / validate-security (push) Failing after 1m11s
Validation / validate-documentation (push) Failing after 14s
Verify Deployment / Verify Deployment (push) Failing after 45s
Ship AddressActivityRegistry V1/V2, ISO20022IntakeGateway, Chain138ParticipantSurface, checkpoint hub contracts, checkpoint-core package, aggregator/indexer/sdk services, relay profile guards, M00 diamond bridge facet, and OMNL compliance contracts. Co-authored-by: Cursor <cursoragent@cursor.com>
68 lines
3.3 KiB
JavaScript
68 lines
3.3 KiB
JavaScript
"use strict";
|
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
}
|
|
Object.defineProperty(o, k2, desc);
|
|
}) : (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
o[k2] = m[k];
|
|
}));
|
|
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
}) : function(o, v) {
|
|
o["default"] = v;
|
|
});
|
|
var __importStar = (this && this.__importStar) || (function () {
|
|
var ownKeys = function(o) {
|
|
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
var ar = [];
|
|
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
return ar;
|
|
};
|
|
return ownKeys(o);
|
|
};
|
|
return function (mod) {
|
|
if (mod && mod.__esModule) return mod;
|
|
var result = {};
|
|
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
__setModuleDefault(result, mod);
|
|
return result;
|
|
};
|
|
})();
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.checkpointIndexerConfig = void 0;
|
|
const dotenv = __importStar(require("dotenv"));
|
|
const path = __importStar(require("path"));
|
|
dotenv.config({ path: path.resolve(__dirname, '../../../.env') });
|
|
dotenv.config();
|
|
const repoRoot = process.env.PROXMOX_ROOT || path.resolve(__dirname, '../../../../..');
|
|
function mainnetRpc() {
|
|
return (process.env.MAINNET_RPC_URL ||
|
|
process.env.ETHEREUM_MAINNET_RPC ||
|
|
'https://ethereum-rpc.publicnode.com');
|
|
}
|
|
exports.checkpointIndexerConfig = {
|
|
port: parseInt(process.env.CHECKPOINT_INDEXER_PORT || '3099', 10),
|
|
mainnetRpc: mainnetRpc(),
|
|
chain138Rpc: process.env.CHAIN138_RPC_URL || 'http://192.168.11.211:8545',
|
|
checkpointProxy: process.env.CHAIN138_MAINNET_CHECKPOINT_PROXY || '',
|
|
legacyMirror: process.env.TRANSACTION_MIRROR_MAINNET || '0x4CF42c4F1dBa748601b8938be3E7ABD732E87cE9',
|
|
legacyTether: process.env.MAINNET_TETHER_ADDRESS || '0x15DF1D5BFDD8Aa4b380445D4e3E9B38d34283619',
|
|
batchPayloadDir: process.env.CHECKPOINT_BATCH_PAYLOAD_DIR ||
|
|
path.join(repoRoot, 'reports/checkpoint-indexer/batches'),
|
|
blockscoutApi: process.env.CHECKPOINT_BLOCKSCOUT_API || 'https://explorer.d-bis.org/api/v2',
|
|
enrichTokenTransfers: process.env.CHECKPOINT_ENRICH_TOKEN_TRANSFERS !== '0',
|
|
usdEnrichEnabled: process.env.CHECKPOINT_USD_ENRICH !== '0',
|
|
tokenAggregationApiUrl: process.env.CHECKPOINT_TOKEN_AGGREGATION_URL ||
|
|
process.env.TOKEN_AGGREGATION_API_URL ||
|
|
'https://explorer.d-bis.org/api/v1',
|
|
usdRequestDelayMs: parseInt(process.env.CHECKPOINT_USD_REQUEST_DELAY_MS || '80', 10),
|
|
addressActivityRegistry: process.env.ADDRESS_ACTIVITY_REGISTRY_MAINNET || '',
|
|
addressActivityRegistryV2: process.env.ADDRESS_ACTIVITY_REGISTRY_V2_MAINNET || '',
|
|
iso20022IntakeGateway: process.env.ISO20022_INTAKE_GATEWAY_MAINNET || '',
|
|
participantSurface: process.env.CHAIN138_PARTICIPANT_SURFACE_MAINNET || '',
|
|
};
|