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

soroban-rpc: update xdr #627

Merged
merged 5 commits into from
May 4, 2023
Merged

soroban-rpc: update xdr #627

merged 5 commits into from
May 4, 2023

Conversation

tsachiherman
Copy link
Contributor

@tsachiherman tsachiherman commented May 4, 2023

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

@tsachiherman tsachiherman self-assigned this May 4, 2023
@tsachiherman tsachiherman changed the base branch from main to fees May 4, 2023 16:25
@tsachiherman tsachiherman merged commit 0a747d2 into fees May 4, 2023
@tsachiherman tsachiherman deleted the tsachi/updatefeedep branch May 4, 2023 16:26
@tsachiherman tsachiherman restored the tsachi/updatefeedep branch May 16, 2023 16:02
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]>
@tsachiherman tsachiherman deleted the tsachi/updatefeedep branch June 14, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants