Skip to content

jbayonnegit/EVM-Storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EVM-Storage

What is this repository ?

Here you can find test, questions and experiments dealing with storage layout using foundry test. Each test explore a notion, find explenation about what the test are doing directly in test/*.sol files.

Layout

Storage in contract is divide in 32 bytes slots. The storage variable are store contiguously in storage execpte for dynamics array and mapping type.

Run the test

forge test path -option

Some of them should fail.

About

This repository is a way for me to explore storage layout in EVM. From simple storage to overlapping, you can follow here my journey through EVM storage. I randomly test new things here, through foundry test and small contract to improve my understanding of EVM.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors