Skip to content

breaking(tx-handler): drop custom solana patches and rpc proxy checks#132

Merged
leafaar merged 2 commits intomainfrom
temp-remove-patches
Feb 16, 2026
Merged

breaking(tx-handler): drop custom solana patches and rpc proxy checks#132
leafaar merged 2 commits intomainfrom
temp-remove-patches

Conversation

@leafaar
Copy link
Contributor

@leafaar leafaar commented Feb 12, 2026

  • remove sanitizeTransaction proxy (proxy_sanitize_check, skip_sanitize)
  • remove proxy_preflight_check
  • reject txns with skip_preflight: false
  • simplify TransactionHandler by dropping RpcClient dependency
  • reserve proto field 2 (skip_sanitize) in TransactionConfig

remove `sanitizeTransaction` proxy (`proxy_sanitize_check`, `skip_sanitize`)
remove `proxy_preflight_check`, reject txns with `skip_preflight: false`
simplify `TransactionHandler` by dropping `RpcClient` dependency
reserve proto field 2 (`skip_sanitize`) in `TransactionConfig`
Copy link
Collaborator

@lvboudre lvboudre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT: to prevent breaking you could replace the configuration field with Option insteand keep the deny_unknown_field and just ignore whatever people sets it to.
You can also easily detect if someone is trying to set those and print a warning log.

@leafaar leafaar force-pushed the temp-remove-patches branch from 353c307 to bd19327 Compare February 16, 2026 12:58
@leafaar leafaar added this pull request to the merge queue Feb 16, 2026
Merged via the queue into main with commit 289b2a1 Feb 16, 2026
1 check passed
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