ava-labs / subnet-evm

Launch your own EVM as an Avalanche Subnet
https://docs.avax.network/subnets/create-a-fuji-subnet
GNU Lesser General Public License v3.0
243 stars 220 forks source link

Extract Warp Test into Simulator Workload #1021

Open aaronbuchwald opened 10 months ago

aaronbuchwald commented 10 months ago

This ticket is to extract the logic for the warp load test running in CI https://github.com/ava-labs/subnet-evm/blob/master/tests/warp/warp_test.go#L100 into the simulator tool https://github.com/ava-labs/subnet-evm/tree/master/cmd/simulator, so that it can be easily run against an existing DevNet.

marun commented 8 months ago

Will this work with https://github.com/ava-labs/subnet-evm/pull/1027 ?

aaronbuchwald commented 8 months ago

The idea here was to build this into a utility that could be run from the command line, so ideally this would integrate really nicely if we get the interface for the network fixture right.

Ideally the current simulator and the warp extension of it could take in a network definition to construct the fixture to run against and then execute the workload against that.

If we worked on them simultaneously, I'd imagine they'd conflict, but I'd hope they are both moving in the same direction.