Skip to content

Commit 3d218ec

Browse files
authored
Remove the loadtest client in favor of sei-load (#4585)
The `loadtest` client has been superseded by sei-load, which drives the arctic-1 canary load and the harbor benchmarks. Nothing in this repo imports the package, no workflow builds or runs it, and it still sends transactions and reads validators over the Cosmos gRPC server that #4570 removes. This deletes `loadtest/` along with its `loadtest` and `build-loadtest` make targets, its `.gitignore` entries and the two contract submodules under `loadtest/contracts/evm/lib`. `populate_genesis_accounts.py` is still used by the docker localnode, `scripts/initialize_local_chain.sh` and `benchmark/benchmark.sh`, so it moves to `scripts/` and those callers are updated. `giga/evmonly/cmd/evmonly-loadtest` is a separate harness and is untouched. The sei-infra validator bootstrap started this client on node 0 and called the genesis script by its old path; sei-protocol/sei-infra#1097 stops the former and accepts either path for the latter, so it can land in either order. Validated with `go build ./...`, `go vet` and `go mod tidy`, which leaves `go.mod` unchanged.
1 parent 737d3c4 commit 3d218ec

70 files changed

Lines changed: 3 additions & 10175 deletions

Some content is hidden

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

‎.gitignore‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ c.out
3131
# fuzz test data
3232
**/testdata/fuzz/**
3333

34-
# loadtest contracts build artifact
35-
loadtest/contracts/**/artifacts/
36-
loadtest/contracts/**/target/
37-
loadtest/contracts/**.json
38-
3934
loadtest_results.txt
4035

4136
# integration test resources

‎.gitmodules‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,3 @@
44
[submodule "contracts/lib/openzeppelin-contracts"]
55
path = contracts/lib/openzeppelin-contracts
66
url = https://github.com/openzeppelin/openzeppelin-contracts
7-
[submodule "loadtest/contracts/evm/lib/openzeppelin-contracts"]
8-
path = loadtest/contracts/evm/lib/openzeppelin-contracts
9-
url = https://github.com/OpenZeppelin/openzeppelin-contracts
10-
[submodule "loadtest/contracts/evm/lib/solmate"]
11-
path = loadtest/contracts/evm/lib/solmate
12-
url = https://github.com/transmissions11/solmate

‎Makefile‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,6 @@ install-rocksdb: go.sum
165165
go install $(BUILD_FLAGS) -tags "$(build_tags) rocksdbBackend" ./cmd/seid
166166
@echo "seid installed with RocksDB backend support!"
167167

168-
loadtest: go.sum
169-
go build $(BUILD_FLAGS) -o ./build/loadtest ./loadtest/
170-
171168
go.sum: go.mod
172169
@echo "--> Ensure dependencies have not been modified"
173170
@go mod verify
@@ -218,10 +215,6 @@ clean:
218215
rm -rf ./build
219216
.PHONY: clean
220217

221-
build-loadtest:
222-
go build -o build/loadtest ./loadtest/
223-
.PHONY: build-loadtest
224-
225218
build-evmonly-loadtest:
226219
mkdir -p ./build
227220
go build -o ./build/evmonly-loadtest ./giga/evmonly/cmd/evmonly-loadtest

‎benchmark/benchmark.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ mv ~/.sei/config/tmp_genesis_3.json ~/.sei/config/genesis.json && rm ~/.sei/conf
133133

134134
echo "Creating Accounts"
135135
# create 10 test accounts + fund them
136-
python3 "$REPO_ROOT/loadtest/scripts/populate_genesis_accounts.py" 20 loc
136+
python3 "$REPO_ROOT/scripts/populate_genesis_accounts.py" 20 loc
137137

138138
"$SEID" collect-gentxs
139139
# update some params in genesis file for easier use of the chain localls (make gov props faster)

‎docker/localnode/scripts/step1_configure_init.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fi
6969

7070
# Creating some testing accounts
7171
echo "Creating $NUM_ACCOUNTS accounts"
72-
python3 loadtest/scripts/populate_genesis_accounts.py "$NUM_ACCOUNTS" loc >/dev/null 2>&1
72+
python3 scripts/populate_genesis_accounts.py "$NUM_ACCOUNTS" loc >/dev/null 2>&1
7373
echo "Finished $NUM_ACCOUNTS accounts creation"
7474

7575
# Set node seivaloper info

‎loadtest/config.json‎

Lines changed: 0 additions & 125 deletions
This file was deleted.

‎loadtest/contracts/deploy.sh‎

Lines changed: 0 additions & 94 deletions
This file was deleted.

‎loadtest/contracts/deploy_erc20.sh‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎loadtest/contracts/deploy_erc721.sh‎

Lines changed: 0 additions & 23 deletions
This file was deleted.

‎loadtest/contracts/deploy_sei_tester.sh‎

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)