From 848e41b0542d6d896d58069c2896a65df4acfbdb Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Tue, 17 Dec 2024 01:20:17 +0100 Subject: [PATCH] Set default protocol version --- .github/workflows/e2e.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b8ea4b8f..cfaab1a6 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -60,6 +60,8 @@ jobs: # the soroban test cases will compile various contracts from the examples repo SYSTEM_TEST_SOROBAN_EXAMPLES_GIT_HASH: "v21.6.0" SYSTEM_TEST_SOROBAN_EXAMPLES_GIT_REPO: "https://github.com/stellar/soroban-examples.git" + + PROTOCOL_VERSION_DEFAULT: 21 steps: - uses: actions/checkout@v4 name: checkout system-test @@ -98,6 +100,7 @@ jobs: JS_STELLAR_SDK_REF="file:/home/tester/js-stellar-sdk"; \ fi make \ + PROTOCOL_VERSION_DEFAULT=$PROTOCOL_VERSION_DEFAULT \ CORE_GIT_REF=$SYSTEM_TEST_CORE_GIT_REF \ CORE_COMPILE_CONFIGURE_FLAGS="$SYSTEM_TEST_CORE_COMPILE_CONFIGURE_FLAGS" \ CORE_IMAGE=$SYSTEM_TEST_CORE_IMAGE \ @@ -111,7 +114,8 @@ jobs: build - name: Run system test scenarios run: | - docker run --rm -t --name e2e_test stellar/system-test:dev \ + docker run -e PROTOCOL_VERSION_DEFAULT=$PROTOCOL_VERSION_DEFAULT \ + --rm -t --name e2e_test stellar/system-test:dev \ --VerboseOutput $SYSTEM_TEST_VERBOSE_OUTPUT \ --TestFilter "${{ matrix.scenario-filter }}" \ --SorobanExamplesGitHash $SYSTEM_TEST_SOROBAN_EXAMPLES_GIT_HASH \