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

update new names, NativeCoin -> CosmosCoin #1596

Merged
merged 4 commits into from
May 23, 2023

Conversation

pirtleshell
Copy link
Member

Description

Updates newly added types with a better name. What were objects referring to "native" coins & denoms now refer to "cosmos" coins and denoms.

Checklist

  • Changelog has been updated as necessary.

Comment on lines +21 to +24
# TODO: reenable me after merge of Native -> Cosmos name change committed to master.
# - run: make check-proto-breaking-remote
# - run: BUF_CHECK_BREAKING_AGAINST_REMOTE="branch=$GITHUB_BASE_REF" make check-proto-breaking-remote
# if: github.event_name == 'pull_request'
Copy link
Member Author

Choose a reason for hiding this comment

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

i am disabling these checks temporarily. i've confirmed all breaking proto changes are only for unreleased types:

Checking for proto backward compatibility
proto/kava/evmutil/v1beta1/conversion_pair.proto:1:1:Previously present message "AllowedNativeCoinERC20Token" was deleted from file.
proto/kava/evmutil/v1beta1/genesis.proto:50:3:Field "1" with name "allowed_cosmos_denoms" on message "Params" changed option "json_name" from "allowedNativeDenoms" to "allowedCosmosDenoms".
proto/kava/evmutil/v1beta1/genesis.proto:50:12:Field "1" on message "Params" changed type from "kava.evmutil.v1beta1.AllowedNativeCoinERC20Token" to "kava.evmutil.v1beta1.AllowedCosmosCoinERC20Token".
proto/kava/evmutil/v1beta1/genesis.proto:50:40:Field "1" on message "Params" changed name from "allowed_native_denoms" to "allowed_cosmos_denoms".
proto/kava/evmutil/v1beta1/tx.proto:1:1:Previously present message "MsgConvertNativeCoinToERC20" was deleted from file.
proto/kava/evmutil/v1beta1/tx.proto:1:1:Previously present message "MsgConvertNativeCoinToERC20Response" was deleted from file.
proto/kava/evmutil/v1beta1/tx.proto:13:1:Previously present RPC "ConvertNativeCoinToERC20" on service "Msg" was deleted.

intend to reenable in next pr.

@galxy25
Copy link
Contributor

galxy25 commented May 23, 2023

approved pending fix of Error: error validating genesis file ci/env/kava-protonet/genesis.json: unknown field "allowed_native_denoms" in types.Params from https://github.com/Kava-Labs/kava/actions/runs/5060706470/jobs/9084209834?pr=1596

@pirtleshell pirtleshell merged commit d4cbc75 into master May 23, 2023
@pirtleshell pirtleshell deleted the rp-update-names-native-to-cosmos branch May 23, 2023 19:32
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.

3 participants