-
Notifications
You must be signed in to change notification settings - Fork 98
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
fedekunze/1548 mocked submit deposit #1549
Conversation
…kunze/1548-mock-add-deposit Merge develop
Codecov Report
@@ Coverage Diff @@
## develop #1549 +/- ##
===========================================
+ Coverage 96.52% 96.55% +0.02%
===========================================
Files 99 99
Lines 1872 1915 +43
Branches 92 92
===========================================
+ Hits 1807 1849 +42
- Misses 55 56 +1
Partials 10 10
|
@@ -353,13 +355,13 @@ let state = { | |||
description: `custom text proposal description`, | |||
initial_deposit: [ | |||
{ | |||
denom: `stake`, | |||
denom: `steak`, |
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.
didn't we want to move towards stake
?
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.
yeah but it's not going to be used until GoS and the denom for governance is still steak
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.
sure, but this is just the mock implementation and not the real network. does it conflict with settings for the real network?
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 really, but I'd have to add another proposal or refactor it to change that, bc it'll probably break other unit tests that use the mocked proposals. Can I do that on the scope of #1378 ?
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.
Sure. I just did that PR. Let's see afterwards what breaks. 💥
Closes #1548
Description:
The only test case missing is when the user already has a deposit to the proposal, but not on the same coin denomination, I can add it to the scope of #1553 :
❤️ Thank you!
CHANGELOG.md
with issue # and GitHub usernameFiles changed
in the github PR explorer