InsideDarkWeb.com

What is the maximum size of a struct?

Assuming gas and hard drive space are not an issue, if you had a struct containing arrays how much data could you actually put into those arrays before the struct reaches its maximum size? I am attempting to use mapping to a struct to keep track of some information and would like to understand how much I can give it before it cannot get any larger and what I can do to help keep the data record past that.

My current plan is to create a new struct that references the previous maps key once the struct is at its max size, but I don’t know if that is an ideal situation yet.

Ethereum Asked by user3316323 on November 18, 2021

0 Answers

Add your own answers!

Related Questions

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.