Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Makefile.devnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
.PHONY: devnet-download-binaries
.PHONY: devnet-evmigration-sync-bin devnet-evmigration-prepare devnet-evmigration-estimate devnet-evmigration-migrate devnet-evmigration-migrate-validator devnet-evmigration-cleanup
.PHONY: devnet-evmigrationp-prepare devnet-evmigrationp-estimate devnet-evmigrationp-migrate devnet-evmigrationp-migrate-validator devnet-evmigrationp-migrate-all devnet-evmigrationp-cleanup
.PHONY: devnet-tests-everlight devnet-new-no-hermes
.PHONY: devnet-tests-everlight devnet-tests-lep6 devnet-new-no-hermes

##### Devnet Makefile ########################################
#
Expand Down Expand Up @@ -81,7 +81,7 @@ DEFAULT_GENESIS_FILE := devnet/default-config/devnet-genesis.json
DEFAULT_GENESIS_EVM_FILE := devnet/default-config/devnet-genesis-evm.json
DEFAULT_CLAIMS_FILE := devnet/default-config/claims.csv
ORIG_GENESIS_FILE := devnet/default-config/devnet-genesis-orig.json
EVM_CUTOVER_VERSION ?= v1.20.0
EVM_CUTOVER_VERSION ?= v1.12.0
DEVNET_UPGRADE_RELEASE ?= auto

devnet-tests-build:
Expand Down Expand Up @@ -822,6 +822,12 @@ devnet-tests-everlight:
@echo "Running Everlight devnet tests..."
@bash devnet/tests/everlight/everlight_test.sh

devnet-tests-lep6:
@echo "Running LEP-6 storage-truth devnet tests..."
@COMPOSE_FILE="$${COMPOSE_FILE:-devnet/docker-compose.yml}" \
CHAIN_ID="$${CHAIN_ID:-lumera-devnet-1}" \
bash devnet/tests/lep6/lep6_test.sh

devnet-new-no-hermes:
$(MAKE) devnet-down
$(MAKE) devnet-clean
Expand Down
48 changes: 44 additions & 4 deletions devnet/default-config/devnet-genesis-evm.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
},
"audit": {
"params": {
"epoch_length_blocks": "400",
"epoch_length_blocks": "20",
"epoch_zero_height": "1",
"peer_quorum_reports": 3,
"min_probe_targets_per_epoch": 3,
"max_probe_targets_per_epoch": 5,
"required_open_ports": [4444, 4445, 8002],
"required_open_ports": [
4444,
4445,
8002
],
"min_cpu_free_percent": 0,
"min_mem_free_percent": 0,
"min_disk_free_percent": 0,
"consecutive_epochs_to_postpone": 1,
"keep_last_epoch_entries": "200",
"peer_port_postpone_threshold_percent": 100,
Expand All @@ -46,7 +53,39 @@
"action_finalization_not_in_top10_consecutive_epochs": 1,
"action_finalization_recovery_epochs": 1,
"action_finalization_recovery_max_total_bad_evidences": 1,
"sc_enabled": true
"sc_enabled": true,
"sc_challengers_per_epoch": 0,
"storage_truth_recent_bucket_max_blocks": "60",
"storage_truth_old_bucket_min_blocks": "600",
"storage_truth_challenge_target_divisor": 1,
"storage_truth_compound_ranges_per_artifact": 4,
"storage_truth_compound_range_len_bytes": 256,
"storage_truth_max_self_heal_ops_per_epoch": 5,
"storage_truth_probation_epochs": 3,
"storage_truth_node_suspicion_decay_per_epoch": "920",
"storage_truth_reporter_reliability_decay_per_epoch": "900",
"storage_truth_ticket_deterioration_decay_per_epoch": "900",
"storage_truth_node_suspicion_threshold_watch": "20",
"storage_truth_node_suspicion_threshold_probation": "50",
"storage_truth_node_suspicion_threshold_postpone": "90",
"storage_truth_reporter_reliability_low_trust_threshold": "20",
"storage_truth_reporter_reliability_ineligible_threshold": "90",
"storage_truth_ticket_deterioration_heal_threshold": "8",
"storage_truth_enforcement_mode": "STORAGE_TRUTH_ENFORCEMENT_MODE_SHADOW",
"storage_truth_reporter_reliability_degraded_threshold": "50",
"storage_truth_pattern_escalation_window": 14,
"storage_truth_divergence_window_epochs": 14,
"storage_truth_reporter_min_reports_for_divergence": 5,
"storage_truth_node_suspicion_threshold_strong_postpone": "140",
"storage_truth_recovery_clean_pass_count": 3,
"storage_truth_class_a_fault_window": 14,
"storage_truth_class_b_fault_window": 7,
"storage_truth_heal_deadline_epochs": 3,
"storage_truth_old_class_a_fault_window": 21,
"storage_truth_contradiction_window_epochs": 7,
"storage_truth_reporter_ineligible_duration_epochs": 7,
"storage_truth_strong_recovery_clean_pass_count": 5,
"storage_truth_heal_verifier_count": 2
},
"evidence": [],
"next_evidence_id": "1"
Expand Down Expand Up @@ -244,7 +283,8 @@
"params": {
"enable_migration": true,
"max_migrations_per_block": "50",
"max_validator_delegations": "2000"
"max_validator_delegations": "2000",
"max_multisig_sub_keys": 20
},
"migration_records": [],
"total_migrated": "0",
Expand Down
7 changes: 4 additions & 3 deletions devnet/default-config/devnet-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"sc_challengers_per_epoch": 0,
"storage_truth_recent_bucket_max_blocks": "60",
"storage_truth_old_bucket_min_blocks": "600",
"storage_truth_challenge_target_divisor": 3,
"storage_truth_challenge_target_divisor": 1,
"storage_truth_compound_ranges_per_artifact": 4,
"storage_truth_compound_range_len_bytes": 256,
"storage_truth_max_self_heal_ops_per_epoch": 5,
Expand All @@ -70,7 +70,7 @@
"storage_truth_node_suspicion_threshold_postpone": "90",
"storage_truth_reporter_reliability_low_trust_threshold": "20",
"storage_truth_reporter_reliability_ineligible_threshold": "90",
"storage_truth_ticket_deterioration_heal_threshold": "50",
"storage_truth_ticket_deterioration_heal_threshold": "8",
"storage_truth_enforcement_mode": "STORAGE_TRUTH_ENFORCEMENT_MODE_SHADOW",
"storage_truth_reporter_reliability_degraded_threshold": "50",
"storage_truth_pattern_escalation_window": 14,
Expand Down Expand Up @@ -250,7 +250,8 @@
"params": {
"enable_migration": true,
"max_migrations_per_block": "50",
"max_validator_delegations": "2000"
"max_validator_delegations": "2000",
"max_multisig_sub_keys": 20
},
"migration_records": [],
"total_migrated": "0",
Expand Down
Loading
Loading