Closed 0xB10C closed 1 month ago
Same goes for shared::wrapper::wrapper::Wrap
Can I give it a try??
Sure, no need to ask!
@0xB10C I basically need to replace the Wrap field inside the struct to event right??
Correct. Keep in mind that this Rust code is generated from protobuf definitions. You'll need to rename them and update the places where wrapper
or wrap
is currently used. The rust compiler should complain at the right places.
https://github.com/0xB10C/peer-observer/blob/master/protobuf/proto-types/wrapper.proto
Yes, it is already commented that structs are generated from the protobuf definitions.
I think we can also rename it to event.proto ?? @0xB10C
agree
I have updated everything from wrap -> event & Wrapper -> Event. Is that fine??
Feel free to open a PR and I'll have a look there
Addressed with #25
Currently, the
shared::wrapper::Wrapper
fieldwrap
isn't really expressive of what it is. It's a peer-observerevent
and should be renamed.