diff --git a/servers/cu/src/config.js b/servers/cu/src/config.js index cd17fd24b..cc910a96c 100644 --- a/servers/cu/src/config.js +++ b/servers/cu/src/config.js @@ -124,7 +124,7 @@ const CONFIG_ENVS = { WASM_BINARY_FILE_DIRECTORY: process.env.WASM_BINARY_FILE_DIRECTORY || tmpdir(), PROCESS_IGNORE_ARWEAVE_CHECKPOINTS: process.env.PROCESS_IGNORE_ARWEAVE_CHECKPOINTS || [], IGNORE_ARWEAVE_CHECKPOINTS: process.env.IGNORE_ARWEAVE_CHECKPOINTS || [], - PROCESS_CHECKPOINT_TRUSTED_OWNERS: process.env.IGNORE_ARWEAVE_CHECKPOINTS || [], + PROCESS_CHECKPOINT_TRUSTED_OWNERS: process.env.PROCESS_CHECKPOINT_TRUSTED_OWNERS || [], PROCESS_CHECKPOINT_FILE_DIRECTORY: process.env.PROCESS_CHECKPOINT_FILE_DIRECTORY || tmpdir(), PROCESS_MEMORY_CACHE_MAX_SIZE: process.env.PROCESS_MEMORY_CACHE_MAX_SIZE || bytes('500mb'), PROCESS_MEMORY_CACHE_TTL: process.env.PROCESS_MEMORY_CACHE_TTL || ms('24h'), @@ -171,7 +171,7 @@ const CONFIG_ENVS = { WASM_BINARY_FILE_DIRECTORY: process.env.WASM_BINARY_FILE_DIRECTORY || tmpdir(), PROCESS_IGNORE_ARWEAVE_CHECKPOINTS: process.env.PROCESS_IGNORE_ARWEAVE_CHECKPOINTS || [], IGNORE_ARWEAVE_CHECKPOINTS: process.env.IGNORE_ARWEAVE_CHECKPOINTS || [], - PROCESS_CHECKPOINT_TRUSTED_OWNERS: process.env.IGNORE_ARWEAVE_CHECKPOINTS || [], + PROCESS_CHECKPOINT_TRUSTED_OWNERS: process.env.PROCESS_CHECKPOINT_TRUSTED_OWNERS || [], PROCESS_CHECKPOINT_FILE_DIRECTORY: process.env.PROCESS_CHECKPOINT_FILE_DIRECTORY || tmpdir(), PROCESS_MEMORY_CACHE_MAX_SIZE: process.env.PROCESS_MEMORY_CACHE_MAX_SIZE || bytes('500mb'), PROCESS_MEMORY_CACHE_TTL: process.env.PROCESS_MEMORY_CACHE_TTL || ms('24h'), diff --git a/servers/cu/src/domain/index.js b/servers/cu/src/domain/index.js index b0644bfae..112e51a69 100644 --- a/servers/cu/src/domain/index.js +++ b/servers/cu/src/domain/index.js @@ -123,6 +123,7 @@ export const createApis = async (ctx) => { ctx.logger('Process Snapshot creation is set to "%s"', !ctx.DISABLE_PROCESS_CHECKPOINT_CREATION) ctx.logger('Ignoring Arweave Checkpoints for processes [ %s ]', ctx.PROCESS_IGNORE_ARWEAVE_CHECKPOINTS.join(', ')) ctx.logger('Ignoring Arweave Checkpoints [ %s ]', ctx.IGNORE_ARWEAVE_CHECKPOINTS.join(', ')) + ctx.logger('Trusting Arweave Checkpoints [ %s ]', ctx.PROCESS_CHECKPOINT_TRUSTED_OWNERS.join(', ')) ctx.logger('Allowing only process owners [ %s ]', ctx.ALLOW_OWNERS.join(', ')) ctx.logger('Restricting processes [ %s ]', ctx.RESTRICT_PROCESSES.join(', ')) ctx.logger('Allowing only processes [ %s ]', ctx.ALLOW_PROCESSES.join(', '))