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

Taztingo/1275 remove legacy amino #1304

Merged
merged 23 commits into from
Jan 19, 2023
Merged

Conversation

Taztingo
Copy link
Contributor

@Taztingo Taztingo commented Jan 12, 2023

Description

Update ModuleCdc for each module to use ProtoCodec instead of LegacyAminos. Removed LegacyAmino paths from each module and removed querier.go. Removed old migrations since they used legacy aminos. Also removed the unused methods that were needed by the sdk.LegacyMsg.

closes: #1275


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@Taztingo Taztingo requested a review from a team as a code owner January 12, 2023 19:54
@codecov
Copy link

codecov bot commented Jan 12, 2023

Codecov Report

Merging #1304 (69b341d) into main (2e7701d) will increase coverage by 0.39%.
The diff coverage is 29.26%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1304      +/-   ##
==========================================
+ Coverage   58.69%   59.08%   +0.39%     
==========================================
  Files         206      196      -10     
  Lines       25529    24497    -1032     
==========================================
- Hits        14984    14475     -509     
+ Misses       9434     8945     -489     
+ Partials     1111     1077      -34     
Impacted Files Coverage Δ
x/attribute/keeper/migrations.go 0.00% <ø> (-28.58%) ⬇️
x/attribute/types/codec.go 0.00% <ø> (-50.00%) ⬇️
x/attribute/types/msgs.go 40.17% <ø> (+7.09%) ⬆️
x/marker/keeper/migrations.go 0.00% <ø> (-18.19%) ⬇️
x/marker/types/codec.go 100.00% <ø> (ø)
x/marker/types/msg.go 30.74% <ø> (+6.01%) ⬆️
x/metadata/keeper/migrations.go 0.00% <ø> (-87.10%) ⬇️
x/metadata/types/codec.go 0.00% <0.00%> (-51.67%) ⬇️
x/metadata/types/msg.go 34.42% <ø> (+2.65%) ⬆️
x/msgfees/types/msgs.go 86.84% <ø> (+13.50%) ⬆️
... and 21 more

llama-del-rey
llama-del-rey previously approved these changes Jan 13, 2023
egaxhaj
egaxhaj previously approved these changes Jan 17, 2023
Copy link
Contributor

@egaxhaj egaxhaj left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@nullpointer0x00 nullpointer0x00 left a comment

Choose a reason for hiding this comment

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

Every thing looks good, but the change in event value might be wrong.

internal/handlers/msg_service_router_test.go Show resolved Hide resolved
Copy link
Contributor

@nullpointer0x00 nullpointer0x00 left a comment

Choose a reason for hiding this comment

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

Nice work on this!

@Taztingo Taztingo enabled auto-merge (squash) January 18, 2023 20:23
Copy link
Contributor

@derekadams derekadams left a comment

Choose a reason for hiding this comment

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

LGTM

@Taztingo Taztingo merged commit c806d5a into main Jan 19, 2023
@Taztingo Taztingo deleted the taztingo/1275-remove-legacy-amino branch January 19, 2023 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove deprecated legacy amino
5 participants