Conversation
# Conflicts: # e2e/src/eip7702.spec.ts
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
| gas: 100_000n, | ||
| maxFeePerGas, | ||
| maxPriorityFeePerGas, | ||
| }); |
There was a problem hiding this comment.
Delegation transaction uses wrong account's nonce
Medium Severity
nonceActor fetches the transaction count for actor.address, but is then used as the nonce for a transaction sent by relayerWalletClient. The EIP-7702 authorizationList transaction is submitted by the relayer, so the transaction nonce must be the relayer's nonce. This works by coincidence because both are freshly generated accounts with nonce 0, but it is logically incorrect and fragile. The second transaction later in the test correctly uses sequencerClient.getTransactionCount({ address: relayer.address }).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2615 +/- ##
============================================
+ Coverage 9.70% 58.89% +49.18%
- Complexity 0 1620 +1620
============================================
Files 454 454
Lines 18530 18530
Branches 2014 2014
============================================
+ Hits 1799 10913 +9114
+ Misses 16731 6948 -9783
- Partials 0 669 +669
🚀 New features to boost your workflow:
|


This PR implements issue(s) #
Checklist
PR.
Note
Medium Risk
Mostly adds test-only Solidity contracts and E2E coverage, but also updates the local Docker Besu package tag and contract predeploy/nonces, which can break local dev/e2e setups if mismatched.
Overview
Adds a new EIP-7702 local test fixture: three Solidity contracts (
Eip7702TestNested,Eip77022Delegated,Eip7702TestEntrypoint) plus static artifacts and adeployEIP7702Contracts.tsscript wired intodeploy-contractsviamakefile-contracts.mk.Extends the E2E suite to validate nested delegation denylist enforcement (verifying a transaction is not mined when an intermediate delegated EOA is denylisted), and updates denylist reload behavior to refresh both
TransactionPoolValidatorandTransactionSelectorplugins.Updates local E2E config to include predeployed EIP-7702 contract addresses and adjusts existing local contract addresses/nonces; also bumps the local
linea-besu-packageimage tag incompose-spec-l2-services.yml.Written by Cursor Bugbot for commit f625464. This will update automatically on new commits. Configure here.