@@ -83,15 +83,6 @@ func (op *Operation) EIP712Message() apitypes.TypedDataMessage {
8383// ChainId is parsed as int64 because go-ethereum's apitypes.TypedDataDomain
8484// uses math.HexOrDecimal256 type for ChainID, whose constructor accepts
8585// only int64.
86- //
87- // -------------------------------
88- // Non-EVM Chains Compatibility
89- // -------------------------------
90- //
91- // ChainId being int64 instead of string, makes this EIP-712 domain
92- // incompatible with non-EVM chains and we'll need to explore other methods
93- // to encode Operations, generate hash and sign them for Solana, Cosmos
94- // Aptos and Sui chain families.
9586func (op * Operation ) TypedData (chainId string ) (* apitypes.TypedData , error ) {
9687 chainIdInt , err := strconv .ParseInt (chainId , 10 , 64 )
9788 if err != nil {
@@ -126,15 +117,6 @@ func (op *Operation) TypedData(chainId string) (*apitypes.TypedData, error) {
126117//
127118// ChainId is int64 because go-ethereum's apitypes.TypedDataDomain uses uses
128119// math.HexOrDecimal256 type for ChainID, whose constructor accepts only int64.
129- //
130- // -------------------------------
131- // Non-EVM Chains Compatibility
132- // -------------------------------
133- //
134- // ChainId being int64 instead of string makes this EIP-712 domain
135- // incompatible with non-EVM chains, and we'll need to explore other methods
136- // to encode Operations, generate hashes, and sign them for Solana, Cosmos,
137- // Aptos, and Sui chain families.
138120type EIP712Domain struct {
139121 Name string `json:"name"`
140122 Version string `json:"version"`
0 commit comments