Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make ChangeSet and KVPair protobuf serializable #726

Merged
merged 3 commits into from
Apr 10, 2023

Conversation

yihuang
Copy link
Collaborator

@yihuang yihuang commented Apr 8, 2023

Implement protobuf messages, and setup buf.build

$ buf generate proto

Context

we are reusing the ChangeSet and KVPair type from the iavl library, and we need it to be serializable, so instead of rolling our own types for it, it's be better if the iavl type support protobuf serialization directly.

Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dam i guess we need the proto type, @cool-develope does this help you as well?

Implement protobuf messages, and setup buf.build

```
$ buf generate proto
```
@yihuang yihuang changed the title make ChangeSet and KVPair protobuf serializable feat: make ChangeSet and KVPair protobuf serializable Apr 10, 2023
@tac0turtle tac0turtle merged commit 61be28a into cosmos:master Apr 10, 2023
yihuang added a commit to yihuang/iavl that referenced this pull request Apr 10, 2023
Implement protobuf messages, and setup buf.build

```
$ buf generate proto
```
@tac0turtle
Copy link
Member

@Mergifyio backport release/v0.20.x

@mergify
Copy link
Contributor

mergify bot commented Apr 10, 2023

backport release/v0.20.x

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Apr 10, 2023
(cherry picked from commit 61be28a)

# Conflicts:
#	CHANGELOG.md
#	diff.go
#	diff_test.go
#	nodedb.go
@tac0turtle
Copy link
Member

@Mergifyio backport release/v1.x.x

@mergify
Copy link
Contributor

mergify bot commented Apr 10, 2023

backport release/v1.x.x

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Apr 10, 2023
(cherry picked from commit 61be28a)

# Conflicts:
#	CHANGELOG.md
tac0turtle pushed a commit that referenced this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants