Skip to content

Commit

Permalink
Add eip712 real chain ID
Browse files Browse the repository at this point in the history
  • Loading branch information
wr1159 committed Jul 22, 2024
1 parent b097017 commit 9362d28
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 20 deletions.
4 changes: 4 additions & 0 deletions proto/ethermint/types/v1/web3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ message ExtensionOptionsWeb3Tx {
// fee_payer_sig is a signature data from the fee paying account,
// allows to perform fee delegation when using EIP712 Domain.
bytes fee_payer_sig = 3 [(gogoproto.jsontag) = "feePayerSig,omitempty"];

// eip_712_real_chain_id is the real chain id used in EIP712 signature
// when user signs from a different chain
uint64 eip_712_real_chain_id = 4 [(gogoproto.jsontag)= "eip712RealChainID,omitempty", (gogoproto.customname) = "EIP712RealChainID"];
}
73 changes: 53 additions & 20 deletions types/web3.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9362d28

Please sign in to comment.