Skip to content

Commit 51a14d7

Browse files
Merge branch 'main' into TOOL-467-workflows
2 parents b8db45f + 34976f4 commit 51a14d7

File tree

6 files changed

+460
-235
lines changed

6 files changed

+460
-235
lines changed

.github/workflows/check_with_mesh_cli.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
- name: Generate testdata (run)
5252
run: |
5353
python3 ./systemtests/generate_testdata_on_network.py run --network=testnet
54+
55+
# Allow the blocks that hold the sample transactions to become "final".
56+
sleep 30
5457
env:
5558
USERS_MNEMONIC: ${{ secrets.USERS_MNEMONIC }}
5659
SPONSOR_SECRET_KEY: ${{ secrets.SPONSOR_SECRET_KEY }}

.github/workflows/check_with_mesh_cli_on_localnet.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
- name: Generate testdata (run)
4646
run: |
4747
python3 ./systemtests/generate_testdata_on_network.py run --network localnet
48+
49+
# Allow the blocks that hold the sample transactions to become "final".
50+
sleep 30
4851
env:
4952
PYTHONPATH: .
5053

systemtests/config.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ class Configuration:
3030
memento_file: str = ""
3131
sponsor_secret_key: bytes = bytes.fromhex(os.environ.get("SPONSOR_SECRET_KEY", DEFAULT_SPONSOR_SECRET_KEY))
3232
users_mnemonic: str = os.environ.get("USERS_MNEMONIC", DEFAULT_USERS_MNEMONIC)
33-
num_users: int = 128
33+
num_users_per_shard: int = 16
34+
users_in_projected_shard: bool = False
3435
generate_relayed_v1: bool = False
3536
generate_relayed_v2: bool = False
3637
generate_relayed_v3: bool = False
@@ -66,14 +67,16 @@ class Configuration:
6667
proxy_url="https://devnet-gateway.multiversx.com",
6768
activation_epoch_sirius=629,
6869
activation_epoch_spica=2327,
69-
activation_epoch_relayed_v3=4294967295,
70+
activation_epoch_relayed_v3=2991,
7071
check_construction_native_configuration_file="systemtests/mesh_cli_config/devnet-construction-native.json",
7172
check_construction_custom_configuration_file="systemtests/mesh_cli_config/devnet-construction-custom.json",
7273
check_data_configuration_file="systemtests/mesh_cli_config/check-data.json",
7374
check_data_directory="systemtests/devnet-data",
7475
check_data_num_blocks=0,
7576
memento_file="systemtests/memento/devnet.json",
7677
view_url="https://devnet-explorer.multiversx.com/transactions/{hash}",
78+
users_in_projected_shard=True,
79+
generate_relayed_v3=True
7780
),
7881
"testnet": Configuration(
7982
network_id="T",

systemtests/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from pathlib import Path
22

3+
NUM_SHARDS = 3
34
PATH_REPOSITORY = Path(__file__).parent.parent
45
PATH_ROSETTA = PATH_REPOSITORY / "cmd" / "rosetta" / "rosetta"
56
PATH_PROXY_TO_OBSERVER_ADAPTER = PATH_REPOSITORY / "systemtests" / "proxyToObserverAdapter"

0 commit comments

Comments
 (0)