Storing validators public key in storage

Hello,

What is the best way to store a validator’s public key in storage so it’s immutable? Since it’s a 48-byte value and there is no bytes48 type in Solidity, I cannot do something like:

bytes48 immutable i_publicKey;

Best regards,
Tomo

1 Like