Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak sign order at TransactionProcessor #78

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yugure-orca
Copy link
Contributor

TransactionProcessor have been deprecated, but it is used in LiquidityTerminal.

Backpack can adjust priority fee setting, but it works for not signed transaction only because partially signed transaction is not rewritable (without signature breaking).

In TransactionProcessor, signing order is signers -> wallet. Signers includes keypair used to create temporary SOL account, etc. So I'm testing this tweak with X/SOL pool position.

Without this teak

Backpack cannot rewrite partially signed transaction.
screenshot 2024-03-21 9 56 32

With this tweak

Backpack cannot rewrite transaction.
screenshot 2024-03-21 9 57 21

@yugure-orca yugure-orca marked this pull request as draft March 21, 2024 02:10
@yugure-orca
Copy link
Contributor Author

hmm, I want to test by creating new position with LiquidityTerminal.
But unfortunately, now it doesn't work due to network congestion (maybe).

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