-
Notifications
You must be signed in to change notification settings - Fork 509
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
Unable to sign evm transactions again (regression) #753
Comments
Hey @randy75828 It would be helpful to tell what and where do you try to sign EVM transaction. |
I'm signing on our demex application. It is a feature that is planned for release today but due to the sudden change in the chain config here it is blocked in testing environment. In short it is blocked because of the evm info removal |
I saw that reversion is probably due to the SWTH values not showing corrrectly on the keplr wallet, which probably stems from the fact that probably the wallet cannot differentiate an 8dp SWTH (cosmos) vs 18dp SWTH (evm). However this reversion is causing us to not being able to sign evm transaction |
You are right. and another crucial problem is Metamask user's address is derived with 'coin type 60', but Keplr user's address is derived with 'coin type 118'. We don't support both coin typ 60 and 118 as on one chain. so we split Carbon chain config into cosmos version(coin type 118, cosmos/carbon.json) and evm version (coin type 60, evm/eip155:9790.json). If you want to use evm functionality, you should use Keplr with ethereum json rpc provider via |
If you want to sign and send a transaction, you can use |
appreciate the help! it is working now! @delivan |
@delivan i realised there is no way for me to suggest chain unless i hardcode the json i got while added keplr via the official keplr website
is there any api available for me to call? |
You can call |
Hmm but in that case I'll need to hardcore the params regardless, based on what is on keplr wallet registry for my Evm chain? |
Yes, It would be good to do that and one thing you should change is |
There is no way for that connection popup, but after that you can call |
@randy75828 Have you connected to your chain? does that error make your logic stuck? |
I think that happened when i remove the chain from the extension. Can only resolve it when i disconnect the wallet from my website via the keplr extension |
@delivan Is there a way to programatically remove the chain and add again? |
It seems like there is a recent removal in the evm field in carbon.json as shown here:
feeaefb
and that the evm info for the chain is moved to:
https://github.com/chainapsis/keplr-chain-registry/blob/main/evm/eip155%3A9790.json
but this brings back this error
Not ethermint like and EVM chain
due to the missing evmInfo field.This sudden update is breaking our chains evm transaction. Can anyone help?
The text was updated successfully, but these errors were encountered: