Fetch the protocol config by protocol version, or the latest protocol config used on chain if no version is provided.