-
Notifications
You must be signed in to change notification settings - Fork 19
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
#365 remove prflight check #411
Conversation
…combine_solana_rcp_requests
* impl * fix emulate call * set temporary evm_loader branch * fix last commit * temporary commit: set evm_loader version * fix emulate * Revert "temporary commit: set evm_loader version" This reverts commit 2383212. * Revert "fix last commit" This reverts commit c51e198. * Revert "set temporary evm_loader branch" This reverts commit 5bb8c77.
…o 365_remove_prflight_check
try_one_step = False | ||
found_errors = False | ||
|
||
logger.debug(f"Send bucked combined: {self.instruction_type}") |
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.
Did you mean 'bucket'?
@@ -131,13 +130,10 @@ def _getAccountData(self, account, expected_length, owner=None): | |||
def send_transaction(self, trx, eth_trx, reason=None): | |||
for _i in range(RETRY_ON_FAIL): | |||
reciept = self.send_transaction_unconfirmed(trx) |
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.
Why don't we catch exception here? send_transaction_unconfirmed still can throw error
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.
We only caught "could not confirm transaction" exception which is removed.
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.
If send_transaction_unconfirmed throws so be it.
New
RETRY_ON_BLOCKED
variable defining count of retries on blocked accounts. Inenvironment.py
it is set to a minimum of 1.Removed
RuntimeError
fromconfirm_multiple_transactions
.collect_results
andcollect_result
now return response["result"]. And all corresponding changes by removing ['result']Write sent by packs of 20.
CombinedContinue sent by 16.
Iterative execution performed By trying to send bucked. If got error of blocked or steps exceeded - retry until success and than go back to bucked send. If there were no errors or result retry bucked.
If got error and no succec transactions sent just return error. If were success trxs try cancel.