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

feat: support 7702 txn with userOps #923

Merged
merged 15 commits into from
Dec 16, 2024
Merged

feat: support 7702 txn with userOps #923

merged 15 commits into from
Dec 16, 2024

Conversation

andysim3d
Copy link
Collaborator

Proposed Changes

it only works for unsafe mode now, other testnet lacking support of debug_traceCall.

@andysim3d
Copy link
Collaborator Author

a step of #839

@andysim3d andysim3d changed the title A 7702 support implmentation. feat: A 7702 support implmentation. Dec 2, 2024
@andysim3d andysim3d changed the base branch from feat/v0.5 to main December 12, 2024 16:46
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 30.61798% with 247 lines in your changes missing coverage. Please review.

Project coverage is 58.69%. Comparing base (5e77dfe) to head (9301f42).

Files with missing lines Patch % Lines
crates/provider/src/alloy/entry_point/v0_7.rs 0.00% 46 Missing ⚠️
crates/pool/src/server/remote/protos.rs 0.00% 38 Missing ⚠️
crates/provider/src/alloy/entry_point/v0_6.rs 0.00% 35 Missing ⚠️
crates/builder/src/signer/mod.rs 0.00% 24 Missing ⚠️
crates/types/src/user_operation/v0_7.rs 18.51% 22 Missing ⚠️
crates/utils/src/authorization_utils.rs 0.00% 15 Missing ⚠️
crates/types/src/authorization.rs 0.00% 10 Missing ⚠️
crates/pool/src/server/remote/error.rs 0.00% 9 Missing ⚠️
crates/rpc/src/eth/events/v0_6.rs 50.00% 9 Missing ⚠️
crates/sim/src/estimation/estimate_call_gas.rs 25.00% 6 Missing ⚠️
... and 8 more
Additional details and impacted files

Impacted file tree graph

Files with missing lines Coverage Δ
crates/sim/src/estimation/v0_7.rs 81.18% <100.00%> (+0.08%) ⬆️
crates/sim/src/simulation/simulator.rs 82.36% <100.00%> (+0.07%) ⬆️
crates/sim/src/simulation/v0_6/context.rs 67.53% <100.00%> (+0.49%) ⬆️
crates/types/src/pool/error.rs 0.00% <ø> (ø)
crates/sim/src/estimation/v0_6.rs 94.77% <90.00%> (-0.05%) ⬇️
crates/types/src/user_operation/mod.rs 73.62% <70.00%> (-0.14%) ⬇️
crates/rpc/src/types/v0_6.rs 25.00% <20.00%> (-0.43%) ⬇️
crates/sim/src/precheck.rs 76.71% <75.00%> (-0.05%) ⬇️
crates/rpc/src/types/v0_7.rs 0.00% <0.00%> (ø)
...es/sim/src/estimation/estimate_verification_gas.rs 84.21% <54.54%> (-5.49%) ⬇️
... and 12 more
Flag Coverage Δ
unit-tests 58.69% <30.61%> (-0.33%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
rundler binary 0.00% <ø> (ø)
builder 64.45% <0.00%> (-0.15%) ⬇️
dev ∅ <ø> (∅)
pool 66.13% <0.00%> (-0.40%) ⬇️
provider 20.25% <0.00%> (-0.63%) ⬇️
rpc 26.31% <35.71%> (+0.05%) ⬆️
sim 76.63% <66.66%> (-0.14%) ⬇️
tasks ∅ <ø> (∅)
types 67.37% <58.16%> (-0.45%) ⬇️
utils 30.06% <0.00%> (-1.67%) ⬇️

@andysim3d andysim3d marked this pull request as draft December 12, 2024 18:33
@andysim3d andysim3d force-pushed the andy/7702 branch 3 times, most recently from 20adb68 to fdfe49d Compare December 12, 2024 21:29
@andysim3d andysim3d marked this pull request as ready for review December 12, 2024 21:46
@andysim3d andysim3d changed the title feat: A 7702 support implmentation. feat: support 7702 txn with userOps Dec 12, 2024
crates/utils/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@dancoombs dancoombs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 Great work!

@andysim3d andysim3d merged commit 4463b96 into main Dec 16, 2024
11 checks passed
@andysim3d andysim3d deleted the andy/7702 branch December 16, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants