-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax Chain ID format requirement for EIP-712 verification
The upstream Eip712SigVerificationDecorator requires the Cosmos Chain ID to adhere to a format like "evmos_7001-1" which does not work for Gravity's "gravity-bridge-3" format. This commit adds a EvmChainId value to the AnteHandler HandlerOptions so that Gravity can override that check and use its existing Chain ID format. Chain IDs are difficult to change and cause a lot of issues with IBC channels once changed. By relaxing this restriction the integration of EIP-712 is made much simpler.
- Loading branch information
1 parent
e1e27e1
commit abd1a5d
Showing
2 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters