-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soroban-rpc: Calculate soroban transaction data in libpreflight (#636)
* Create Skeletton to calculate soroban transaction data in libpreflight * Calculate transaction data a minimum fee in libpreflight * Calculate transaction data a minimum fee in libpreflight * Make integration tests compilable again * Assume missing entries from ledger storage are created * Update simulate transaction integration tests * Add TODOs for the integration tests to pass * Make events global * Address review feedback * Add TODO about taking into account the Auth size * Add a few more TODOs and debug info * First attempt and preflighting all transactions * Always take into account keys when computing unmodified ledgers * Come up with the minimum fee to add in order to make it work * Fix transaction_resources computation * Remove debug printout * Increase instruction leeway * Fix the rest of the simulate transaction test * Fix remaining intgeration tests * Address review feedback * Tweak the instruction estimation further * Address review feedback * Fix tests again * Obtain auth data per function * Take auth data into account for estimating envelope size * Split up libpreflight in multiple modules and improve the storage code * Fix TODO * Remove another TODO * Remove yet another TODO * Appease clippy * update * update core version * make sure to test multiple host functions invocations. --------- Co-authored-by: Tsachi Herman <[email protected]>
- Loading branch information
1 parent
92867f3
commit 8c2b067
Showing
15 changed files
with
647 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.