Open tserg opened 1 year ago
vyper --version
python --version
When compiling a contract with the flag storage_layout_file, some basic sanity checks could be performed on the given JSON file as currently:
For example, a contract only defining the storage variable a: uint256 can be compiled given the following storage layout:
a: uint256
{ "a": {"type": "uint16", "slot": 10}, "a": {"type": "uint8", "slot": 1}, "b": {"type": "uint256", "slot": 1} }
h/t @trocher
Fill this in if you know how to fix it.
roundtrip requirement was added in https://github.com/vyperlang/vyper/pull/3789
Version Information
vyper --version
): https://github.com/vyperlang/vyper/commit/9e3b9a2b8ae55aa83b5450080f750be15f819de7python --version
): 3.10.4What's your issue about?
When compiling a contract with the flag storage_layout_file, some basic sanity checks could be performed on the given JSON file as currently:
For example, a contract only defining the storage variable
a: uint256
can be compiled given the following storage layout:h/t @trocher
How can it be fixed?
Fill this in if you know how to fix it.