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: replace broadcast mode block with sync and remove fungible params #2001

Merged
merged 11 commits into from
Apr 18, 2024

Conversation

skosito
Copy link
Contributor

@skosito skosito commented Apr 9, 2024

Description

Part of cosmos sdk update (block mode is deprecated in 0.47) , but also generally better to use sync mode.
Also, removing unused fungible params to make upgrade easier.

Closes: #1930

Type of change

Tests

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
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.

There is a lint issue apparently

e2e/txserver/zeta_tx_server.go Outdated Show resolved Hide resolved
e2e/txserver/zeta_tx_server.go Outdated Show resolved Hide resolved
changelog.md Outdated Show resolved Hide resolved
@skosito skosito changed the title test: replace broadcast mode block with sync refactor: replace broadcast mode block with sync Apr 9, 2024
@skosito skosito requested a review from lumtis April 9, 2024 21:15
@skosito skosito mentioned this pull request Apr 10, 2024
6 tasks
* Remove unused params from fungible module

* Make generate

* Changelog

* Lint fix

* Lint fix
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.

Looks good, can we rename the PR title?

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.02%. Comparing base (62ec009) to head (d9ded82).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2001      +/-   ##
===========================================
+ Coverage    70.00%   70.02%   +0.01%     
===========================================
  Files          237      235       -2     
  Lines        13502    13480      -22     
===========================================
- Hits          9452     9439      -13     
+ Misses        3598     3589       -9     
  Partials       452      452              
Files Coverage Δ
x/fungible/genesis.go 100.00% <ø> (ø)
x/fungible/types/genesis.go 100.00% <100.00%> (ø)

@skosito skosito changed the title refactor: replace broadcast mode block with sync refactor: replace broadcast mode block with sync and remove fungible params Apr 11, 2024
@skosito
Copy link
Contributor Author

skosito commented Apr 11, 2024

Looks good, can we rename the PR title?

done

@lumtis lumtis mentioned this pull request Apr 12, 2024
6 tasks
@skosito
Copy link
Contributor Author

skosito commented Apr 17, 2024

@lumtis @ws4charlie could you please recheck when you get a chance? i reverted proto files indexes changes, including the one i did in cross chain gen state here: 87980cd

@skosito skosito requested review from ws4charlie and lumtis April 17, 2024 13:25
@lumtis lumtis merged commit f574d9c into develop Apr 18, 2024
21 checks passed
@lumtis lumtis deleted the remove-broadcastmode-block branch April 18, 2024 07:32
@skosito skosito mentioned this pull request Apr 22, 2024
10 tasks
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.

Remove usage of broadcast mode block everywhere
4 participants