-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
types: add kv type #6897
types: add kv type #6897
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6897 +/- ##
==========================================
+ Coverage 60.75% 61.40% +0.64%
==========================================
Files 381 517 +136
Lines 24870 32050 +7180
==========================================
+ Hits 15110 19679 +4569
- Misses 8604 10802 +2198
- Partials 1156 1569 +413 |
@@ -29,7 +29,7 @@ func TestRejectUnknownFieldsRepeated(t *testing.T) { | |||
F: &testdata.TestVersion2{ | |||
A: &testdata.TestVersion2{ | |||
B: &testdata.TestVersion2{ | |||
H: []*testdata.TestVersion2{ | |||
H: []*testdata.TestVersion1{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@odeke-em can you check this? when I ran make proto-gen it forced me to make these changes
@@ -0,0 +1,10 @@ | |||
syntax = "proto3"; | |||
package cosmos.kv; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure this needs a new package to itself, but I guess it's okay...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can change, let me know what you prefer
* add kv type * add changelog entry * fix build * replace sdkkv with kv * revert change * fix some tests * proto-gen * fix tests Co-authored-by: Aleksandr Bezobchuk <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Description
This pr creates a kv type directly in the sdk. Before this was in tendermint, but it was removed in 0.34.
closes: #XXXX
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes