Skip to content
Snippets Groups Projects
Commit 00f753da authored by Cédric Moreau's avatar Cédric Moreau Committed by Éloïs
Browse files

[fix] rebasing: BLOCK_GENERATED_VERSION has been renamed since

parent 4f91525f
No related branches found
No related tags found
1 merge request!1283Resolve "Duniter uses a buggy version of TweetNaCl"
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
import {assertEqual, writeBasicTestWithConfAnd2Users} from "../tools/test-framework" import {assertEqual, writeBasicTestWithConfAnd2Users} from "../tools/test-framework"
import {CommonConstants} from "../../../app/lib/common-libs/constants" import {CommonConstants} from "../../../app/lib/common-libs/constants"
const currentVersion = CommonConstants.BLOCK_GENERATED_VERSION const currentVersion = CommonConstants.BLOCK_GENESIS_VERSION
describe('Block revert with a comebacker in it', () => writeBasicTestWithConfAnd2Users({ describe('Block revert with a comebacker in it', () => writeBasicTestWithConfAnd2Users({
sigQty: 2, sigQty: 2,
...@@ -28,7 +28,7 @@ describe('Block revert with a comebacker in it', () => writeBasicTestWithConfAnd ...@@ -28,7 +28,7 @@ describe('Block revert with a comebacker in it', () => writeBasicTestWithConfAnd
const now = 1500000000 const now = 1500000000
test('(t = 0) should init with a 4 members WoT with bidirectionnal certs', async (s1, cat, tac, toc) => { test('(t = 0) should init with a 4 members WoT with bidirectionnal certs', async (s1, cat, tac, toc) => {
CommonConstants.BLOCK_GENERATED_VERSION = 11 CommonConstants.BLOCK_GENESIS_VERSION = 11
await cat.createIdentity() await cat.createIdentity()
await tac.createIdentity() await tac.createIdentity()
await toc.createIdentity() await toc.createIdentity()
...@@ -111,7 +111,7 @@ describe('Block revert with a comebacker in it', () => writeBasicTestWithConfAnd ...@@ -111,7 +111,7 @@ describe('Block revert with a comebacker in it', () => writeBasicTestWithConfAnd
}) })
after(() => { after(() => {
CommonConstants.BLOCK_GENERATED_VERSION = currentVersion CommonConstants.BLOCK_GENESIS_VERSION = currentVersion
}) })
})) }))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment