• Mark Tyneway's avatar
    op-chain-ops: `Withdrawal` type use `hexutil.Bytes` · 6e657870
    Mark Tyneway authored
    Use `hexutil.Bytes` in the `Withdrawal` type so that
    when writing and reading from JSON, it correctly serializes
    the data as a 0x prefixed hex string. Without this, it will
    some base64 looking serialization. Be sure to cast to a byte
    slice before doing any abi packing, otherwise it will cause
    errors.
    6e657870
Name
Last commit
Last update
..
testdata Loading commit data...
alias.go Loading commit data...
alias_test.go Loading commit data...
encoding.go Loading commit data...
encoding_test.go Loading commit data...
hashing.go Loading commit data...
legacy_withdrawal.go Loading commit data...
legacy_withdrawal_test.go Loading commit data...
message.go Loading commit data...
message_test.go Loading commit data...
migrate.go Loading commit data...
migrate_test.go Loading commit data...
precheck.go Loading commit data...
types.go Loading commit data...
withdrawal.go Loading commit data...
withdrawal_test.go Loading commit data...
withdrawals.go Loading commit data...
withdrawals_test.go Loading commit data...