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

EIP-7702 support #2294

Closed
AllFi opened this issue Oct 16, 2024 · 2 comments · Fixed by #2523
Closed

EIP-7702 support #2294

AllFi opened this issue Oct 16, 2024 · 2 comments · Fixed by #2523
Assignees

Comments

@AllFi
Copy link

AllFi commented Oct 16, 2024

Backend task: blockscout/blockscout#10774
Description of necessary changes: https://www.notion.so/blockscout/UI-modifications-1133d73641f8804fbeb4c991869a8e0c

Design in FiGMA

Blockscout instance with updated backend: https://pectra-devnet-4.cloud.blockscout.com/
Example of EOA with code: https://pectra-devnet-4.cloud.blockscout.com/address/0x37493bFe9c8c31fAbe8615C988e83D59D1a667a9
Example of EIP-7702 transaction: https://pectra-devnet-4.cloud.blockscout.com/tx/0x00a9ec325ec8ef3ae4d337e6660b27eb58042203ac747958f0e42016248348e2
Design task

We need to modify the transaction and address views to support EIP-7702. The scope of the necessary changes is described here.

@k1rill-fedoseev k1rill-fedoseev added the need design For issues that wait for design updates label Oct 16, 2024
@blockscout blockscout deleted a comment Nov 27, 2024
@tgladilina
Copy link
Collaborator

Design in FiGMA

@tgladilina tgladilina removed the need design For issues that wait for design updates label Jan 7, 2025
@tom2drum tom2drum self-assigned this Jan 14, 2025
@AllFi
Copy link
Author

AllFi commented Jan 17, 2025

New Blockscout instance: https://mekong.blockscout.com/
Faucet: https://faucet.mekong.ethpandaops.io/
Example of a set code transaction: https://mekong.blockscout.com/tx/0x3e6c0b4776348b1ed573f36edb8ee45862ecb1123d65f64c995a8cb2558e4621
Example of an EOA with code: https://mekong.blockscout.com/address/0xc38c25F8bef91B5C4193d59910Cc02CB99b3B4E8

Set code transactions can be created using the following command:

cast send 0x3451817bb2559A94f65ae59C1e606738c702993E "increment()" --auth 0x3451817bb2559A94f65ae59C1e606738c702993E --rpc-url https://rpc.mekong.ethpandaops.io --private-key {pk} --gas-limit 1000000

The important part here is --auth 0x3451817bb2559A94f65ae59C1e606738c702993E. This transaction, in addition to calling the increment function of the contract 0x3451817bb2559A94f65ae59C1e606738c702993E, turns the sender address into an EOA with code, using the implementation from 0x3451817bb2559A94f65ae59C1e606738c702993E.

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 a pull request may close this issue.

4 participants