-
Notifications
You must be signed in to change notification settings - Fork 43
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
refactor(campaign
): remove MsgAddVestingOptions
#827
Conversation
e0c1f0c
to
3c9a31d
Compare
Codecov Report
@@ Coverage Diff @@
## develop #827 +/- ##
===========================================
+ Coverage 10.32% 10.35% +0.03%
===========================================
Files 328 322 -6
Lines 77189 75344 -1845
===========================================
- Hits 7968 7802 -166
+ Misses 69028 67355 -1673
+ Partials 193 187 -6
|
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.
We can also remove the commented block in x/campaign/handler.go
And we can remove everything related to MainnetVestingAccount
mainnet_vesting_account.proto
cli/query_mainnet_vesting_account.go
keeper/grpc_mainnet_vesting_account.go
keeper/mainnet_vesting_account.go
types/mainnet_vesting_account.go
In the future, if we introduce vouchers for vesting options, this part would be refactored heavily. Therefore, I think it's more beneficial to remove this now
The build will now fail because |
Indeed, I didn't know we used mainnet vesting account in the CLI but we can remove every occurrence of it |
@aljo242 I created a PR for remove mainnet vesting account from However, in this PR there is still reference to mainnet vesting accounts in |
Code is all merged - just waiting on changes to be made in Ignite CLI |
sdk "github.com/cosmos/cosmos-sdk/types" | ||
"github.com/stretchr/testify/require" | ||
"testing" |
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.
wrong import sort. You should run make format
@Pantani I'm waiting for ignite/cli#2566 being merged to complete ignite/cli#2549 Is there anything blocking for ignite/cli#2566? |
yes, I found some issues, but now the cosmogen is not generating the |
merged |
@aljo242 just pushed a fix for invariant test that was still taking Vesting Options into consideration |
Closes #818