good morning!!!!

Skip to content
Snippets Groups Projects
Forked from github / maticnetwork / bor
Loading
  • Felix Lange's avatar
    fc92abec
    rlp: allow encoding non-empty interface values · fc92abec
    Felix Lange authored
    This needs to be supported because []someInterface does occur sometimes.
    
    Funny enough, the fix involves changes to the decoder. makeDecoder
    cannot return an error for non-empty interfaces anymore because the type
    cache builds both decoder and writer. Do the check at 'runtime' instead.
    fc92abec
    History
    rlp: allow encoding non-empty interface values
    Felix Lange authored
    This needs to be supported because []someInterface does occur sometimes.
    
    Funny enough, the fix involves changes to the decoder. makeDecoder
    cannot return an error for non-empty interfaces anymore because the type
    cache builds both decoder and writer. Do the check at 'runtime' instead.
Code owners