Skip to content

fix: normalize swap now chain options#308

Open
Bortlesboat wants to merge 1 commit intoentrius:testfrom
Bortlesboat:fix/swap-now-chain-case
Open

fix: normalize swap now chain options#308
Bortlesboat wants to merge 1 commit intoentrius:testfrom
Bortlesboat:fix/swap-now-chain-case

Conversation

@Bortlesboat
Copy link
Copy Markdown

Summary

  • normalize alw swap now --from/--to chain options before validation
  • add CLI coverage showing uppercase BTC / TAO reaches miner lookup instead of being rejected

Fixes #248

Testing

  • pytest tests/test_swap_now_cli.py tests/test_chains.py -q
  • ruff check allways/cli/swap_commands/swap.py tests/test_swap_now_cli.py
  • ruff format --check allways/cli/swap_commands/swap.py tests/test_swap_now_cli.py
  • git diff --check

@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI: alw swap now is case-sensitive on --from/--to chain IDs (inconsistent with quote and pair)

1 participant