Skip to content

Fix leo test network execution - #29635

Open
DicksonWu654 wants to merge 1 commit into
ProvableHQ:masterfrom
DicksonWu654:fix/leo-test-network
Open

DicksonWu654 wants to merge 1 commit into
ProvableHQ:masterfrom
DicksonWu654:fix/leo-test-network

Conversation

@DicksonWu654

Copy link
Copy Markdown

Summary

  • Dispatch compiler test execution through the selected Aleo network instead of hardcoded Testnet types.
  • Keep the existing testnet runner APIs compatible while adding network-aware runners for CLI tests.
  • Adapt the deterministic development genesis data for mainnet and canary ledger runs.

Tests

  • cargo check -p leo-compiler
  • cargo test -p leo-compiler run::tests::evaluation_runner_uses_selected_network --lib -- --exact --nocapture
  • cargo test -p leo-compiler test_execution::execution_tests::execution_metadata_leo --lib -- --exact --nocapture

The full leo-lang check is unavailable in this environment because librocksdb-sys cannot find libclang. The workspace-wide stable cargo fmt check also reports existing formatting differences from unstable rustfmt settings; the edited files were formatted and checked with nightly rustfmt.

This branch has not been deployed

No deployments
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