Some parts of the codebase handle pubkeys as bytes, others (most of them) expect hex strings. Bytes make more sense, as they take less memory (half) and make operations simpler and faster.
This is a first step in the effort of using bytes internally and pushing the hex string conversion closer to the UTXO representation.
To be continued.