alchemyplatform / rundler

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

fix(sim): update simulation for dencun opcodes #711

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 26.66667% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 55.23%. Comparing base (02af869) to head (bf6b835).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711/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/711?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | [Files](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711?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/711?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==) | `89.04% <100.00%> (ø)` | | | [crates/pool/src/server/remote/error.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711?src=pr&el=tree&filepath=crates%2Fpool%2Fsrc%2Fserver%2Fremote%2Ferror.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3Bvb2wvc3JjL3NlcnZlci9yZW1vdGUvZXJyb3IucnM=) | `14.80% <ø> (ø)` | | | [crates/rpc/src/eth/error.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711?src=pr&el=tree&filepath=crates%2Frpc%2Fsrc%2Feth%2Ferror.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3JwYy9zcmMvZXRoL2Vycm9yLnJz) | `0.00% <ø> (ø)` | | | [crates/sim/src/simulation/context.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711?src=pr&el=tree&filepath=crates%2Fsim%2Fsrc%2Fsimulation%2Fcontext.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3NpbS9zcmMvc2ltdWxhdGlvbi9jb250ZXh0LnJz) | `81.94% <ø> (ø)` | | | [crates/sim/src/simulation/mempool.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711?src=pr&el=tree&filepath=crates%2Fsim%2Fsrc%2Fsimulation%2Fmempool.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3NpbS9zcmMvc2ltdWxhdGlvbi9tZW1wb29sLnJz) | `94.00% <ø> (ø)` | | | [crates/sim/src/simulation/simulator.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711?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=) | `83.35% <ø> (ø)` | | | [crates/sim/src/simulation/v0\_7/context.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711?src=pr&el=tree&filepath=crates%2Fsim%2Fsrc%2Fsimulation%2Fv0_7%2Fcontext.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3NpbS9zcmMvc2ltdWxhdGlvbi92MF83L2NvbnRleHQucnM=) | `0.00% <ø> (ø)` | | | [crates/sim/src/simulation/v0\_7/tracer.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711?src=pr&el=tree&filepath=crates%2Fsim%2Fsrc%2Fsimulation%2Fv0_7%2Ftracer.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3NpbS9zcmMvc2ltdWxhdGlvbi92MF83L3RyYWNlci5ycw==) | `0.00% <ø> (ø)` | | | [crates/types/src/opcode.rs](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711?src=pr&el=tree&filepath=crates%2Ftypes%2Fsrc%2Fopcode.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform#diff-Y3JhdGVzL3R5cGVzL3NyYy9vcGNvZGUucnM=) | `4.76% <8.33%> (+4.76%)` | :arrow_up: | | [Flag](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711/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/711/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `55.23% <26.66%> (-0.03%)` | :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/711/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/711/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `0.00% <ø> (ø)` | | | [builder](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `50.00% <100.00%> (ø)` | | | [dev](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711/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/711/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `64.50% <ø> (ø)` | | | [provider](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `16.68% <ø> (ø)` | | | [rpc](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `25.67% <ø> (ø)` | | | [sim](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `77.99% <ø> (ø)` | | | [tasks](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711/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/711/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `65.88% <8.33%> (-0.39%)` | :arrow_down: | | [utils](https://app.codecov.io/gh/alchemyplatform/rundler/pull/711/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alchemyplatform) | `18.28% <ø> (ø)` | |