• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-cli / 28366111867

29 Jun 2026 10:39AM UTC coverage: 89.07% (-0.5%) from 89.545%
28366111867

push

github

web-flow
Fix correctness bugs and clean up dead code across CLI (#638)

Found during a full-codebase review. Main fixes:

- tx-builder decoder: preserve tuple-array suffix (tuple[], tuple[N]) so the
  selector and ABI encoding match; require 0x prefix for hex ints; clear errors
  for missing/null contract input values; coerce tx value to int
- tx-service operator: return after "owner not loaded" guards to avoid a
  None-deref crash and posting empty signatures
- safe_operator: harden no-arg exception handling, make change_*/update_version*
  always return bool, reject threshold < 1, fix cached nonce with custom
  --safe-nonce, clearer empty-seed error
- main: respect empty SAFE_CLI_INTERACTIVE, route lowercase addresses to
  attended mode
- prompt_parser: use shlex.split so quoted args parse correctly
- ledger: fix exception-message match for USB write errors
- hd wallet: stop overriding a custom hd_path when index is set
- lexer/completer: fix address/tx-hash regex, fix argument coloring, drop dead
  entries

35 of 57 new or added lines in 9 files covered. (61.4%)

3007 of 3376 relevant lines covered (89.07%)

3.55 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

98.63
/src/safe_cli/tx_builder/tx_builder_file_decoder.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc