Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
Precise Proofs should be extended to enable setting a fixed length for the protobuf types that normally do not have a length, `bytes` and `string`.
If any field contains a value that surpasses the length it should raise an error when generating the tree.
There needs to be a new option added to the TreeOptions that specifies whether fixed length values should be left or right padded. If a value is shorter than the defined length, the code should pad it with 0 bytes for the desired length. The option should be called `fixedLengthFieldLeftPadding` (true == left, false == right).
In addition we should add a protobufs extension called `proofs.padded_field_length` that specifies the number of bytes the field should be extended for.
1) Add test cases that test both correct length and too long values
2) Add a field to the example in the tests file
3) Update the documentation shown on godoc.
This issue has a gitcoin bounty attached to it. If you'd like to start working on it, feel free to reach out to me (email@example.com) directly, join our slack channel `#bounties` on our [slack](https://centrifuge.io/slack/)