Skip to content

fix: Solidity tests and Proto#6

Open
JordiParraCrespo wants to merge 1 commit intorelease/v0.6.x-xrplevm.xfrom
fix/protos-solidity-tests
Open

fix: Solidity tests and Proto#6
JordiParraCrespo wants to merge 1 commit intorelease/v0.6.x-xrplevm.xfrom
fix/protos-solidity-tests

Conversation

@JordiParraCrespo
Copy link

Description

This pull request introduces a new protobuf definition for Ethereum-compatible secp256k1 cryptographic keys and improves clarity in the MintingEnabled function of the ERC20 keeper by making the use of a placeholder coin more explicit.

New cryptography protobuf definitions:

  • Added proto/cosmos/evm/crypto/v1/ethsecp256k1/keys.proto defining PubKey and PrivKey messages for Ethereum secp256k1 keys, including documentation and package options.

Code clarity improvements:

  • Updated MintingEnabled in x/erc20/keeper/mint.go to construct a placeholder sdk.Coin with Amount=1 for denom checks, clarifying intent and usage.

Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • tackled an existing issue or discussed with a team member
  • left instructions on how to review the changes
  • targeted the main branch

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.

1 participant