Commit 2a74fd2
authored
Refactor EIP-7702 sender details and improve webhook error handling (#23)
- Renamed `account_address` to `eoa_address` in the `SessionKey` variant of `Eip7702Sender` for clarity and consistency.
- Updated the webhook error handling logic to use `StatusCode::TOO_MANY_REQUESTS` instead of a numeric comparison for better readability.
- Removed commented-out code in `confirm.rs` to clean up the file.
These changes enhance code clarity and maintainability in the EIP-7702 executor and webhook components.1 parent 55f3672 commit 2a74fd2
File tree
3 files changed
+4
-5
lines changed- executors/src
- eip7702_executor
- webhook
3 files changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
288 | | - | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| |||
0 commit comments