From 47b4992e5efd3dc982facdb8a8e5d3445932a2b8 Mon Sep 17 00:00:00 2001 From: Dastan Date: Tue, 8 Jun 2021 12:00:14 +0300 Subject: [PATCH] Remove logs --- .github/workflows/scripts/get-latest-header.sh | 2 +- assembly/frame/executive.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/scripts/get-latest-header.sh b/.github/workflows/scripts/get-latest-header.sh index 123fc2b..b782311 100644 --- a/.github/workflows/scripts/get-latest-header.sh +++ b/.github/workflows/scripts/get-latest-header.sh @@ -3,7 +3,7 @@ curl --location --request POST 'localhost:9933' \ --header 'Content-Type: application/json' \ --data-raw '{ "jsonrpc": "2.0", - "method": "chain_getFinalizedHead", + "method": "chain_getHeader", "params": [], "id": 1 }' \ No newline at end of file diff --git a/assembly/frame/executive.ts b/assembly/frame/executive.ts index bbe470f..bec2e71 100644 --- a/assembly/frame/executive.ts +++ b/assembly/frame/executive.ts @@ -147,8 +147,6 @@ export namespace Executive { const transactionVersion = RuntimeConfig.runtimeVersion().transactionVersion; const payload = utx.createPayload(blockHash, genesisHash, specVersion, transactionVersion); - Log.info("payload: " + Utils.toHexString(payload)); - if (!Crypto.verifySignature(extSignature.signature, payload, from, SignatureTypes.sr25519)) { Log.error("Validation error: Invalid signature"); return ResponseCodes.INVALID_SIGNATURE;