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: rename MsgRemoveForeignCoin name field into zrc20Address and remove crosschain param #1722

Closed
wants to merge 6 commits into from

Conversation

ptdatta
Copy link

@ptdatta ptdatta commented Feb 6, 2024

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Closes: #1650 & #1596

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

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

@ptdatta ptdatta changed the title My dev style: Formatting code Feb 6, 2024
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.

Thanks!

We need to run:

make generate

And could we add this line in changlog.md under # Unreleased

## Unreleased

- `MsgRemoveForeignCoin`: `Name` field has been renamed in to `ZRC20Address`

proto/fungible/tx.proto Outdated Show resolved Hide resolved
x/fungible/types/message_remove_foreign_coin.go Outdated Show resolved Hide resolved
@lumtis lumtis changed the title style: Formatting code refactor: rename MsgRemoveForeignCoin name field into zrc20Address and remove crosschain param Feb 7, 2024
Signed-off-by: Parthib <[email protected]>
@ptdatta
Copy link
Author

ptdatta commented Feb 7, 2024

Thanks!

We need to run:

make generate

And could we add this line in changlog.md under # Unreleased

## Unreleased

- `MsgRemoveForeignCoin`: `Name` field has been renamed in to `ZRC20Address`

Oops sorry, I previously ran make proto

@ptdatta ptdatta requested a review from lumtis February 7, 2024 12:38
@lumtis
Copy link
Member

lumtis commented Feb 7, 2024

Thanks!
We need to run:

make generate

And could we add this line in changlog.md under # Unreleased

## Unreleased

- `MsgRemoveForeignCoin`: `Name` field has been renamed in to `ZRC20Address`

Oops sorry, I previously ran make proto

Does the command complete successfully?
It openapi file get deleted while it shouldn't happen when running the command

@ptdatta
Copy link
Author

ptdatta commented Feb 8, 2024

Thanks!
We need to run:

make generate

And could we add this line in changlog.md under # Unreleased

## Unreleased

- `MsgRemoveForeignCoin`: `Name` field has been renamed in to `ZRC20Address`

Oops sorry, I previously ran make proto

Does the command complete successfully? It openapi file get deleted while it shouldn't happen when running the command

No, it just deleted some of the files. So, I again cloned the repo again and made changes to it.

@lumtis
Copy link
Member

lumtis commented Feb 8, 2024

Thanks!
We need to run:

make generate

And could we add this line in changlog.md under # Unreleased

## Unreleased

- `MsgRemoveForeignCoin`: `Name` field has been renamed in to `ZRC20Address`

Oops sorry, I previously ran make proto

Does the command complete successfully? It openapi file get deleted while it shouldn't happen when running the command

No, it just deleted some of the files. So, I again cloned the repo again and made changes to it.

Ok, it seems the swagger file is still deleted in the PR

@ptdatta
Copy link
Author

ptdatta commented Feb 9, 2024

Thanks!
We need to run:

make generate

And could we add this line in changlog.md under # Unreleased

## Unreleased

- `MsgRemoveForeignCoin`: `Name` field has been renamed in to `ZRC20Address`

Oops sorry, I previously ran make proto

Does the command complete successfully? It openapi file get deleted while it shouldn't happen when running the command

No, it just deleted some of the files. So, I again cloned the repo again and made changes to it.

Ok, it seems the swagger file is still deleted in the PR

Sorry, Added it.

changelog.md Outdated Show resolved Hide resolved
Signed-off-by: Parthib <[email protected]>
@ptdatta ptdatta requested a review from skosito as a code owner February 14, 2024 19:54
@ptdatta ptdatta requested a review from kingpinXD February 14, 2024 19:54
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!

@lumtis lumtis self-requested a review February 21, 2024 12:56
@lumtis
Copy link
Member

lumtis commented Feb 21, 2024

Looks like there are some build issues @ptdatta

Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.68%. Comparing base (589e228) to head (b2004ef).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1722      +/-   ##
===========================================
+ Coverage    33.95%   37.68%   +3.72%     
===========================================
  Files          132        5     -127     
  Lines         9253      406    -8847     
===========================================
- Hits          3142      153    -2989     
+ Misses        5886      234    -5652     
+ Partials       225       19     -206     

see 127 files with indirect coverage changes

@lumtis
Copy link
Member

lumtis commented Mar 21, 2024

Closing as it seems no longer active. Please let us know if you want to take it back. Thanks for the PR.

@lumtis lumtis closed this Mar 21, 2024
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.

MsgRemoveForeignCoin: rename Name field into ZRC20Address
4 participants