-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zetaclient should pick up new connector and erc20 custody addresses
- Loading branch information
1 parent
810c7c1
commit 364b817
Showing
10 changed files
with
296 additions
and
206 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package stub | ||
|
||
import ( | ||
"github.com/rs/zerolog" | ||
crosschaintypes "github.com/zeta-chain/zetacore/x/crosschain/types" | ||
observertypes "github.com/zeta-chain/zetacore/x/observer/types" | ||
"github.com/zeta-chain/zetacore/zetaclient/interfaces" | ||
) | ||
|
||
var _ interfaces.ChainClient = (*EVMClient)(nil) | ||
|
||
// EVMClient is a mock of evm chain client for testing | ||
type EVMClient struct { | ||
} | ||
|
||
func NewEVMClient() *EVMClient { | ||
return &EVMClient{} | ||
} | ||
|
||
func (s *EVMClient) Start() { | ||
} | ||
|
||
func (s *EVMClient) Stop() { | ||
} | ||
|
||
func (s *EVMClient) IsSendOutTxProcessed(_ *crosschaintypes.CrossChainTx, _ zerolog.Logger) (bool, bool, error) { | ||
return false, false, nil | ||
} | ||
|
||
func (s *EVMClient) SetChainParams(observertypes.ChainParams) { | ||
} | ||
|
||
func (s *EVMClient) GetChainParams() observertypes.ChainParams { | ||
return observertypes.ChainParams{} | ||
} | ||
|
||
func (s *EVMClient) GetTxID(_ uint64) string { | ||
return "" | ||
} | ||
|
||
func (s *EVMClient) ExternalChainWatcherForNewInboundTrackerSuggestions() { | ||
} |
Oops, something went wrong.