Skip to content

chore: remove unreachable no-metadata fallback paths#223

Merged
lcovar merged 1 commit intomasterfrom
BTC-3062/remove-no-metadata-fallback
Mar 20, 2026
Merged

chore: remove unreachable no-metadata fallback paths#223
lcovar merged 1 commit intomasterfrom
BTC-3062/remove-no-metadata-fallback

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Mar 19, 2026

Summary

  • Remove resolve_call_hardcoded() static pallet/method index mapping
  • Remove hardcoded era + nonce + tip fallback in parse_signed_extensions()
  • Remove hardcoded proxy type fallback in resolve_proxy_type()
  • All paths now require metadata, returning errors instead of silently producing wrong results

Material is required at the TypeScript level (PR #219), making these Rust fallback paths unreachable dead code.

BTC-3062

Material is required at the TypeScript level (PR #219), making
the Rust no-metadata fallback code unreachable dead code.

BTC-3062
@lcovar lcovar requested a review from a team as a code owner March 19, 2026 22:25
@lcovar lcovar merged commit 0feb0c2 into master Mar 20, 2026
13 checks passed
@lcovar lcovar deleted the BTC-3062/remove-no-metadata-fallback branch March 20, 2026 00:29
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.

2 participants