Commit ed4148d9 authored by Mark Tyneway's avatar Mark Tyneway

op-chain-ops: parse t_bytes32

Adds extra type parsing to allow setting t_bytes32
in mappings.
parent e7b70e47
......@@ -156,6 +156,8 @@ func getElementEncoder(storageType solc.StorageLayoutType, kind string) (Element
return EncodeAddressValue, nil
case "t_bool":
return EncodeBoolValue, nil
case "t_bytes32":
return EncodeBytes32Value, nil
default:
if strings.HasPrefix(target, "t_uint") {
return EncodeUintValue, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment