Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
YanhuiJessica committed Dec 31, 2024
1 parent ea72543 commit 27f8912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/blockchain/respectable_nft.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ My favorite TikTok influencer told me about a great NFT project that is guarante
}
```

- If the target slot is at `keccak(abi.encode(id, 6))`, we can not modify it because `bytes(FlagNames[id]).length` is not zero, and it is impossible to find such a collision. But it is possible that the target slot is close to `keccak(uint256(keccak(abi.encode(id, 6))))`. Luckily, CryptoFlags limits the maximum value of `id`, we can traverse within this range.
- If the target slot is at `keccak(abi.encode(id, 6))`, we can not modify it because `bytes(FlagNames[id]).length` is not zero. But it is possible that the target slot is close to `keccak(uint256(keccak(abi.encode(id, 6))))`. Luckily, the value of `IMPLEMENTATION_STORAGE` is not the keccak256 hash of "implementation_storage" and CryptoFlags limits the maximum value of `id`, we can traverse within this range.

```py
from web3 import Web3
Expand Down

0 comments on commit 27f8912

Please sign in to comment.