-
Notifications
You must be signed in to change notification settings - Fork 329
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
Secp256k1 signature verification (BandChain) #1155
Comments
I also encountered this problem. My chain uses ed25519, but band chain uses secp256k1 |
I think this is because the tendermint publickey type of bandchain is secp256k1, but the public key of tendermint-rs[0.21.0] does not support signature verification of secp256k1. |
Is there any update on this? We need this as well to integrate with Band Protocol |
Update: informalsystems/tendermint-rs#962 has just been merged into |
pretty good |
I just followed @greg-szabo's instructions using Hermes built from the branch at #1339, and I was able to create a channel between Gaia and Band, as well as relay packets between the two chains. Will mark this issue as closed when we merge 1339. Please keep an eye on #1231 as well, as it seems we may still have issues with BandChain, ie. when its sends packets at EndBlock. |
Crate
relayer
relayer-cli
Summary of Bug
hermes seems to be incompatible with chains that use
tendermint/PubKeySecp256k1
keys.Version
commit ID:
3da7dc12c060271176c8a8870aa399a8eea64820
(master as of opening the issue)
Steps to Reproduce
relayer-cli/Cargo.toml
cargo build --release
)gm hermes keys
)Run create channel (
"/opt/bin/hermes_3da7dc12c060271176c8a8870aa399a8eea64820_secp" create channel ibc-0 ibc-8 --port-a transfer --port-b transfer
)Result (see the warning messages with "received corrupt message" and the final error message):
ALTERNATIVELY, you can just start the hermes relayer and get:
(
"/opt/bin/hermes_3da7dc12c060271176c8a8870aa399a8eea64820_secp" start
)(These last two error messages are somewhat concerning since ibc-0 should not have GRPC issues. It is possible that the issue is with adding the secp256k1 feature in general...)
relayer-cli/Cargo.toml
update example (only the last line):gm.toml for the two example chains:
.hermes/config.toml
:Acceptance Criteria
For Admin Use
The text was updated successfully, but these errors were encountered: