diff --git a/common/protocol/src/methods/checks/isValidRuntime.ts b/common/protocol/src/methods/checks/isValidRuntime.ts index 65c4370f..519a91b8 100644 --- a/common/protocol/src/methods/checks/isValidRuntime.ts +++ b/common/protocol/src/methods/checks/isValidRuntime.ts @@ -10,8 +10,6 @@ import { Validator, standardizeError } from "../.."; */ export function isValidRuntime(this: Validator): boolean { try { - this.logger.debug(`Comparing pool runtime with protocol node runtime`); - if (this.pool.data!.runtime !== this.runtime.name) { this.logger.fatal( `Specified pool does not match the integration runtime! Exiting ...` @@ -23,8 +21,6 @@ export function isValidRuntime(this: Validator): boolean { return false; } - this.logger.info(`Validator running on runtime = ${this.runtime.name}`); - return true; } catch (err) { this.logger.fatal(`Error while validating runtime. Exiting ...`); diff --git a/common/protocol/src/methods/checks/isValidVersion.ts b/common/protocol/src/methods/checks/isValidVersion.ts index c2223351..cf5e1a94 100644 --- a/common/protocol/src/methods/checks/isValidVersion.ts +++ b/common/protocol/src/methods/checks/isValidVersion.ts @@ -11,10 +11,6 @@ import { valid, major, minor, patch, prerelease } from "semver"; */ export function isValidVersion(this: Validator): boolean { try { - this.logger.debug( - `Comparing remote runtime version with local runtime version` - ); - const remoteVersion = valid(this.pool.data!.protocol!.version); // exit if remote version is invalid @@ -87,10 +83,6 @@ export function isValidVersion(this: Validator): boolean { } // patch version can be different, continue in this case - this.logger.info( - `Validator running on valid runtime version = ${this.runtime.version}` - ); - return true; } catch (err) { this.logger.fatal(`Error while validating runtime version. Exiting ...`);