@xyo-network/xl1-cli-lib 1.15.10 → 1.15.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/node/index.mjs
CHANGED
|
@@ -532,7 +532,7 @@ import { asAddress as asAddress2, ZERO_HASH } from "@xylabs/hex";
|
|
|
532
532
|
import { isDefined as isDefined14 } from "@xylabs/typeof";
|
|
533
533
|
import { initTelemetry, startupSpanAsync as startupSpanAsync8, StepSizes, validateHydratedBlockState } from "@xyo-network/chain-sdk";
|
|
534
534
|
import { readPayloadMapFromStore } from "@xyo-network/xl1-protocol-sdk";
|
|
535
|
-
import { CompletedStepRewardAddressValidatorFactory, SelfSignerValidator, TransactionTransfersValidatorFactory } from "@xyo-network/xl1-validation";
|
|
535
|
+
import { CompletedStepRewardAddressValidatorFactory, DerivedReceiveAddressValidatorFactory, SelfSignerValidator, TransactionTransfersValidatorFactory } from "@xyo-network/xl1-validation";
|
|
536
536
|
import { Semaphore } from "async-mutex";
|
|
537
537
|
|
|
538
538
|
// src/orchestration/archivists/ChainFinalized/archivist.ts
|
|
@@ -1509,6 +1509,7 @@ var initServices = /* @__PURE__ */ __name(async (context) => {
|
|
|
1509
1509
|
startupSpanAsync8("initAccount", () => initAccount(context))
|
|
1510
1510
|
]);
|
|
1511
1511
|
const allowedRewardRedeemers = config3.validation?.allowedRewardRedeemers ?? [];
|
|
1512
|
+
const allowedRewardEscrowAccountSigners = config3.validation?.allowedRewardEscrowAccountSigners ?? [];
|
|
1512
1513
|
const initParams = {
|
|
1513
1514
|
config: config3,
|
|
1514
1515
|
logger,
|
|
@@ -1545,7 +1546,8 @@ var initServices = /* @__PURE__ */ __name(async (context) => {
|
|
|
1545
1546
|
const additionalPendingTransactionValidators = [
|
|
1546
1547
|
TransactionTransfersValidatorFactory([
|
|
1547
1548
|
SelfSignerValidator,
|
|
1548
|
-
CompletedStepRewardAddressValidatorFactory(allowedRewardRedeemers)
|
|
1549
|
+
CompletedStepRewardAddressValidatorFactory(allowedRewardRedeemers),
|
|
1550
|
+
DerivedReceiveAddressValidatorFactory(allowedRewardEscrowAccountSigners, "reward-escrow")
|
|
1549
1551
|
])
|
|
1550
1552
|
];
|
|
1551
1553
|
const [pendingTransactionsService, rewardService, chainIterator, balanceService] = await Promise.all([
|
|
@@ -1822,7 +1824,7 @@ var waitForHostPort = /* @__PURE__ */ __name((host, port) => {
|
|
|
1822
1824
|
|
|
1823
1825
|
// src/runCLI.ts
|
|
1824
1826
|
var config;
|
|
1825
|
-
var version = isDefined17("1.15.
|
|
1827
|
+
var version = isDefined17("1.15.11") ? "1.15.11" : "unknown";
|
|
1826
1828
|
var getContextFromConfig = /* @__PURE__ */ __name((config3) => {
|
|
1827
1829
|
const logger = initLogger(config3);
|
|
1828
1830
|
const orchestrator = new Orchestrator(logger);
|