Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

3 votes

Does it make sense to remove unused entries from contract mapping in 2024

The decision to remove entries from mappings in Ethereum contracts depends on various factors, including the specific requirements of your protocol, the anticipated volume of requests, gas costs, and ...
Steiner254's user avatar
2 votes

Does it make sense to remove unused entries from contract mapping in 2024

Yes, It makes even more sense to use merkle trees instead of mappings. Please reduce the state bloat and do the good for the ecosystem, in general. Here is a thread on Hash lists vs merkle trees: ...
Pavel Fedotov's user avatar
4 votes

Does it make sense to remove unused entries from contract mapping in 2024

Yes. EIP-3529 reduced refund amounts because those amounts were exploited to create a parallel mechanism of managing GAS out of the initial EF's intents (i.e., the GasToken project, which allowed ...
Giuseppe Bertone's user avatar
4 votes

Does it make sense to remove unused entries from contract mapping in 2024

For you, as a protocol, it's not worth it. The EVM ecosystem, at some point, will need to address the state bloat of ETH, but as of today, it's a tomorrow problem. Since getting access to data in a ...
Patrick Collins's user avatar

Top 50 recent answers are included