This post explores the concept of modifying EVM storage directly with a seeding function in order to simplify testing of smart contracts. It explains how EVM storage works, provides code examples, and demonstrates how to use Hardhat.js to manipulate the local EVM storage. The article also discusses nested mappings and offers a
•8m read time• From coinsbench.com
Table of contents
Modifying EVM Storage to Seed Token Balances in TestingUnderstanding EVM StorageHacking the Local EVM Storage with Hardhat.jsThe EVM Storage Final Boss: Nested MappingsSort: