koinos / koinos-proto

Official home of the Koinos Protobuf schema. Koinos data types are defined here and generated in a variety of supported languages.
MIT License
3 stars 7 forks source link

[BUG]: `register_public_key_event` is backwards #190

Closed sgerbino closed 1 year ago

sgerbino commented 1 year ago

Is there an existing issue for this?

Current behavior

address should be the first argument, public_key should be the second argument.

message register_public_key_event {
   bytes public_key = 1 [(btype) = BASE64];
   bytes address = 2 [(btype) = ADDRESS];
}

Expected behavior

message register_public_key_event {
   bytes address = 1 [(btype) = ADDRESS];
   bytes public_key = 2 [(btype) = BASE64];
}

Steps to reproduce

No response

Environment

- OS:

Anything else?

No response