-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into TT-1550-Provide-PoC-for-keeping-test-conf…
…igs-in-git
- Loading branch information
Showing
60 changed files
with
1,548 additions
and
388 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
Use tx in insertLogsWithinTx #internal |
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,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
#internal KMS client for deployment |
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,23 @@ | ||
package actions | ||
|
||
import ( | ||
"github.com/rs/zerolog" | ||
|
||
"github.com/smartcontractkit/chainlink-testing-framework/seth" | ||
|
||
"github.com/smartcontractkit/chainlink/integration-tests/contracts" | ||
tc "github.com/smartcontractkit/chainlink/integration-tests/testconfig" | ||
) | ||
|
||
// LinkTokenContract returns a link token contract instance. Depending on test configuration, it either deploys a new one or uses an existing one. | ||
func LinkTokenContract(l zerolog.Logger, sethClient *seth.Client, configWithLinkToken tc.LinkTokenContractConfig) (*contracts.EthereumLinkToken, error) { | ||
if configWithLinkToken != nil && configWithLinkToken.UseExistingLinkTokenContract() { | ||
linkAddress, err := configWithLinkToken.LinkTokenContractAddress() | ||
if err != nil { | ||
return nil, err | ||
} | ||
|
||
return contracts.LoadLinkTokenContract(l, sethClient, linkAddress) | ||
} | ||
return contracts.DeployLinkTokenContract(l, sethClient) | ||
} |
Oops, something went wrong.