Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcauchi committed Dec 14, 2023
1 parent 81f8e0d commit 87e3d41
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on-demand-ocr-soak-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
- "KROMA_SEPOLIA"
- "WEMIX_TESTNET"
- "WEMIX_MAINNET"
- "BTCC_TESTNET"
- "BTTC_TESTNET"
fundingPrivateKey:
description: Private funding key (Skip for Simulated)
required: false
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/contracts/contract_deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ func NewContractDeployer(bcClient blockchain.EVMClient, logger zerolog.Logger) (
return &KromaContractDeployer{NewEthereumContractDeployer(clientImpl, logger)}, nil
case *blockchain.WeMixClient:
return &WeMixContractDeployer{NewEthereumContractDeployer(clientImpl, logger)}, nil
case *blockchain.BTCCClient:
return &BTCCContractDeployer{NewEthereumContractDeployer(clientImpl, logger)}, nil
case *blockchain.BTTCClient:
return &BTTCContractDeployer{NewEthereumContractDeployer(clientImpl, logger)}, nil
}
return nil, errors.New("unknown blockchain client implementation for contract deployer, register blockchain client in NewContractDeployer")
}
Expand Down Expand Up @@ -258,7 +258,7 @@ type WeMixContractDeployer struct {
*EthereumContractDeployer
}

type BTCCContractDeployer struct {
type BTTCContractDeployer struct {
*EthereumContractDeployer
}

Expand Down
7 changes: 7 additions & 0 deletions integration-tests/contracts/contract_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ func NewContractLoader(bcClient blockchain.EVMClient, logger zerolog.Logger) (Co
return &FantomContractLoader{NewEthereumContractLoader(clientImpl, logger)}, nil
case *blockchain.BSCClient:
return &BSCContractLoader{NewEthereumContractLoader(clientImpl, logger)}, nil
case *blockchain.BTTCClient:
return &BSCContractLoader{NewEthereumContractLoader(clientImpl, logger)}, nil
}
return nil, errors.New("unknown blockchain client implementation for contract Loader, register blockchain client in NewContractLoader")
}
Expand Down Expand Up @@ -154,6 +156,11 @@ type BSCContractLoader struct {
*EthereumContractLoader
}

// BTTCContractLoader wraps for BTTC
type BTTCContractLoader struct {
*EthereumContractLoader
}

// NewEthereumContractLoader returns an instantiated instance of the ETH contract Loader
func NewEthereumContractLoader(ethClient blockchain.EVMClient, logger zerolog.Logger) *EthereumContractLoader {
return &EthereumContractLoader{
Expand Down

0 comments on commit 87e3d41

Please sign in to comment.