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

refactor: remove fungible params #2004

Merged
merged 5 commits into from
Apr 11, 2024

Conversation

skosito
Copy link
Contributor

@skosito skosito commented Apr 9, 2024

Description

Removes params from fungible module as it seems they are not used and there aren't any. Opening a separate PR for this to reduce diffs in upcoming params refactoring PRs, and to check if this removal is ok (base branch is not develop by mistake, so that PR should be merged first).

Closes: n/a

Type of change

Cleanup

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.

  • Tested CCTX in localnet
  • Tested in development environment
  • Go unit tests
  • Go integration tests
  • Tested via GitHub Actions

Checklist:

  • I have added unit tests that prove my fix feature works

Copy link

codecov bot commented Apr 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.54%. Comparing base (e74ae5f) to head (3ad1bc3).

Additional details and impacted files

Impacted file tree graph

@@                      Coverage Diff                       @@
##           remove-broadcastmode-block    #2004      +/-   ##
==============================================================
+ Coverage                       68.52%   68.54%   +0.01%     
==============================================================
  Files                             236      234       -2     
  Lines                           13612    13590      -22     
==============================================================
- Hits                             9328     9315      -13     
+ Misses                           3834     3825       -9     
  Partials                          450      450              
Files Coverage Δ
x/fungible/genesis.go 100.00% <ø> (ø)
x/fungible/types/genesis.go 100.00% <100.00%> (ø)

Copy link
Member

@lumtis lumtis left a comment

Choose a reason for hiding this comment

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

I fix we can merge this one into develop since since this params was not used at all.

I think we should rather have a feature branch for the BallotMaturityBlock refactoring as it is more sensitive

@skosito
Copy link
Contributor Author

skosito commented Apr 10, 2024

I fix we can merge this one into develop since since this params was not used at all.

I think we should rather have a feature branch for the BallotMaturityBlock refactoring as it is more sensitive

yes agree, i branched out of: #2001 which is also targeting develop, so we can merge both to develop and have separate branch for params refactoring

@lumtis lumtis merged commit 93d07cb into remove-broadcastmode-block Apr 11, 2024
18 checks passed
@lumtis lumtis deleted the cleanup-fungible-params branch April 11, 2024 07:22
lumtis pushed a commit that referenced this pull request Apr 18, 2024
…params (#2001)

* Remove broadcast mode block wip

* Fixes

* Changelog

* PR comments

* Lint fix

* refactor: remove fungible params (#2004)

* Remove unused params from fungible module

* Make generate

* Changelog

* Lint fix

* Lint fix

* Fix changelog

* Revert proto indexes

* make generate
lumtis added a commit that referenced this pull request May 3, 2024
* Remove broadcast mode block wip

* Fixes

* Changelog

* PR comments

* Lint fix

* refactor: remove fungible params (#2004)

* Remove unused params from fungible module

* Make generate

* Changelog

* Lint fix

* Lint fix

* Fix changelog

* Revert proto indexes

* Make generate

* refactor: deprecate x/params (#2014)

* Remove unused params from fungible module

* Make generate

* Changelog

* Lint fix

* Lint fix

* Migrate emissions params to store

* Migrate observer params to its own store

* Make generate

* Changelog

* Lint fixes

* Add observer slash amount param to migrate script

* Fix tests

* Lint fixes

* Fixes

* Lint fixes

* Fixes

* Tests

* Small cleanup

* Remove not needed params store mock

* Fixes after merge

* Add found flag to get params method

* Move ballot maturity blocks param to emissions module

* Remove params from observer module

* Fix build

* PR comments

* PR comment

* PR comments

* PR comments

* feat: cosmos v0.47 upgrade (#2039)

* proto fixes after merge

* Fix tx proto emissions

* fixes

* make generate

* remove tendermint usage

* Update changelog

* fix test

* add some logs to proto gen script

* permissions

* add more logs

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* cleanup

* cleanup

* always format proto before generation

* generate explicit format deps

* set docker username to fix permissions in CI

* dummy proto change to test formatting

* set buf cache directory

* Revert "dummy proto change to test formatting"

This reverts commit 7e5c0dc.

* refactor: update go-tss (#2094)

* Remove unused params from fungible module

* Make generate

* Changelog

* Lint fix

* Lint fix

* Migrate emissions params to store

* Migrate observer params to its own store

* Make generate

* Changelog

* Lint fixes

* Add observer slash amount param to migrate script

* Fix tests

* Lint fixes

* Fixes

* Lint fixes

* Fixes

* Tests

* Small cleanup

* Try upgrade with simapp change

* Remove not needed params store mock

* fix compile errors

* proto changes

* Fixes

* Upgrade handler changes

* Fixes

* Fix e2e test

* Fixes after merge

* Add found flag to get params method

* Move ballot maturity blocks param to emissions module

* Remove params from observer module

* Fix build

* Regen proto

* Fixes for e2e tests

* Fix some unit tests

* Fix some lint errors

* Fix more unit tests

* PR comments

* Proto paths fixes

* Linters

* make typescript

* proto format

* make specs

* make docs

* make gen

* lint

* Fix some unit tests

* Fix cli test suites

* Fix lints

* Tmp comment unit test

* lint

* Use latest ethermint change and fix test

* PR comment

* PR comments

* Fix one more import

* Cleanup

* Lint fix

* Bump zetachain ethermint

* Remove cometbft replace

* go mod tidy

* bump ethermint

* Revert replace

* Bump ethermint

* Proto files updates after merge

* Make generate

* Bump ethermint

* Fix PR comments

* Formatting

* Mention observer params removal in breaking changes in changelog

* bump ethermint

* Remove tendermint dep after go-tss upgrade

* go mod tidy

* bump go-tss

* changelog

* changelog

---------

Co-authored-by: Alex Gartner <[email protected]>
Co-authored-by: Lucas Bertrand <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants