Skip to content

Initialize e2e tests#1

Draft
karen-sarkisyan wants to merge 3 commits intomasterfrom
initialize-e2e-tests
Draft

Initialize e2e tests#1
karen-sarkisyan wants to merge 3 commits intomasterfrom
initialize-e2e-tests

Conversation

@karen-sarkisyan
Copy link
Owner

@karen-sarkisyan karen-sarkisyan commented May 7, 2025

Important: This is a draft PR to show a somewhat working setup for e2e tests. I will rewrite it more or less entirely. It has only one actual test to check if setup process works.

Changes in Helios itself that were necessary:

  1. Don't hardcode seconds_per_slot value (12) for ethereum
  2. When finality update is not available, use optimistic update without panicking. Helios wouldn't sync otherwise for at least 2 epochs, i.e about 30 minutes
  3. Trust genesis block when checking finality proof
  4. Add --config-path CLI argument to pass a temporary config file with testnet's parameters

Also the setup is currently:

  • only for Ethereum
  • only in CLI mode, no WASM

Prerequisites

  1. Have docker running
  2. Installed Kurtosis CLI.

Running tests (only 1) to check if harness works

Use command

cargo test --package helios-e2e-tests ethereum::test_chain_id -- --nocapture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant