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

Add fee support #632

Merged
merged 12 commits into from
May 17, 2023
Merged

Add fee support #632

merged 12 commits into from
May 17, 2023

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented May 4, 2023

What

Add support for fee upstream feature

Why

#519

Known limitations

N/A

2opremio and others added 4 commits May 5, 2023 13:12
* 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]>
2opremio and others added 2 commits May 16, 2023 10:51
* 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]>
@tsachiherman tsachiherman marked this pull request as ready for review May 16, 2023 14:52
@tsachiherman tsachiherman merged commit 5fd1294 into main May 17, 2023
@tsachiherman tsachiherman deleted the fees branch May 17, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants