Skip to content

Commit

Permalink
adding test for when default is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhuie19 committed Aug 10, 2024
1 parent b082750 commit f647102
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions testdata/scripts/node/validate/defaults-override.txtar
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# test with default override
mkdir default_overrides
env CL_CHAIN_DEFAULTS=default_overrides
exec chainlink node -c config.toml -s secrets.toml validate
cmp stdout out.txt

# remove override, FinalityTagEnabled should no longer match
env CL_CHAIN_DEFAULTS=
exec chainlink node -c config.toml -s secrets.toml validate
! cmp stdout out.txt

-- default_overrides/Ethereum_Mainnet.toml --
ChainID = '1'
FinalityTagEnabled = true
Expand Down

0 comments on commit f647102

Please sign in to comment.