From 8ae332b897fcc057412e49afbc1b214487c683b3 Mon Sep 17 00:00:00 2001 From: g11tech Date: Fri, 26 Jul 2024 18:45:33 +0530 Subject: [PATCH] Update EIPS/eip-7702.md Co-authored-by: Phil Ngo <58080811+philknows@users.noreply.github.com> --- EIPS/eip-7702.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EIPS/eip-7702.md b/EIPS/eip-7702.md index 47b76c84823ddc..6695342f4cacc7 100644 --- a/EIPS/eip-7702.md +++ b/EIPS/eip-7702.md @@ -119,7 +119,7 @@ An alternative to adding chain ID could be to sign over the code the address poi #### Delegation Storage -Considering that the delegation from one contract to another contract can cause conflict and corruption of the storage with broken contract in the least and a compromized contract at the worst, it is prudent to separate the storage of each delegation in deterministic way. +Considering that the delegation from one contract to another contract may cause conflicts and corrupt the storage with a broken contract at the least and a compromised contract at the worst, it is prudent to separate the storage of each delegation in deterministic way. To this effect, the delegated EOA's storage should be proixed and accessed/written at `keccak256(authority||address)[0:20]`. This way, if the contract is delegated back to a previous `address`, EVM will be able to _re-attach_ its old storage.