-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add skip_preflight setting for solana rpc #949
Conversation
by default we skip_preflight checks, but we get better errors if we can fail in a preflight
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so to confirm, the skip_preflight setting will be configured with a value of false and thus the preflight checks will be performed?
And isnt 'false' the default value on the sendTransaction API if not specified ?
Good question, I was unclear in my description (has been updated). The lastest update from helium-lib changes the Txn type to a In short, Solana's default is perform preflight checks. Oracle's default was to skip. |
This reverts commit 22d0393.
* Revert "update helium-lib to correctly calculate epoch info key (#950)" This reverts commit 59e3a88. * Revert "Add skip_preflight setting for solana rpc (#949)" This reverts commit 22d0393. * Revert "Do not log RPC url (#948)" This reverts commit 66bf4c1. * Revert "Min Priority Fee Setting (#947)" This reverts commit 72fe9b4. * Revert "use the correct subdao when finding delegate and escrow accounts (#946)" This reverts commit 41e48fb. * Revert "update helium-lib to take router_key as a string (#943)" This reverts commit fc57aaa. * Revert "read solana keypair, convert to helium keypair (#942)" This reverts commit 6e7b65b. * Revert "Helium Lib attempt: 2 (#930)" This reverts commit dfa2c08.
* Revert "update helium-lib to correctly calculate epoch info key (#950)" This reverts commit 59e3a88. * Revert "Add skip_preflight setting for solana rpc (#949)" This reverts commit 22d0393. * Revert "Do not log RPC url (#948)" This reverts commit 66bf4c1. * Revert "Min Priority Fee Setting (#947)" This reverts commit 72fe9b4. * Revert "use the correct subdao when finding delegate and escrow accounts (#946)" This reverts commit 41e48fb. * Revert "update helium-lib to take router_key as a string (#943)" This reverts commit fc57aaa. * Revert "read solana keypair, convert to helium keypair (#942)" This reverts commit 6e7b65b. * Revert "Helium Lib attempt: 2 (#930)" This reverts commit dfa2c08.
* Revert "update helium-lib to correctly calculate epoch info key (#950)" This reverts commit 59e3a88. * Revert "Add skip_preflight setting for solana rpc (#949)" This reverts commit 22d0393. * Revert "Do not log RPC url (#948)" This reverts commit 66bf4c1. * Revert "Min Priority Fee Setting (#947)" This reverts commit 72fe9b4. * Revert "use the correct subdao when finding delegate and escrow accounts (#946)" This reverts commit 41e48fb. * Revert "update helium-lib to take router_key as a string (#943)" This reverts commit fc57aaa. * Revert "read solana keypair, convert to helium keypair (#942)" This reverts commit 6e7b65b. * Revert "Helium Lib attempt: 2 (#930)" This reverts commit dfa2c08.
* Revert "update helium-lib to correctly calculate epoch info key (#950)" This reverts commit 59e3a88. * Revert "Add skip_preflight setting for solana rpc (#949)" This reverts commit 22d0393. * Revert "Do not log RPC url (#948)" This reverts commit 66bf4c1. * Revert "Min Priority Fee Setting (#947)" This reverts commit 72fe9b4. * Revert "use the correct subdao when finding delegate and escrow accounts (#946)" This reverts commit 41e48fb. * Revert "update helium-lib to take router_key as a string (#943)" This reverts commit fc57aaa. * Revert "read solana keypair, convert to helium keypair (#942)" This reverts commit 6e7b65b. * Revert "Helium Lib attempt: 2 (#930)" This reverts commit dfa2c08.
In Oracle's we have historically had
skip_preflight: true
for all txns.There have been updates to helium-lib that we cannot debug if preflight checks are skipped.
This PR turns it into a setting, so it can toggle when we need better errors.