• Mark Tyneway's avatar
    state-surgery: implement bytes32 handling · 2d933448
    Mark Tyneway authored
    Adds the ability to set bytes32 values in state.
    There is a single bytes32 value in our L2 predeploys.
    Adds test coverage that the value is set properly and
    encoded properly. Both `common.Hash` and hex strings
    are supported to be able to be encoded into a bytes32
    suitable for storage.
    2d933448
encoding.go 9.32 KB