You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
it's my own opinion, I had some experience with arrays. it's too easy to update some data using map , and have some problem using arrays, for example 'out of gas'. it's depended from task
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://github.com/robertsimoes/Solidity-Contract-Patterns/blob/master/IndexedStructMap/IndexedStructMap.sol
If I was u, I would develop update and add as one function, for example using
and have uint size; and write 2 maps and size in 1 struct;
something like this:
The text was updated successfully, but these errors were encountered: