alchemyplatform / rundler

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

feat: prep for da oracle with cache #834

Closed dancoombs closed 1 month ago

dancoombs commented 1 month ago

Proposed Changes

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 31.03448% with 100 lines in your changes missing coverage. Please review.

Please upload report for BASE (feat/v0.4@5b44cb9). Learn more about missing BASE report.

Files with missing lines Patch % Lines
crates/provider/src/alloy/da/mod.rs 0.00% 23 Missing :warning:
crates/provider/src/alloy/da/optimism.rs 0.00% 21 Missing :warning:
crates/sim/src/precheck.rs 0.00% 17 Missing :warning:
crates/provider/src/alloy/da/arbitrum.rs 0.00% 14 Missing :warning:
crates/provider/src/alloy/entry_point/v0_6.rs 0.00% 8 Missing :warning:
crates/provider/src/alloy/entry_point/v0_7.rs 0.00% 8 Missing :warning:
crates/pool/src/task.rs 0.00% 3 Missing :warning:
crates/builder/src/task.rs 0.00% 2 Missing :warning:
crates/pool/src/mempool/uo_pool.rs 96.15% 1 Missing :warning:
crates/sim/src/estimation/v0_7.rs 66.66% 1 Missing :warning:
... and 2 more
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/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/834?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/834?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/834?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==) | `90.21% <100.00%> (ø)` | | | [crates/pool/src/mempool/paymaster.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree&filepath=crates%2Fpool%2Fsrc%2Fmempool%2Fpaymaster.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3Bvb2wvc3JjL21lbXBvb2wvcGF5bWFzdGVyLnJz) | `93.23% <100.00%> (ø)` | | | [crates/provider/src/alloy/entry\_point/mod.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree&filepath=crates%2Fprovider%2Fsrc%2Falloy%2Fentry_point%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3Byb3ZpZGVyL3NyYy9hbGxveS9lbnRyeV9wb2ludC9tb2QucnM=) | `0.00% <ø> (ø)` | | | [crates/provider/src/alloy/mod.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree&filepath=crates%2Fprovider%2Fsrc%2Falloy%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3Byb3ZpZGVyL3NyYy9hbGxveS9tb2QucnM=) | `0.00% <ø> (ø)` | | | [crates/provider/src/traits/entry\_point.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree&filepath=crates%2Fprovider%2Fsrc%2Ftraits%2Fentry_point.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3Byb3ZpZGVyL3NyYy90cmFpdHMvZW50cnlfcG9pbnQucnM=) | `60.00% <ø> (ø)` | | | [crates/provider/src/traits/test\_utils.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree&filepath=crates%2Fprovider%2Fsrc%2Ftraits%2Ftest_utils.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3Byb3ZpZGVyL3NyYy90cmFpdHMvdGVzdF91dGlscy5ycw==) | `100.00% <100.00%> (ø)` | | | [crates/sim/src/estimation/v0\_6.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree&filepath=crates%2Fsim%2Fsrc%2Festimation%2Fv0_6.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3NpbS9zcmMvZXN0aW1hdGlvbi92MF82LnJz) | `94.82% <100.00%> (ø)` | | | [crates/sim/src/simulation/mod.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree&filepath=crates%2Fsim%2Fsrc%2Fsimulation%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3NpbS9zcmMvc2ltdWxhdGlvbi9tb2QucnM=) | `47.05% <ø> (ø)` | | | [crates/sim/src/simulation/simulator.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree&filepath=crates%2Fsim%2Fsrc%2Fsimulation%2Fsimulator.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3NpbS9zcmMvc2ltdWxhdGlvbi9zaW11bGF0b3IucnM=) | `82.28% <100.00%> (ø)` | | | [crates/pool/src/mempool/uo\_pool.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree&filepath=crates%2Fpool%2Fsrc%2Fmempool%2Fuo_pool.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3Bvb2wvc3JjL21lbXBvb2wvdW9fcG9vbC5ycw==) | `92.93% <96.15%> (ø)` | | | ... and [11 more](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | | | [Flag](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/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/834/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `59.44% <31.03%> (?)` | | 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/834/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/834/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/834/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `62.39% <0.00%> (?)` | | | [dev](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `∅ <0.00%> (?)` | | | [pool](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `65.56% <0.00%> (?)` | | | [provider](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `26.63% <0.00%> (?)` | | | [rpc](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `26.29% <0.00%> (?)` | | | [sim](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `77.04% <0.00%> (?)` | | | [tasks](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `∅ <0.00%> (?)` | | | [types](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `66.95% <0.00%> (?)` | | | [utils](https://app.codecov.io/gh/alchemyplatform/rundler/pull/834/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `29.38% <0.00%> (?)` | |