Skip to content

Msgpack and read/write functions don't handle the point at infnity for elements #908

Open
@Rumata888

Description

@Rumata888

Affine and group elements in barretenberg have a special point at infinity member which can't just be encoded as fields, which is what we currently do with msgpack.
Changing it requires updated to affine_element.hpp, serialize.hpp and same for the group element. However, one of the issues right now is that the read and write functions have to be reimplemented, but both affine and group elements can have different sizes, because they are implemented for extensions as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions