Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TT-748] TOML config for integration tests #11588

Merged
merged 220 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
220 commits
Select commit Hold shift + click to select a range
a300fca
WIP#1
Tofel Dec 13, 2023
f6592b9
WIP#2
Tofel Dec 13, 2023
0613ca2
WIP#3
Tofel Dec 14, 2023
e2aaed6
WIP#4
Tofel Dec 14, 2023
ba2f340
Merge branch 'develop' into f_toml_config
Tofel Dec 14, 2023
138ad53
WIP#5
Tofel Dec 14, 2023
f7732f6
WIP#6
Tofel Dec 14, 2023
61bc1ca
wIP#7 - overrides and validations for vrfv2
Tofel Dec 14, 2023
da28373
wIP#8 - overrides and validations for vrfv2lus
Tofel Dec 14, 2023
e13620d
WIP#9 - adjust vrfv2/plus default configs
Tofel Dec 14, 2023
d835ee8
fix test config test, add logger to it
Tofel Dec 14, 2023
f9e8490
smoke tests should work now
Tofel Dec 15, 2023
7a4ab32
Merge branch 'develop' into f_toml_config
Tofel Dec 15, 2023
7895a96
fix replace, fix workflow
Tofel Dec 15, 2023
4f5031e
try to remove newlines from base64
Tofel Dec 15, 2023
957948b
update ctf version, fix line wrap
Tofel Dec 15, 2023
7520790
use newer version of ctf, fix log poller and workflow issues
Tofel Dec 15, 2023
0357077
expand selected networks to array
Tofel Dec 15, 2023
94e7cf0
fix vrfv2 smoke test, mask baseb4 override
Tofel Dec 15, 2023
d82bf00
define base64 override before masking it
Tofel Dec 18, 2023
0e1d68e
a couple of masks more
Tofel Dec 18, 2023
040461e
Merge branch 'develop' into f_toml_config
Tofel Dec 18, 2023
792b0f8
set some content for BASE64_CONFIG_OVERRIDE so that it's masked
Tofel Dec 18, 2023
e5ac2dc
remove masks that break toml config
Tofel Dec 18, 2023
4b4c185
Merge branch 'develop' into f_toml_config
Tofel Dec 21, 2023
66bd702
experiment with base64 #1
Tofel Dec 21, 2023
b2797dd
Merge branch 'develop' into f_toml_config
Tofel Dec 21, 2023
3c2d389
fix ocr2 smoke test
Tofel Dec 21, 2023
4a1a4ae
fix lints
Tofel Dec 21, 2023
360c30a
baseb4 experiment #2
Tofel Dec 21, 2023
3b78c59
base64 experiment #3
Tofel Dec 21, 2023
781ecfa
Merge branch 'develop' into f_toml_config
Tofel Dec 21, 2023
e0d6d72
hardcode some image
Tofel Dec 21, 2023
12bb55f
exp#5
Tofel Dec 21, 2023
a990714
fail config test on purpose
Tofel Dec 22, 2023
c5b495d
Merge branch 'develop' into f_toml_config
Tofel Dec 22, 2023
f33b9a1
fix lints
Tofel Dec 22, 2023
2c3a8fb
run all smoke tests
Tofel Dec 22, 2023
1c8913f
add missing test config to ocr2 test
Tofel Dec 22, 2023
c699aa8
add missing loki_url
Tofel Dec 22, 2023
e8561cf
remove old config files, set config override for remote runner
Tofel Dec 22, 2023
90bbe82
fix compile errors
Tofel Dec 22, 2023
1fcee79
fix lint
Tofel Dec 22, 2023
e092219
make the vrfv2plus name in test matrix unique
Tofel Dec 22, 2023
143954b
fix loki env config, adjust vrfv2 and vrfv2plus tests and configs
Tofel Dec 22, 2023
bef15f7
add TOML-specific overriding of CL image/version in k8s
Tofel Jan 2, 2024
30f6964
Merge branch 'develop' into f_toml_config
Tofel Jan 2, 2024
10b178f
fixed automation load test
Tofel Jan 2, 2024
1b35c70
couple small fixes to how helm is created
Tofel Jan 2, 2024
86993b6
remove multiple config files, store all config versions in single pro…
Tofel Jan 2, 2024
5398ed6
Merge branch 'develop' into f_toml_config
Tofel Jan 2, 2024
9e2d062
go.mod
Tofel Jan 2, 2024
1309f20
restore deleted test, fix vrfv2 smoke tests
Tofel Jan 2, 2024
0875fce
fix vrfv2plus config validation
Tofel Jan 2, 2024
501022b
properly fix vrfv2plus smoke test
Tofel Jan 2, 2024
b20be98
fix loki basic auth passing
Tofel Jan 3, 2024
6b90311
add add-mask again to base64
Tofel Jan 3, 2024
d3d29ff
remove obsolete configs, use latest ctf, adjust tomls
Tofel Jan 3, 2024
c73c855
try another base64 hiding
Tofel Jan 3, 2024
48926b9
go.sum
Tofel Jan 3, 2024
96fd7d3
fix loki compile issue
Tofel Jan 3, 2024
182266e
try base64 env var with _SECRET suffix
Tofel Jan 3, 2024
d9709a1
try yet another variable name
Tofel Jan 3, 2024
055584b
restore old env var name
Tofel Jan 3, 2024
14f4bf0
another obscuring attempt
Tofel Jan 3, 2024
cd07ff6
another attempt
Tofel Jan 3, 2024
afefe7f
use newer CTF version, check what env vars are forwaded to k8s
Tofel Jan 3, 2024
cfe7e30
go.sum
Tofel Jan 3, 2024
766202e
updated to latest ctf
Tofel Jan 3, 2024
30844ee
try on demand autonation test with base64 input
Tofel Jan 4, 2024
799e0f9
modify all other test workflows so that they use TOML config
Tofel Jan 4, 2024
ae6a133
Merge branch 'develop' into f_toml_config
Tofel Jan 4, 2024
2bf3793
update reamdes, example envs and some more workflows
Tofel Jan 4, 2024
ac37f0b
uncomment solana tests
Tofel Jan 4, 2024
db86b4f
update to latest ctf
Tofel Jan 4, 2024
6894d70
update to latest ctf
Tofel Jan 4, 2024
56b4dd0
go.mod
Tofel Jan 5, 2024
3020feb
add MustCopy() method to TestConfig, fix failing vrvf2plus test
Tofel Jan 5, 2024
518d9a5
Merge branch 'develop' into f_toml_config
Tofel Jan 5, 2024
323b18f
fix duration usages
Tofel Jan 5, 2024
2f6a228
fix lints
Tofel Jan 5, 2024
1210a4f
added examples of full configs for each product
Tofel Jan 5, 2024
a5ba029
use latest ctf
Tofel Jan 5, 2024
fc635c5
Merge branch 'develop' into f_toml_config
Tofel Jan 8, 2024
6470011
simplify some examples, correct client compatibility workflow
Tofel Jan 8, 2024
a0e1ecd
Merge branch 'develop' into f_toml_config
Tofel Jan 8, 2024
1410978
Merge branch 'f_toml_config' of github.com:smartcontractkit/chainlink…
Tofel Jan 8, 2024
c0a3327
go.mod
Tofel Jan 8, 2024
db3e121
copy TOML configs before executing test binary in compatibility job
Tofel Jan 9, 2024
915cdca
use bash not sh to run the script, add missing patterns
Tofel Jan 9, 2024
a2e242e
chmod script and run it
Tofel Jan 9, 2024
c71b9d3
add debug
Tofel Jan 9, 2024
186d15e
print vars before checking their number
Tofel Jan 9, 2024
eddea7b
another debug attempt
Tofel Jan 9, 2024
c0782b3
try double quotes
Tofel Jan 9, 2024
d929bed
store script and run that
Tofel Jan 9, 2024
fd568f8
fix script formatting
Tofel Jan 9, 2024
8ae9a0f
fix correct script :facepalm:
Tofel Jan 9, 2024
d4d68f4
fix zip command
Tofel Jan 9, 2024
e5e7094
fix upload artifact path
Tofel Jan 9, 2024
5c6d7bd
add some debug
Tofel Jan 9, 2024
f966806
update tracing readme, use latest ctf
Tofel Jan 9, 2024
ba2d02c
latest ctf
Tofel Jan 9, 2024
5171f92
lastest ctf
Tofel Jan 9, 2024
513423d
check what is the config missing
Tofel Jan 9, 2024
3ac678c
add missing pyrscope enabled var
Tofel Jan 9, 2024
9066f77
remove debug
Tofel Jan 9, 2024
8fdf3cc
don't notify Adam if eth client compatibility test fail
Tofel Jan 9, 2024
4dae283
latest ctf, faster eth2 chain by default
Tofel Jan 10, 2024
0f91279
latest ctf, slots per epoch = 2
Tofel Jan 10, 2024
87f599e
go.sum
Tofel Jan 10, 2024
7a93380
move convert_to_toml_array() bash function to a file and import it in…
Tofel Jan 10, 2024
fa54e2b
provide default configs to live testnet tests that use test binary
Tofel Jan 10, 2024
39624c3
pass network config between jobs correctly
Tofel Jan 10, 2024
9cf1d56
set .root_dir for live testnet job
Tofel Jan 10, 2024
77bf39d
try passing
Tofel Jan 10, 2024
b5231d3
try with defined output
Tofel Jan 10, 2024
6b152a9
define correct output for build-tests job
Tofel Jan 10, 2024
6e46f46
fix value name
Tofel Jan 10, 2024
52e7533
debug
Tofel Jan 10, 2024
dd17d3a
2x base64
Tofel Jan 10, 2024
eea82cf
try with shorter variable
Tofel Jan 10, 2024
07b4b95
add network config to dynamic config
Tofel Jan 10, 2024
b8966a2
include shared function
Tofel Jan 10, 2024
ad4a409
embed toml configs when build tag is present
Tofel Jan 10, 2024
b17ce84
test passing shared functions as outputs
Tofel Jan 10, 2024
9dc199a
update action version
Tofel Jan 10, 2024
2ab857e
remove newline from base64
Tofel Jan 10, 2024
a518583
newer gha
Tofel Jan 10, 2024
6e850fa
fix log poller path, adjust client compatibility test to not copy tomls
Tofel Jan 10, 2024
1b09d56
debug
Tofel Jan 11, 2024
61a41e8
once more
Tofel Jan 11, 2024
840aaec
do not use shared function
Tofel Jan 11, 2024
6149c1a
use correct network toml key for sepolia
Tofel Jan 11, 2024
da6c7ff
fix dynamic toml
Tofel Jan 11, 2024
b42b48f
fix tomls
Tofel Jan 11, 2024
934c6c8
fix sepolia endpoint, uncomment slack notifications
Tofel Jan 11, 2024
7d03f8d
remove outputs shared function from clients compatibility tests
Tofel Jan 11, 2024
c847f94
Merge branch 'develop' into f_toml_config
Tofel Jan 11, 2024
dc3dee1
fix alfajores once and for all
Tofel Jan 11, 2024
6213707
use newer gha to build tests
Tofel Jan 11, 2024
09b2fec
don't fail if there's no embedded config
Tofel Jan 11, 2024
f2fa1be
remove tests we don't need anymore
Tofel Jan 11, 2024
c7bc777
Merge branch 'develop' into f_toml_config
Tofel Jan 11, 2024
510602e
use commit from main version of GHA repository instead of branch comm…
Tofel Jan 11, 2024
11c94c3
simplify config overriding
Tofel Jan 12, 2024
e06ab0d
Merge branch 'develop' into f_toml_config
Tofel Jan 12, 2024
8f9ed35
fix go.mod
Tofel Jan 15, 2024
5c3d389
remove ApplyOverride() and fix compile issue
Tofel Jan 15, 2024
2064761
fix lint
Tofel Jan 15, 2024
592f488
try base64 value extraction
Tofel Jan 15, 2024
6a7643b
try anothe approach
Tofel Jan 15, 2024
6bcdfb3
yet another attempt
Tofel Jan 15, 2024
dbb2a37
yet another attempt 2
Tofel Jan 15, 2024
17cf68a
fix base64 from input
Tofel Jan 15, 2024
e57338f
one more time with final config
Tofel Jan 15, 2024
5035741
last test
Tofel Jan 15, 2024
177b578
make automation-ondemand test more secure, remove debug from on-deman…
Tofel Jan 15, 2024
2b6a89f
uncommet test execution in vrfv2 performance workflow
Tofel Jan 15, 2024
3b738bd
use private eth networks instead of geth in vrf load tests
iljapavlovs Jan 15, 2024
7afa154
Merge remote-tracking branch 'origin/f_toml_config' into f_toml_config
iljapavlovs Jan 15, 2024
60c7153
update TOML keys related to Loki and Grafana
Tofel Jan 15, 2024
52cf82a
by default use pow, not pos
Tofel Jan 15, 2024
01e5a02
go.mod
Tofel Jan 15, 2024
9dbf00f
latest ctf
Tofel Jan 15, 2024
15c56e7
remove references to deleted performance test suite
Tofel Jan 16, 2024
e340d89
don't require Loki config when using remote runner
Tofel Jan 16, 2024
6f6fc28
latest ctf
Tofel Jan 16, 2024
58ba435
add Load config and figure out overrides
skudasov Jan 16, 2024
a024383
append loki config to ocr soak test on demand job
Tofel Jan 18, 2024
952c6b7
Merge remote-tracking branch 'origin/f_toml_config' into f_toml_config
skudasov Jan 18, 2024
0a801b8
embed test configs and create .root_dir, when building test image
Tofel Jan 18, 2024
af24093
define an interface for global test config
Tofel Jan 18, 2024
d1f9015
move interface to testconfig
Tofel Jan 18, 2024
12dc7c0
Merge branch 'develop' into f_toml_config
Tofel Jan 18, 2024
7d891d5
set pyroscope env for cron
Tofel Jan 18, 2024
08618c2
fix check for remote running
Tofel Jan 18, 2024
e1d45c3
Merge remote-tracking branch 'origin/f_toml_config' into f_toml_config
skudasov Jan 19, 2024
a60f91c
bump CTF
skudasov Jan 19, 2024
007fc9a
use interfaces in public methods instead of TestConfig
Tofel Jan 19, 2024
9274a31
Merge branch 'f_toml_config' of github.com:smartcontractkit/chainlink…
Tofel Jan 19, 2024
20e5b07
small adjustments
Tofel Jan 19, 2024
017fedb
fix test env builder
Tofel Jan 19, 2024
024ce3b
Merge branch 'develop' into f_toml_config
Tofel Jan 19, 2024
c952cec
fix automation config type cast
Tofel Jan 19, 2024
11dba43
Merge branch 'develop' into f_toml_config
Tofel Jan 19, 2024
c10102a
use latest ctf
Tofel Jan 19, 2024
11d7b36
add special handling for slice override for Automation
Tofel Jan 19, 2024
efbf928
update examples
Tofel Jan 19, 2024
b8024f8
slightly adjust vrfv2 configs, remove default empty values
Tofel Jan 19, 2024
c40b909
Merge branch 'develop' into f_toml_config
gheorghestrimtu Jan 22, 2024
10886b4
move creation of base64 config override env var in smoke tests to a G…
Tofel Jan 22, 2024
f88a2ec
Merge branch 'develop' into f_toml_config
Tofel Jan 22, 2024
744a818
Merge branch 'f_toml_config' of github.com:smartcontractkit/chainlink…
Tofel Jan 22, 2024
6410255
fix compile error
Tofel Jan 22, 2024
80b7faf
debug for ocr test, camelcase for base64 action, two new actions to r…
Tofel Jan 22, 2024
f4263e1
checkout repo before accessing actions
Tofel Jan 22, 2024
85788c2
remove unnecessary test config instance from ocr test
Tofel Jan 22, 2024
228173e
mask before using input, more ocr debug
Tofel Jan 22, 2024
43599c4
remove debug, fix reading named configurations from base64 override
Tofel Jan 22, 2024
8263f10
mask input before using merge base64 action
Tofel Jan 22, 2024
c3b4f39
fix integration tests workflow
Tofel Jan 22, 2024
cc7f270
update default.toml, add action for live testnet tests
Tofel Jan 22, 2024
ad596ab
download test binary after creating base64 env var
Tofel Jan 22, 2024
029ebb0
fix missing log targets
Tofel Jan 22, 2024
dcf2e61
comment out reporting part
Tofel Jan 22, 2024
c0fb4b6
reuse live testnets specific action
Tofel Jan 22, 2024
303e36d
fix network names
Tofel Jan 22, 2024
6466af8
use dynamic network key
Tofel Jan 22, 2024
389ee01
Merge branch 'develop' into f_toml_config
Tofel Jan 23, 2024
6d35c1e
Merge branch 'develop' into f_toml_config
Tofel Jan 23, 2024
d9d5854
fix automation tests (#11815)
anirudhwarrier Jan 23, 2024
b9f1a3a
fix chain config for eth2 compatibility tests
Tofel Jan 23, 2024
abbe324
replace in-workflow toml generation for CL version upgrade tests with…
Tofel Jan 23, 2024
a33df3f
make test timeout configurable in client compatbility tests
Tofel Jan 23, 2024
9daefa4
Merge branch 'develop' into f_toml_config
skudasov Jan 23, 2024
0a91662
Merge branch 'develop' into f_toml_config
Tofel Jan 24, 2024
badbd74
Merge branch 'develop' into f_toml_config
Tofel Jan 24, 2024
a8a5eff
Merge branch 'f_toml_config' of github.com:smartcontractkit/chainlink…
Tofel Jan 24, 2024
5f5bb88
prepare base64 config for log poller matrix tests
Tofel Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'develop' into f_toml_config
  • Loading branch information
Tofel committed Dec 14, 2023
commit ba2f34088c6c7ede4b7186e73e44880058386749
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ tools/flakeytests/coverage.txt
.test_summary/
.run.id

overrides.toml
overrides.toml
11 changes: 3 additions & 8 deletions integration-tests/actions/private_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@ import (
"github.com/rs/zerolog"

ctf_test_env "github.com/smartcontractkit/chainlink-testing-framework/docker/test_env"
tc "github.com/smartcontractkit/chainlink/integration-tests/testconfig"
)

func EthereumNetworkConfigFromEnvOrDefault(l zerolog.Logger) (network ctf_test_env.EthereumNetwork, err error) {
chainConfig := ctf_test_env.EthereumChainConfig{
SecondsPerSlot: 8,
SlotsPerEpoch: 4,
}

func EthereumNetworkConfigFromConfig(l zerolog.Logger, config *tc.TestConfig) (network ctf_test_env.EthereumNetwork, err error) {
ethBuilder := ctf_test_env.NewEthereumNetworkBuilder()
network, err = ethBuilder.
WithExecClientFromEnvVar().
WithEthereumChainConfig(chainConfig).
WithExistingConfig(*config.PrivateEthereumNetwork).
Build()

if errors.Is(err, ctf_test_env.ErrMissingExecClientEnvVar) {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/docker/test_env/test_env_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (b *CLTestEnvBuilder) Build() (*CLClusterTestEnv, error) {
}

if b.hasLogStream {
b.te.LogStream, err = logstream.NewLogStream(b.t, b.testConfig.Logging)
b.te.LogStream, err = logstream.NewLogStream(b.te.t, b.testConfig.Logging)
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/lib/pq v1.10.9
github.com/manifoldco/promptui v0.9.0
github.com/onsi/gomega v1.30.0
github.com/pelletier/go-toml/v2 v2.1.0
github.com/pelletier/go-toml/v2 v2.1.1
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.30.0
github.com/scylladb/go-reflectx v1.0.1
Expand Down
2 changes: 2 additions & 0 deletions integration-tests/load/ocr/ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (

"github.com/smartcontractkit/chainlink-testing-framework/logging"
tc "github.com/smartcontractkit/chainlink/integration-tests/testconfig"

"github.com/smartcontractkit/chainlink/integration-tests/k8s"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/load/vrfv2plus/vrfv2plus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func TestVRFV2PlusPerformance(t *testing.T) {
err = env.EVMClient.WaitForEvents()
require.NoError(t, err, vrfv2plus.ErrWaitTXsComplete)
l.Info().
Str("Coordinator", cfg.ExistingEnvConfig.CoordinatorAddress).
Str("Coordinator", vrfv2PlusConfig.CoordinatorAddress).
Int("Number of Subs to create", vrfv2PlusConfig.NumberOfSubToCreate).
Msg("Creating and funding subscriptions, deploying and adding consumers to subs")
subIDs, err = vrfv2plus.CreateFundSubsAndAddConsumers(
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/migration/upgrade_version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestVersionUpgrade(t *testing.T) {

env, err := test_env.NewCLTestEnvBuilder().
WithTestConfig(&config).
WithTestLogger(t).
WithTestInstance(t).
WithGeth().
WithCLNodes(1).
WithStandardCleanup().
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/smoke/automation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ func setupAutomationTestDocker(
clNodesCount := 5
if isMercuryV02 || isMercuryV03 {
env, err = test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(config).
WithGeth().
WithMockAdapter().
Expand Down Expand Up @@ -1172,7 +1172,7 @@ func setupAutomationTestDocker(

} else {
env, err = test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(config).
WithGeth().
WithMockAdapter().
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/smoke/cron_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestCronBasic(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithMockAdapter().
Expand Down Expand Up @@ -79,7 +79,7 @@ func TestCronJobReplacement(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithMockAdapter().
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/flux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestFluxBasic(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithMockAdapter().
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/forwarder_ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestForwarderOCRBasic(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithMockAdapter().
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/forwarders_ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func TestForwarderOCR2Basic(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithMockAdapter().
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ func setupKeeperTest(t *testing.T, config *tc.TestConfig) (
clNodeConfig.Keeper.Registry.PerformGasOverhead = &performGasOverhead

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(config).
WithGeth().
WithCLNodes(5).
Expand Down
9 changes: 6 additions & 3 deletions integration-tests/smoke/ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ func TestOCRv2Basic(t *testing.T) {
t.Fatal(err)
}

network, err := actions.EthereumNetworkConfigFromConfig(l, &config)
require.NoError(t, err, "Error building ethereum network config")

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithPrivateEthereumNetwork(network).
WithMockAdapter().
WithCLNodeConfig(node.NewConfig(node.NewBaseConfig(),
node.WithOCR2(),
Expand Down Expand Up @@ -111,7 +114,7 @@ func TestOCRv2JobReplacement(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithMockAdapter().
Expand Down
9 changes: 6 additions & 3 deletions integration-tests/smoke/ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ func TestOCRBasic(t *testing.T) {
t.Fatal(err)
}

network, err := actions.EthereumNetworkConfigFromConfig(l, &config)
require.NoError(t, err, "Error building ethereum network config")

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithPrivateEthereumNetwork(network).
WithMockAdapter().
WithCLNodes(6).
WithFunding(big.NewFloat(.5)).
Expand Down Expand Up @@ -79,7 +82,7 @@ func TestOCRJobReplacement(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithMockAdapter().
Expand Down
104 changes: 0 additions & 104 deletions integration-tests/smoke/run_log_test.go

This file was deleted.

4 changes: 2 additions & 2 deletions integration-tests/smoke/vrf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestVRFBasic(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithCLNodes(1).
Expand Down Expand Up @@ -125,7 +125,7 @@ func TestVRFJobReplacement(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithCLNodes(1).
Expand Down
7 changes: 5 additions & 2 deletions integration-tests/smoke/vrfv2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ func TestVRFv2Basic(t *testing.T) {
t.Fatal(err)
}

network, err := actions.EthereumNetworkConfigFromConfig(l, &config)
require.NoError(t, err, "Error building ethereum network config")

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithPrivateEthereumNetwork(network).
WithCLNodes(1).
WithFunding(big.NewFloat(*config.Common.ChainlinkNodeFunding)).
WithStandardCleanup().
Expand Down
11 changes: 7 additions & 4 deletions integration-tests/smoke/vrfv2plus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ func TestVRFv2Plus(t *testing.T) {
t.Fatal(err)
}

network, err := actions.EthereumNetworkConfigFromConfig(l, &config)
require.NoError(t, err, "Error building ethereum network config")

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithPrivateEthereumNetwork(network).
WithCLNodes(1).
WithFunding(big.NewFloat(*config.Common.ChainlinkNodeFunding)).
WithStandardCleanup().
Expand Down Expand Up @@ -613,7 +616,7 @@ func TestVRFv2PlusMultipleSendingKeys(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithCLNodes(1).
Expand Down Expand Up @@ -706,7 +709,7 @@ func TestVRFv2PlusMigration(t *testing.T) {
}

env, err := test_env.NewCLTestEnvBuilder().
WithTestLogger(t).
WithTestInstance(t).
WithTestConfig(&config).
WithGeth().
WithCLNodes(1).
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/testconfig/functions/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"math/big"

"github.com/ethereum/go-ethereum/common"
"github.com/smartcontractkit/chainlink/v2/core/store/models"

"github.com/smartcontractkit/chainlink-testing-framework/utils/net"
"github.com/smartcontractkit/chainlink/v2/core/store/models"
)

const (
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.