Commit d9ba4b27 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #3447 from ethereum-optimism/feat/extra-coder

op-chain-ops: parse t_bytes32
parents aa07bbb1 ed4148d9
...@@ -156,6 +156,8 @@ func getElementEncoder(storageType solc.StorageLayoutType, kind string) (Element ...@@ -156,6 +156,8 @@ func getElementEncoder(storageType solc.StorageLayoutType, kind string) (Element
return EncodeAddressValue, nil return EncodeAddressValue, nil
case "t_bool": case "t_bool":
return EncodeBoolValue, nil return EncodeBoolValue, nil
case "t_bytes32":
return EncodeBytes32Value, nil
default: default:
if strings.HasPrefix(target, "t_uint") { if strings.HasPrefix(target, "t_uint") {
return EncodeUintValue, nil 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