-
Notifications
You must be signed in to change notification settings - Fork 834
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
[ENG-222] fees improve test coverage #586
Conversation
Each deployer now has a KVStore for storing its registered contracts.
Codecov Report
@@ Coverage Diff @@
## main #586 +/- ##
==========================================
+ Coverage 83.32% 85.67% +2.34%
==========================================
Files 116 117 +1
Lines 6376 6372 -4
==========================================
+ Hits 5313 5459 +146
+ Misses 935 784 -151
- Partials 128 129 +1
|
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.
LGTM minor comments
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
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.
LGTM, heads up, I added a comment that's not related to the tests.
* main: Correct inflation.proto typo (#608) change algolia search key (#607) Changing erroneous epoch skips to daily instead of weekly (#554) fix: remove dup set claims record + CLI update (#605) build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#604) imp: fees test coverage (#586) fees: limit address derivation to 20 iterations at registration (#603)
* main: Correct inflation.proto typo (evmos#608) change algolia search key (evmos#607) Changing erroneous epoch skips to daily instead of weekly (evmos#554) fix: remove dup set claims record + CLI update (evmos#605) build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (evmos#604) imp: fees test coverage (evmos#586) fees: limit address derivation to 20 iterations at registration (evmos#603)
Description
[]byte("1")
is used to show existence. This approach makes it easier to add, remove, iterate over all registered contracts of a deployer, compared to the original approach of storing an array of contract addresses for each deployer (all deployers in the same KVStore)types/params.go
,types/codec.go
,keeper/fees.go
,keeper/grpc_query.go
ethermint.ValidateNonZeroAddress
for validationCloses: #552
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
PR review checkboxes:
I have...
Unreleased
section inCHANGELOG.md
Code maintenance:
I have...
godoc
and code comments.docs/
) or specification (x/<module>/spec/
)Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.
I have...