Skip to content

Commit a3f03c4

Browse files
committed
fixes
1 parent dd93074 commit a3f03c4

13 files changed

Lines changed: 48 additions & 39 deletions

File tree

packages/api-http/test/fixtures/node_configuration.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"tolerance": 100
2929
},
3030
"roundValidators": 0,
31+
"validatorRegistrationFee": "250000000000000000000",
3132
"vendorFieldLength": 255
3233
},
3334
"core": {

packages/configuration-generator/bin/update-test-genesis-blocks.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ const configurations = [
6464
initialHeight: 0,
6565
overwriteConfig: true,
6666
timeouts: {
67-
blockPrepareTime: 500,
68-
blockTime: 500,
69-
stageTimeout: 500,
70-
stageTimeoutIncrease: 500,
67+
blockPrepareTime: 2000,
68+
blockTime: 2000,
69+
stageTimeout: 2000,
70+
stageTimeoutIncrease: 2000,
7171
tolerance: 100,
7272
},
7373
postGenerate: (location) => {
@@ -153,10 +153,10 @@ const configurations = [
153153
overwriteConfig: true,
154154
mockFakeValidatorBlsKeys: true,
155155
timeouts: {
156-
blockPrepareTime: 500,
157-
blockTime: 500,
158-
stageTimeout: 500,
159-
stageTimeoutIncrease: 500,
156+
blockPrepareTime: 2000,
157+
blockTime: 2000,
158+
stageTimeout: 2000,
159+
stageTimeoutIncrease: 2000,
160160
tolerance: 100,
161161
},
162162
snapshot: {

packages/configuration-generator/source/generators/genesis-block.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ describe<{
4545
},
4646

4747
height: 0,
48-
4948
reward: "0",
49+
validatorRegistrationFee: "250",
5050
},
5151
],
5252
});
@@ -65,6 +65,7 @@ describe<{
6565
initialBlockNumber: 0,
6666
premine: "2000000000",
6767
validators: 53,
68+
validatorRegistrationFee: "250",
6869
} as Contracts.NetworkGenerator.InternalOptions),
6970
);
7071
});

packages/configuration-generator/source/generators/milestones.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ describe<{
2929
maxTxPerBlock: 100,
3030
validators: 53,
3131
vendorFieldLength: 255,
32+
validatorRegistrationFee: "250",
3233
})
3334
.generate(),
3435
[
@@ -61,6 +62,7 @@ describe<{
6162
stageTimeoutIncrease: 2000,
6263
tolerance: 100,
6364
},
65+
validatorRegistrationFee: "250",
6466
vendorFieldLength: 255,
6567
},
6668
{

packages/crypto-config/source/configuration.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ describe<{
4949
stageTimeoutIncrease: 2000,
5050
tolerance: 100,
5151
},
52+
validatorRegistrationFee: "250000000000000000000",
5253
vendorFieldLength: 255,
5354
},
5455
{
@@ -67,6 +68,7 @@ describe<{
6768
stageTimeoutIncrease: 2000,
6869
tolerance: 100,
6970
},
71+
validatorRegistrationFee: "250000000000000000000",
7072
vendorFieldLength: 255,
7173
},
7274
{
@@ -85,6 +87,7 @@ describe<{
8587
stageTimeoutIncrease: 2000,
8688
tolerance: 100,
8789
},
90+
validatorRegistrationFee: "250000000000000000000",
8891
vendorFieldLength: 255,
8992
},
9093
]);

packages/test-framework/source/app/sandbox.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ describe("Sandbox", ({ it, assert, spyFn }) => {
4040
symbol: "DѦ",
4141
token: "DARK",
4242
validators: 53,
43+
validatorRegistrationFee: "0",
4344
wif: 186,
4445
};
4546

packages/test-framework/source/app/sandbox.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export class Sandbox {
3131
symbol: "UѦ",
3232
token: "UARK",
3333
validators: 53,
34+
validatorRegistrationFee: "0",
3435
wif: 186,
3536
};
3637

tests/e2e/consensus/nodes/api-node/core/crypto.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@
291291
"denomination": 1000000000000000000
292292
},
293293
"timeouts": {
294-
"blockPrepareTime": 500,
295-
"blockTime": 500,
296-
"stageTimeout": 500,
297-
"stageTimeoutIncrease": 500,
294+
"blockPrepareTime": 2000,
295+
"blockTime": 2000,
296+
"stageTimeout": 2000,
297+
"stageTimeoutIncrease": 2000,
298298
"tolerance": 100
299299
},
300300
"validatorRegistrationFee": "250000000000000000000",
@@ -322,4 +322,4 @@
322322
"slip44": 1,
323323
"wif": 186
324324
}
325-
}
325+
}

tests/e2e/consensus/nodes/node0/core/crypto.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@
291291
"denomination": 1000000000000000000
292292
},
293293
"timeouts": {
294-
"blockPrepareTime": 500,
295-
"blockTime": 500,
296-
"stageTimeout": 500,
297-
"stageTimeoutIncrease": 500,
294+
"blockPrepareTime": 2000,
295+
"blockTime": 2000,
296+
"stageTimeout": 2000,
297+
"stageTimeoutIncrease": 2000,
298298
"tolerance": 100
299299
},
300300
"validatorRegistrationFee": "250000000000000000000",
@@ -322,4 +322,4 @@
322322
"slip44": 1,
323323
"wif": 186
324324
}
325-
}
325+
}

tests/e2e/consensus/nodes/node1/core/crypto.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@
291291
"denomination": 1000000000000000000
292292
},
293293
"timeouts": {
294-
"blockPrepareTime": 500,
295-
"blockTime": 500,
296-
"stageTimeout": 500,
297-
"stageTimeoutIncrease": 500,
294+
"blockPrepareTime": 2000,
295+
"blockTime": 2000,
296+
"stageTimeout": 2000,
297+
"stageTimeoutIncrease": 2000,
298298
"tolerance": 100
299299
},
300300
"validatorRegistrationFee": "250000000000000000000",
@@ -322,4 +322,4 @@
322322
"slip44": 1,
323323
"wif": 186
324324
}
325-
}
325+
}

0 commit comments

Comments
 (0)