Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
00f753da
Commit
00f753da
authored
5 years ago
by
Cédric Moreau
Committed by
Éloïs
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[fix] rebasing: BLOCK_GENERATED_VERSION has been renamed since
parent
4f91525f
No related branches found
No related tags found
1 merge request
!1283
Resolve "Duniter uses a buggy version of TweetNaCl"
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/integration/fork-resolution/block-with-comebacker-revert.ts
+3
-3
3 additions, 3 deletions
...tegration/fork-resolution/block-with-comebacker-revert.ts
with
3 additions
and
3 deletions
test/integration/fork-resolution/block-with-comebacker-revert.ts
+
3
−
3
View file @
00f753da
...
@@ -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_GENE
RATED
_VERSION
const
currentVersion
=
CommonConstants
.
BLOCK_GENE
SIS
_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_GENE
RATED
_VERSION
=
11
CommonConstants
.
BLOCK_GENE
SIS
_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_GENE
RATED
_VERSION
=
currentVersion
CommonConstants
.
BLOCK_GENE
SIS
_VERSION
=
currentVersion
})
})
}))
}))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment