diff --git a/test/integration/tools/commit.js b/test/integration/tools/commit.js index fdd9e57349168f6189ca5cf96b484328b0ead0aa..95aa8f25a6a56d30039e24677db23e669a4ffa85 100644 --- a/test/integration/tools/commit.js +++ b/test/integration/tools/commit.js @@ -13,16 +13,12 @@ module.exports = function makeBlockAndPost(theServer, extraProps) { manualValues = _.extend(manualValues, extraProps); } return co(function *() { - logger.warn('!utProver?', !theServer._utProver) if (!theServer._utProver) { theServer._utProver = new BlockProver(theServer) theServer._utGenerator = require('../../../app/modules/prover').ProverDependency.duniter.methods.blockGenerator(theServer, theServer._utProver) } - logger.warn('proving...') let proven = yield theServer._utGenerator.makeNextBlock(null, null, manualValues) - logger.warn('proven:', proven) const block = yield postBlock(theServer)(proven); - logger.warn('posted:', block) return block }); }; diff --git a/test/integration/tools/toolbox.ts b/test/integration/tools/toolbox.ts index 46c56985a053305d8a3ff2d9517e8b8f48b2c86f..1faa3b0bf73a86f3deb875d320f20b7e67f58e80 100644 --- a/test/integration/tools/toolbox.ts +++ b/test/integration/tools/toolbox.ts @@ -357,9 +357,7 @@ export class TestingServer { async commit(options:any = null) { - logger.warn('committing...') const raw = await commit(this.server)(options); - logger.warn('raw!', raw) return JSON.parse(raw); }