Skip to content

Commit f8e2cb2

Browse files
authored
use Seth from CTF repo (#14233)
1 parent 3500089 commit f8e2cb2

54 files changed

Lines changed: 103 additions & 78 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

integration-tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ It's generally recommended to run only one test at a time on a local machine as
5353

5454
### Configure Seth
5555

56-
Our new evm client is Seth. Detailed instructions on how to configure it can be found in the [Seth README](./README_SETH.md) in this repo as well as in [Seth repository](https://github.com/smartcontractkit/seth).
56+
Our new evm client is Seth. Detailed instructions on how to configure it can be found in the [Seth README](./README_SETH.md) in this repo as well as in [Seth repository](https://github.com/smartcontractkit/chainlink-testing-framework/tree/main/seth).
5757

5858
## Analyze
5959

integration-tests/README_SETH.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
## Introduction
4343

44-
[Seth](https://github.com/smartcontractkit/seth) is the Ethereum client we use for integration tests. It is designed to be a thin wrapper over `go-ethereum` client that adds a couple of key features:
44+
[Seth](https://github.com/smartcontractkit/chainlink-testing-framework/tree/main/seth) is the Ethereum client we use for integration tests. It is designed to be a thin wrapper over `go-ethereum` client that adds a couple of key features:
4545
* key management
4646
* transaction decoding and tracing
4747
* gas estimation
@@ -65,7 +65,7 @@ tracing_level = "all" # trace all transactions regardless of whether they are re
6565
```
6666

6767
### Documentation and Further Details
68-
For a comprehensive description of all available configuration options, refer to the `[Seth]` section of configuration documentation in the [default.toml](./testconfig/default.toml) file or consult the Seth [README.md on GitHub](https://github.com/smartcontractkit/seth/blob/master/README.md).
68+
For a comprehensive description of all available configuration options, refer to the `[Seth]` section of configuration documentation in the [default.toml](./testconfig/default.toml) file or consult the Seth [README.md on GitHub](https://github.com/smartcontractkit/chainlink-testing-framework/tree/main/seth/blob/master/README.md).
6969

7070
## How to set Seth logging level
7171
### Locally
@@ -155,7 +155,7 @@ The most important thing to keep in mind that the CLI requires you to provide a
155155
* `keys` commands requires `SETH_KEYFILE_PATH`, `SETH_CONFIG_PATH` and `SETH_ROOT_PRIVATE_KEY` environment variables
156156
* `gas` and `stats` command requires `SETH_CONFIG_PATH` environment variable
157157

158-
You can find a sample `Seth.toml` file [here](https://github.com/smartcontractkit/seth/blob/master/seth.toml). Currently, you cannot use your test TOML file as a Seth configuration file, but we will add ability that in the future.
158+
You can find a sample `Seth.toml` file [here](https://github.com/smartcontractkit/chainlink-testing-framework/tree/main/seth/blob/master/seth.toml). Currently, you cannot use your test TOML file as a Seth configuration file, but we will add ability that in the future.
159159

160160
## How to get Fallback (Hardcoded) Values
161161
There are two primary methods to obtain fallback values for network configuration:
@@ -166,7 +166,7 @@ There are two primary methods to obtain fallback values for network configuratio
166166
1. **Clone the Seth Repository:**
167167
Clone the repository from GitHub using:
168168
```bash
169-
git clone https://github.com/smartcontractkit/seth
169+
git clone https://github.com/smartcontractkit/chainlink-testing-framework/tree/main/seth
170170
```
171171

172172
2. **Run Seth CLI:**

integration-tests/actions/actions.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ import (
3838

3939
"github.com/ethereum/go-ethereum/common"
4040
"github.com/google/uuid"
41-
"github.com/smartcontractkit/seth"
41+
42+
"github.com/smartcontractkit/chainlink-testing-framework/seth"
4243

4344
gethtypes "github.com/ethereum/go-ethereum/core/types"
4445
"github.com/pkg/errors"

integration-tests/actions/automation_ocr_helpers.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import (
1010
"time"
1111

1212
"github.com/pkg/errors"
13-
"github.com/smartcontractkit/seth"
13+
14+
"github.com/smartcontractkit/chainlink-testing-framework/seth"
1415

1516
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/i_automation_registry_master_wrapper_2_3"
1617

integration-tests/actions/automationv2/actions.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ import (
2020
ocr2 "github.com/smartcontractkit/libocr/offchainreporting2plus/confighelper"
2121
ocr3 "github.com/smartcontractkit/libocr/offchainreporting2plus/ocr3confighelper"
2222
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"
23-
"github.com/smartcontractkit/seth"
2423
"github.com/stretchr/testify/require"
2524
"golang.org/x/sync/errgroup"
2625
"gopkg.in/guregu/null.v4"
2726

27+
"github.com/smartcontractkit/chainlink-testing-framework/seth"
28+
2829
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/i_automation_registry_master_wrapper_2_3"
2930

3031
ocr2keepers20config "github.com/smartcontractkit/chainlink-automation/pkg/v2/config"

integration-tests/actions/keeper_helpers.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ import (
1111
"github.com/ethereum/go-ethereum/core/types"
1212
"github.com/google/uuid"
1313
"github.com/pkg/errors"
14-
"github.com/smartcontractkit/seth"
14+
15+
"github.com/smartcontractkit/chainlink-testing-framework/seth"
1516

1617
ctf_concurrency "github.com/smartcontractkit/chainlink-testing-framework/concurrency"
1718
"github.com/smartcontractkit/chainlink-testing-framework/logging"

integration-tests/actions/ocr_helpers.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import (
1010

1111
"github.com/ethereum/go-ethereum/common"
1212
"github.com/rs/zerolog"
13-
"github.com/smartcontractkit/seth"
13+
14+
"github.com/smartcontractkit/chainlink-testing-framework/seth"
1415

1516
"github.com/google/uuid"
1617
"github.com/stretchr/testify/require"

integration-tests/actions/refund.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ import (
1616
"github.com/ethereum/go-ethereum/crypto"
1717
"github.com/pkg/errors"
1818
"github.com/rs/zerolog"
19-
"github.com/smartcontractkit/seth"
19+
20+
"github.com/smartcontractkit/chainlink-testing-framework/seth"
2021

2122
"github.com/smartcontractkit/chainlink-testing-framework/blockchain"
2223

integration-tests/actions/vrf/common/actions.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ import (
1717
"github.com/go-resty/resty/v2"
1818
"github.com/google/uuid"
1919
"github.com/rs/zerolog"
20-
"github.com/smartcontractkit/seth"
20+
21+
"github.com/smartcontractkit/chainlink-testing-framework/seth"
2122

2223
ctf_test_env "github.com/smartcontractkit/chainlink-testing-framework/docker/test_env"
2324
"github.com/smartcontractkit/chainlink-testing-framework/utils/conversions"

integration-tests/actions/vrf/vrfv1/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package vrfv1
33
import (
44
"fmt"
55

6-
"github.com/smartcontractkit/seth"
6+
"github.com/smartcontractkit/chainlink-testing-framework/seth"
77

88
"github.com/smartcontractkit/chainlink/integration-tests/contracts"
99
)

0 commit comments

Comments
 (0)