How to read a storage of a mapping? #4434
Unanswered
moneyDev1111
asked this question in
Q&A
Replies: 1 comment
-
ok, I think I got it, it should be |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a contract with such mapping
mapping(address => string) private s_passwords;
and I'd like to get to those strings by reading the storage slots... but it seems not easy with mapping? Or it is easy if you know how? Thanks:)
I'm trying to do it like this but it doesn't work...
I've put the mapping on top of the contract vars declaration so it would the first one....or if it's empty then it won't be the first one?
Beta Was this translation helpful? Give feedback.
All reactions