Skip to content

Releases: smartcontractkit/chainlink-testing-framework

lib/v1.50.17

26 Nov 09:58
lib/v1.50.17
997f5b5
Compare
Choose a tag to compare

Release notes:

  • New tests, bug fixes and option for Flakeguard
  • Test example of controlling block speed with
  • Updated documentation
  • Changed default version to (it's the lowest one supported by the Chainlink node)
  • Bumped to
  • Retracted more tags that were used for testing purposed ()

Commits:

Breaking changes:

gorelease: internal error: error package requires newer Go version go1.23 (*errors.errorString) without position
gorelease: internal error: error package requires newer Go version go1.23 (*errors.errorString) without position
gorelease: internal error: error package requires newer Go version go1.23 (*errors.errorString) without position
gorelease: preparing to load packages for github.com/smartcontractkit/chainlink-testing-framework/lib@v1.50.16: looking for missing dependencies: go: module github.com/smartcontractkit/chainlink-testing-framework/lib@v1.50.16 requires go >= 1.23; switching to go1.23.3
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/ethereum/go-ethereum v1.13.8
go: downloading github.com/pelletier/go-toml v1.9.5
go: downloading golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
go: downloading github.com/btcsuite/btcd/btcec/v2 v2.3.2
go: downloading github.com/deckarep/golang-set/v2 v2.3.0
go: downloading github.com/deckarep/golang-set v1.8.0
go: downloading github.com/cenkalti/backoff v2.0.0+incompatible
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233
go: downloading github.com/VictoriaMetrics/fastcache v1.12.1
go: downloading github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46
go: downloading github.com/crate-crypto/go-kzg-4844 v0.7.0
go: downloading github.com/ethereum/c-kzg-4844 v0.4.0
go: downloading go.opentelemetry.io/contrib v0.20.0
go: downloading sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e
go: downloading github.com/evanphx/json-patch v5.6.0+incompatible
go: downloading github.com/russross/blackfriday v1.6.0
go: downloading github.com/cockroachdb/pebble v0.0.0-20230928194634-aa077af62593
go: downloading github.com/ugorji/go v1.2.7
go: downloading github.com/cockroachdb/errors v1.9.1
go: downloading github.com/cockroachdb/redact v1.1.3
go: downloading github.com/go-ole/go-ole v1.2.6
go: downloading google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/getsentry/sentry-go v0.19.0
go: downloading github.com/bits-and-blooms/bitset v1.10.0
go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
go: downloading github.com/go-redis/redis v6.15.9+incompatible
go: downloading github.com/klauspost/cpuid v1.2.1
go: downloading github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
go: downloading github.com/hashicorp/consul v1.2.1
go: downloading go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489
go: downloading github.com/Azure/azure-sdk-for-go v65.0.0+incompatible
go: downloading github.com/spf13/cast v1.5.0
go: downloading github.com/supranational/blst v0.3.11
go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible
go: downloading github.com/hashicorp/consul/api v1.30.0
go: downloading github.com/hashicorp/consul v1.20.1
go: gorelease-load-module imports
github.com/smartcontractkit/chainlink-testing-framework/lib/logstream imports
github.com/smartcontractkit/chainlink-testing-framework/wasp imports
github.com/grafana/loki/clients/pkg/promtail/client imports
github.com/grafana/loki/pkg/util imports
github.com/grafana/dskit/ring imports
github.com/grafana/dskit/kv imports
github.com/grafana/dskit/kv/consul imports
github.com/hashicorp/consul/api: ambiguous import: found package github.com/hashicorp/consul/api in multiple modules:
github.com/hashicorp/consul v1.2.1 (/home/runner/go/pkg/mod/github.com/hashicorp/consul@v1.2.1/api)
github.com/hashicorp/consul/api v1.30.0 (/home/runner/go/pkg/mod/github.com/hashicorp/consul/api@v1.30.0)
go: downloading github.com/hashicorp/consul/sdk v0.16.1

framework/v0.2.11

26 Nov 22:32
4457e19
Compare
Choose a tag to compare

Release notes:

  • Save all containers logs by default
  • Add more docs about debug

Commits:

Breaking changes:

github.com/smartcontractkit/chainlink-testing-framework/framework

compatible changes

DefaultCTFLogsDir: added
WriteAllContainersLogs: added

diagnostics

go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.

summary

v0.2.11 (with tag framework/v0.2.11) is a valid semantic version for this release

framework/v0.2.10

26 Nov 10:54
5030b3e
Compare
Choose a tag to compare

Release notes:

  • Switch to anvil_mine instead of evm_mine
  • Test that CL nodes can see block heads after we switch the mining pace
  • Quick deployments example (docs)

Commits:

  • switch anvil miner and add docs (#1394) (5030b3e)
  • by default, use lowest postgres version CL node is compatible with (#1376) (38d21b4)

Breaking changes:

github.com/smartcontractkit/chainlink-testing-framework/framework

compatible changes

HostDockerInternal: added

diagnostics

go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.

summary

v0.2.10 (with tag framework/v0.2.10) is a valid semantic version for this release

framework/v0.2.9

25 Nov 14:16
a5d48c9
Compare
Choose a tag to compare

Release notes:

  • Zero seconds block and anvil mining control example
  • (Bug-fix) Always remove container registry if stopped

Commits:

Breaking changes:

diagnostics

go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.

summary

v0.2.9 is not a valid semantic version for this release.
version v0.2.9 already exists

tools/flakeguard/v0.0.1

22 Nov 15:56
be06798
Compare
Choose a tag to compare

What's Changed

Full Changelog: lib/v1.50.16...tools/flakeguard/v0.0.1

lib/v1.50.16

21 Nov 14:23
af81e8a
Compare
Choose a tag to compare

Release notes:

  • TT-1856 Fix err consumer has finished but you are still trying to accept logs

Commits:

  • TT-1856 Fix err consumer has finished but you are still trying to accept logs (#1365) (af81e8a)

Breaking changes:

gorelease: internal error: error package requires newer Go version go1.23 (*errors.errorString) without position
gorelease: internal error: error package requires newer Go version go1.23 (*errors.errorString) without position
gorelease: internal error: error package requires newer Go version go1.23 (*errors.errorString) without position
gorelease: preparing to load packages for github.com/smartcontractkit/chainlink-testing-framework/lib@v1.50.15: looking for missing dependencies: go: module github.com/smartcontractkit/chainlink-testing-framework/lib@v1.50.15 requires go >= 1.23; switching to go1.23.3
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/pelletier/go-toml v1.9.5
go: downloading golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
go: downloading github.com/deckarep/golang-set v1.8.0
go: downloading github.com/cenkalti/backoff v2.0.0+incompatible
go: downloading k8s.io/klog v1.0.0
go: downloading go.opentelemetry.io/contrib v0.20.0
go: downloading sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e
go: downloading github.com/evanphx/json-patch v5.6.0+incompatible
go: downloading github.com/russross/blackfriday v1.6.0
go: downloading github.com/ugorji/go v1.2.7
go: downloading google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
go: downloading github.com/go-redis/redis v6.15.9+incompatible
go: downloading github.com/klauspost/cpuid v1.2.1
go: downloading github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
go: downloading github.com/hashicorp/consul v1.2.1
go: downloading go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489
go: downloading github.com/Azure/azure-sdk-for-go v65.0.0+incompatible
go: downloading github.com/spf13/cast v1.5.0
go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible
go: downloading github.com/hashicorp/consul/api v1.30.0
go: downloading github.com/hashicorp/consul v1.20.1
go: gorelease-load-module imports
github.com/smartcontractkit/chainlink-testing-framework/lib/logstream imports
github.com/smartcontractkit/chainlink-testing-framework/wasp imports
github.com/grafana/loki/clients/pkg/promtail/client imports
github.com/grafana/loki/pkg/util imports
github.com/grafana/dskit/ring imports
github.com/grafana/dskit/kv imports
github.com/grafana/dskit/kv/consul imports
github.com/hashicorp/consul/api: ambiguous import: found package github.com/hashicorp/consul/api in multiple modules:
github.com/hashicorp/consul v1.2.1 (/home/runner/go/pkg/mod/github.com/hashicorp/consul@v1.2.1/api)
github.com/hashicorp/consul/api v1.30.0 (/home/runner/go/pkg/mod/github.com/hashicorp/consul/api@v1.30.0)
go: downloading github.com/hashicorp/consul/sdk v0.16.1

framework/v0.2.8

21 Nov 13:31
f1f8047
Compare
Choose a tag to compare

Release notes:

  • Fund nodes method added to
  • Add on-chain fork test example
  • Add on-chain + off-chain fork test example

Commits:

Breaking changes:

github.com/smartcontractkit/chainlink-testing-framework/framework/components/simple_node_set

compatible changes

FundNodes: added
SendETH: added

github.com/smartcontractkit/chainlink-testing-framework/framework/rpc

compatible changes

package added

diagnostics

go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.

summary

v0.2.8 (with tag framework/v0.2.8) is a valid semantic version for this release

framework/v0.2.7

18 Nov 22:25
0dd918b
Compare
Choose a tag to compare

Release notes:

  • Do not expose P2P URL to prevent confusion
  • Add container names into outputs
  • Add command for Docker

Commits:

Breaking changes:

github.com/smartcontractkit/chainlink-testing-framework/framework

compatible changes

DockerClient: added
NewDockerClient: added

github.com/smartcontractkit/chainlink-testing-framework/framework/components/blockchain

compatible changes

Output.ContainerName: added

github.com/smartcontractkit/chainlink-testing-framework/framework/components/clnode

incompatible changes

NodeOut.HostP2PURL: removed

compatible changes

NodeOut.ContainerName: added

github.com/smartcontractkit/chainlink-testing-framework/framework/components/postgres

compatible changes

Output.ContainerName: added

diagnostics

go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.

summary

v0.2.7 (with tag framework/v0.2.7) is a valid semantic version for this release

framework/v0.2.6

18 Nov 10:01
4a55ba9
Compare
Choose a tag to compare

Release notes:

  • Reflect DB changes in interactive mode

Commits:

Breaking changes:

diagnostics

go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.

summary

v0.2.6 (with tag framework/v0.2.6) is a valid semantic version for this release

framework/v0.2.5

17 Nov 20:22
5887e37
Compare
Choose a tag to compare

Release notes:

  • Add examples of service fakes
  • Add default network overrides in
  • Change signature, now fake service URL is not required
  • Move DB config to field

Commits:

  • Add docs for Gin usage + record requests/responses [TT-1842] (#1345) (5887e37)

Breaking changes:

github.com/smartcontractkit/chainlink-testing-framework/framework/components/clnode

incompatible changes

Input.DataProviderURL: removed

github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake

incompatible changes

FakeJSON: removed

compatible changes

CustomResponseWriter: added
Func: added
JSON: added
NewRecords: added
R: added
Record: added
RecordKey: added
Records: added

github.com/smartcontractkit/chainlink-testing-framework/framework/components/simple_node_set

incompatible changes

NewSharedDBNodeSet: changed from func(*Input, *github.com/smartcontractkit/chainlink-testing-framework/framework/components/blockchain.Output, string) (*Output, error) to func(*Input, *github.com/smartcontractkit/chainlink-testing-framework/framework/components/blockchain.Output) (*Output, error)
UpgradeNodeSet: changed from func(*Input, *github.com/smartcontractkit/chainlink-testing-framework/framework/components/blockchain.Output, string, time.Duration) (*Output, error) to func(*Input, *github.com/smartcontractkit/chainlink-testing-framework/framework/components/blockchain.Output, time.Duration) (*Output, error)

compatible changes

Input.DbInput: added

diagnostics

go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.

summary

v0.2.5 (with tag framework/v0.2.5) is a valid semantic version for this release