From d945cad9176c2d8bf863cb810abf57e9d7abf352 Mon Sep 17 00:00:00 2001 From: Denver Date: Mon, 22 Nov 2021 12:45:16 +0900 Subject: [PATCH] Nonce must be 8 bytes by Ethereum spec --- test/formatters.outputBlockFormatter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/formatters.outputBlockFormatter.js b/test/formatters.outputBlockFormatter.js index 6915be277df..a9b1f9f820d 100644 --- a/test/formatters.outputBlockFormatter.js +++ b/test/formatters.outputBlockFormatter.js @@ -21,7 +21,7 @@ describe('formatters', function () { gasUsed: '0x3e8', timestamp: '0x3e8', extraData: '0xd6960376d6c6dea93647383ffb245cfced97ccc5c7525397a543a72fdaea5265', - nonce: '0xd6960376d6c6dea93647383ffb245cfced97ccc5c7525397a543a72fdaea5265', + nonce: '0x1fc0f46a3e5325fa', size: '0x3e8' }), { hash: '0xd6960376d6c6dea93647383ffb245cfced97ccc5c7525397a543a72fdaea5265', @@ -37,7 +37,7 @@ describe('formatters', function () { gasUsed: 1000, timestamp: 1000, extraData: '0xd6960376d6c6dea93647383ffb245cfced97ccc5c7525397a543a72fdaea5265', - nonce: '0xd6960376d6c6dea93647383ffb245cfced97ccc5c7525397a543a72fdaea5265', + nonce: '0x1fc0f46a3e5325fa', size: 1000 }); });