Skip to content

Commit dc60c0b

Browse files
authored
Merge pull request #401 from VaultaFoundation/kayan_2.0_to_main_instantIF
[2.0->main] use instant finality in integration tests
2 parents 144f9f9 + 1d45d56 commit dc60c0b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[submodule "external/silkworm"]
22
path = external/silkworm
3-
url = https://github.com/eosnetworkfoundation/silkworm
3+
url = https://github.com/VaultaFoundation/silkworm
44
[submodule "external/appbase"]
55
path = external/appbase
66
url = https://github.com/AntelopeIO/appbase

tests/nodeos_evm_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118

119119
Print("Stand up cluster")
120120
if cluster.launch(topo="bridge", pnodes=totalProducerNodes,
121-
totalNodes=totalNodes, totalProducers=totalProducers,
121+
totalNodes=totalNodes, totalProducers=totalProducers,activateIF=True,
122122
extraNodeosArgs=extraNodeosArgs, specificExtraNodeosArgs=specificExtraNodeosArgs) is False:
123123
Utils.cmdError("launcher")
124124
Utils.errorExit("Failed to stand up eos cluster.")

tests/nodeos_evm_ws_test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def makeReservedEvmAddress(account):
228228
extraNodeosArgs="--contracts-console"
229229

230230
Print("Stand up cluster")
231-
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, extraNodeosArgs=extraNodeosArgs, specificExtraNodeosArgs=specificExtraNodeosArgs, delay=5) is False:
231+
if cluster.launch(pnodes=pnodes, totalNodes=total_nodes, extraNodeosArgs=extraNodeosArgs, specificExtraNodeosArgs=specificExtraNodeosArgs, activateIF=True, delay=5) is False:
232232
errorExit("Failed to stand up eos cluster.")
233233

234234
Print ("Wait for Cluster stabilization")

tests/nodeos_evm_ws_test_fork.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,10 @@ def makeReservedEvmAddress(account):
320320

321321
specificExtraNodeosArgs[2]="--plugin eosio::test_control_api_plugin"
322322

323-
extraNodeosArgs="--contracts-console"
323+
extraNodeosArgs="--contracts-console --production-pause-vote-timeout-ms 0"
324324

325325
Print("Stand up cluster")
326-
if cluster.launch(prodCount=2, pnodes=2, topo="bridge", totalNodes=3, extraNodeosArgs=extraNodeosArgs, totalProducers=3, specificExtraNodeosArgs=specificExtraNodeosArgs,delay=5) is False:
326+
if cluster.launch(prodCount=2, pnodes=2, topo="bridge", totalNodes=3, extraNodeosArgs=extraNodeosArgs, totalProducers=3, specificExtraNodeosArgs=specificExtraNodeosArgs,activateIF=True,delay=5) is False:
327327
errorExit("Failed to stand up eos cluster.")
328328

329329
Print ("Wait for Cluster stabilization")

0 commit comments

Comments
 (0)