-
Notifications
You must be signed in to change notification settings - Fork 72
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
soroban-rpc: update xdr #627
Merged
Merged
Conversation
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
2opremio
reviewed
May 4, 2023
This was referenced May 4, 2023
2opremio
approved these changes
May 4, 2023
tsachiherman
added a commit
that referenced
this pull request
May 17, 2023
* Bump Rust dependencies to support fees (#625) * soroban-rpc: update xdr (#627) update * soroban-rpc: Bump core dependencies supporting fees (#634) * fees: Bump stellar/go dependency (#637) * Bump Rust dependencies to their latest version (#635) * port: merge soroban cli inspect from main (#639) * Try new docker compose plugin (#631) * Try new docker compose plugin * Ok we need to add the docker apt repo :( * Need an apt-get update * Force-install docker-compose * Remove old docker-compose first? * try removing moby-compose * Clean up workflow * Add meta output to soroban-cli contract inspect output (#620) * Add env_meta output to soroban-cli contract inspect output * Output contract meta and improve contract inspect formatting * Indent the docs to match * rustfmt * Improve function inspect output * improving the inspect output formatting * handle lib in inspect output * Satiate clippy --------- Co-authored-by: Tsachi Herman <[email protected]> --------- Co-authored-by: Paul Bellamy <[email protected]> * 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]> * try to replace the dns servers to avoid stale addresses. * rollback dns change * Add handling for invalid toml file support in ConfigOption.setValue * #519: fixed issue with file path configs being lost after re loading cli/env flags, ordering of config value application was modified to default->env/cli->file path. --------- Co-authored-by: Tsachi Herman <[email protected]> Co-authored-by: Paul Bellamy <[email protected]> Co-authored-by: Shawn Reuland <[email protected]>
paulbellamy
pushed a commit
that referenced
this pull request
May 22, 2023
* Bump Rust dependencies to support fees (#625) * soroban-rpc: update xdr (#627) update * soroban-rpc: Bump core dependencies supporting fees (#634) * fees: Bump stellar/go dependency (#637) * Bump Rust dependencies to their latest version (#635) * port: merge soroban cli inspect from main (#639) * Try new docker compose plugin (#631) * Try new docker compose plugin * Ok we need to add the docker apt repo :( * Need an apt-get update * Force-install docker-compose * Remove old docker-compose first? * try removing moby-compose * Clean up workflow * Add meta output to soroban-cli contract inspect output (#620) * Add env_meta output to soroban-cli contract inspect output * Output contract meta and improve contract inspect formatting * Indent the docs to match * rustfmt * Improve function inspect output * improving the inspect output formatting * handle lib in inspect output * Satiate clippy --------- Co-authored-by: Tsachi Herman <[email protected]> --------- Co-authored-by: Paul Bellamy <[email protected]> * 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]> * try to replace the dns servers to avoid stale addresses. * rollback dns change * Add handling for invalid toml file support in ConfigOption.setValue * update * appease cargo fmt * update * update * Add rpc::server.get_network * Add rpc::server.prepare_transaction * get prepare_transaction stuff compiling * use prepare_transaction and simplify * Add and use client.prepare_and_send_transaction * appease cargo fmt * update fix compilation. * Improve output for failed txn submission * Add missing field from getLedgerEntries response * Add transaction::assemble unit tests based on js-soroban-client * Clean up some leftover printlns * We don't need to manually set transaction_data, it can come from the simulation --------- Co-authored-by: Alfonso Acosta <[email protected]> Co-authored-by: Paul Bellamy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Update the go monorepo dependency
Why
Updating the go monorepo dependency also brings the XDR library updates.
Known limitations
This PR just handles proper complication of the code following the massive XDR changes.
Epic
#519