Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(common): better serialization of cryptographic payloads (#161)
* feature(common): add custom serde (de)serialization for base64 and hex * refactor(common): More appropriate name for byte conversion method "as_" prefix should be used when nothing needs to be allocated, which is not the case here. * build(common): import ecdsa directly to enable "der" feature * refactor(prover): webserver info-log uses actual port Before it was logging the configured port, which could be 0 (to take an arbitrary free one) and devs wouldn't be able to see the port chosen by axum. * refactor: new default port for webserver Setting it to something fixed, so external tools (e.g. API testing tool) can be configured accordingly. * feature(common): Improve (de)serialization for signatures and keys * feature(common): digests serialize to hex in JSON * refactor: rename 'serialization' file to 'serde' * feature(common): operation data serializes to b64 in JSON * chore: Incorporate changes in zkvm elf
- Loading branch information