Hi guysss!
Having issues with testing a migration contract:
when I have to test if the value of a public state variable is correctly migrated to the other contract it always returns an empty value.
I can confirm though that the solidity code is correct.
How can I test it properly?

May 21, 2022, 5:03 PM
U mean like migrate implementation contract for a proxy?
May 21, 2022, 5:05 PM
correct!
May 21, 2022, 5:06 PM
The state variable value will be saved in the proxy contract not the implementation make sure ur variables are named the same on both implementation contracts maybe lol?
May 21, 2022, 5:08 PM

© 2024 Draquery.com All rights reserved.