Skip to content

Commit

Permalink
Add support for Base blockchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Agustin Godnic committed Jul 20, 2023
1 parent 65bf66c commit a7a4108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/domain/chainid.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func TranslateEmitterAddress(chainID sdk.ChainID, address string) (string, error
// EVM chains use the classic hex, 0x-prefixed encoding.
// Also, Karura and Acala support EVM-compatible addresses, so they're handled here as well.
case sdk.ChainIDEthereum,
sdk.ChainIDBase,
sdk.ChainIDBSC,
sdk.ChainIDPolygon,
sdk.ChainIDAvalanche,
Expand Down Expand Up @@ -213,7 +214,6 @@ func EncodeTrxHashByChainID(chainID sdk.ChainID, txHash []byte) (string, error)
//TODO: check if this is correct
return hex.EncodeToString(txHash), nil
case sdk.ChainIDBase:
//TODO: check if this is correct
return hex.EncodeToString(txHash), nil
case sdk.ChainIDSei:
return hex.EncodeToString(txHash), nil
Expand Down

0 comments on commit a7a4108

Please sign in to comment.