alchemyplatform / rundler

An ERC-4337 Bundler in Rust
GNU Lesser General Public License v3.0
289 stars 43 forks source link

feat(gas): configure base fee overhead percent #875

Closed dancoombs closed 1 month ago

dancoombs commented 1 month ago

Closes: #873

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 15.78947% with 16 lines in your changes missing coverage. Please review.

Project coverage is 57.77%. Comparing base (1a5c213) to head (7ffb27d). Report is 1 commits behind head on feat/v0.4.

Files with missing lines Patch % Lines
crates/sim/src/gas/gas.rs 0.00% 7 Missing :warning:
crates/pool/src/task.rs 0.00% 3 Missing :warning:
bin/rundler/src/cli/mod.rs 0.00% 2 Missing :warning:
crates/builder/src/task.rs 0.00% 2 Missing :warning:
bin/rundler/src/cli/builder.rs 0.00% 1 Missing :warning:
crates/rpc/src/task.rs 0.00% 1 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/graphs/tree.svg?width=650&height=150&src=pr&token=FQKCPQJU2X&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform)](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | [Files with missing lines](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | Coverage Δ | | |---|---|---| | [crates/builder/src/bundle\_proposer.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?src=pr&el=tree&filepath=crates%2Fbuilder%2Fsrc%2Fbundle_proposer.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL2J1aWxkZXIvc3JjL2J1bmRsZV9wcm9wb3Nlci5ycw==) | `87.83% <100.00%> (+<0.01%)` | :arrow_up: | | [crates/sim/src/precheck.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?src=pr&el=tree&filepath=crates%2Fsim%2Fsrc%2Fprecheck.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3NpbS9zcmMvcHJlY2hlY2sucnM=) | `76.76% <100.00%> (+0.08%)` | :arrow_up: | | [bin/rundler/src/cli/builder.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?src=pr&el=tree&filepath=bin%2Frundler%2Fsrc%2Fcli%2Fbuilder.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-YmluL3J1bmRsZXIvc3JjL2NsaS9idWlsZGVyLnJz) | `0.00% <0.00%> (ø)` | | | [crates/rpc/src/task.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?src=pr&el=tree&filepath=crates%2Frpc%2Fsrc%2Ftask.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3JwYy9zcmMvdGFzay5ycw==) | `0.00% <0.00%> (ø)` | | | [bin/rundler/src/cli/mod.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?src=pr&el=tree&filepath=bin%2Frundler%2Fsrc%2Fcli%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-YmluL3J1bmRsZXIvc3JjL2NsaS9tb2QucnM=) | `0.00% <0.00%> (ø)` | | | [crates/builder/src/task.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?src=pr&el=tree&filepath=crates%2Fbuilder%2Fsrc%2Ftask.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL2J1aWxkZXIvc3JjL3Rhc2sucnM=) | `0.00% <0.00%> (ø)` | | | [crates/pool/src/task.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?src=pr&el=tree&filepath=crates%2Fpool%2Fsrc%2Ftask.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3Bvb2wvc3JjL3Rhc2sucnM=) | `0.00% <0.00%> (ø)` | | | [crates/sim/src/gas/gas.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875?src=pr&el=tree&filepath=crates%2Fsim%2Fsrc%2Fgas%2Fgas.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3NpbS9zcmMvZ2FzL2dhcy5ycw==) | `22.31% <0.00%> (ø)` | | | [Flag](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | Coverage Δ | | |---|---|---| | [unit-tests](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `57.77% <15.78%> (-0.02%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#carryforward-flags-in-the-pull-request-comment) to find out more. | [Components](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | Coverage Δ | | |---|---|---| | [rundler binary](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `0.00% <0.00%> (ø)` | | | [builder](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `61.98% <33.33%> (-0.02%)` | :arrow_down: | | [dev](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `∅ <ø> (∅)` | | | [pool](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `64.38% <0.00%> (-0.03%)` | :arrow_down: | | [provider](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `20.41% <ø> (ø)` | | | [rpc](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `25.87% <0.00%> (-0.02%)` | :arrow_down: | | [sim](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `76.65% <22.22%> (+<0.01%)` | :arrow_up: | | [tasks](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `∅ <ø> (∅)` | | | [types](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `67.51% <ø> (ø)` | | | [utils](https://app.codecov.io/gh/alchemyplatform/rundler/pull/875/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `29.38% <ø> (ø)` | |