Onboard validator's Beacon REST API usage to e2e tests (#11704)

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Onboard validator's Beacon REST API usage to e2e tests

* Remove unused variables

* Remove use_beacon_api tags

* Fix DeepSource errors

* Revert unneeded changes

* Revert evaluator changes

* Revert import reordering

* Address PR comments

* Remove all REST API e2e tests except minimal one

* Fix validator pointing to inexisting beacon node port

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
This commit is contained in:
Patrice Vignola
2022-12-08 06:38:56 -08:00
committed by GitHub
parent ca2618110f
commit dbeb3ee886
37 changed files with 54 additions and 146 deletions

View File

@@ -80,7 +80,7 @@ for ((i = 0; i < ${#beacon_api_mocks[@]}; i++)); do
file=${beacon_api_mocks[i]% *};
source=${beacon_api_mocks[i]#* };
echo "generating $file for file: $source";
GO11MODULE=on mockgen -package=mock --build_flags="--tags=use_beacon_api" -source="validator/client/beacon-api/$source" -destination="$file"
GO11MODULE=on mockgen -package=mock -source="validator/client/beacon-api/$source" -destination="$file"
done
goimports -w "$beacon_api_mock_path/."