From e34e6ad6fe3d292d899f51e2c495029eecd6d463 Mon Sep 17 00:00:00 2001 From: yash10019coder Date: Tue, 3 Sep 2024 08:16:46 +0530 Subject: [PATCH] fix: add tenderly account testnet creation and deletion steps. refactor: move enterprise blobber tests to top. --- .github/workflows/tokenomics_ci.yml | 200 ++++++++++++++++------------ 1 file changed, 113 insertions(+), 87 deletions(-) diff --git a/.github/workflows/tokenomics_ci.yml b/.github/workflows/tokenomics_ci.yml index 92020f553..3321a9662 100644 --- a/.github/workflows/tokenomics_ci.yml +++ b/.github/workflows/tokenomics_ci.yml @@ -25,6 +25,25 @@ jobs: with: github-token: ${{ github.token }} + - name: 'Setup jq' + uses: dcarbone/install-jq-action@v2.1.0 + with: + version: '1.7' + force: 'false' + + - name: "Create Tenderly virtual testnet" + run: | + echo "TENDERLY_CREATION_INFO=$(curl -X POST \ + -H "x-access-key: ${{ secrets.TENDERLY_SECRET }}" \ + -H "Content-Type: application/json" \ + -d '{"slug":"mainnet-dev-${{ env.RUNNER_NUMBER }}-${{ github.run_id }}","displayName":"mainnet-dev-${{ env.RUNNER_NUMBER }}-${{ github.run_id }}","description":"","visibility":"TEAM","tags":{"purpose":"development"},"networkConfig":{"networkId":"1","blockNumber":"18512782","chainConfig":{"chainId":"1"},"baseFeePerGas":"1"},"explorerConfig":{"enabled":false,"verificationVisibility":"bytecode"},"syncState":false}' \ + https://api.tenderly.co/api/v1/account/zus_network/project/project/testnet/container)" >> $GITHUB_ENV + + - name: "Parse Tenderly virtual testnet creation transaction result" + run: | + echo "TENDERLY_VIRTUAL_TESTNET_ID=$(echo '${{ env.TENDERLY_CREATION_INFO }}' | jq -r '.container.id')" >> $GITHUB_ENV + echo "TENDERLY_VIRTUAL_TESTNET_RPC_ID=$(echo '${{ env.TENDERLY_CREATION_INFO }}' | jq -r '.container.connectivityConfig.endpoints[0].id')" >> $GITHUB_ENV + - name: "Config: Run tests against existing 0Chain network" if: github.event_name == 'workflow_dispatch' && github.event.inputs.existing_network != '' run: | @@ -52,53 +71,40 @@ jobs: echo "CLIENT_THROTTLING=$(echo $(([ -z 'TestClientThrottling' ] && echo '') || echo 'TestClientThrottling'))" >> $GITHUB_ENV echo "REPO_SNAPSHOTS_BRANCH=current-sprint" >> $GITHUB_ENV - - name: "Deploy 0Chain" + - name: "Deploy 0Chain with enterprise blobbers" if: github.event_name == 'push' || github.event.inputs.existing_network == '' - uses: 0chain/actions/deploy-0chain-2b2v@master + uses: 0chain/actions/deploy-0chain@feature/enterprise-blobber with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} teardown_condition: "TESTS_PASSED" SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }} - TENDERLY_VIRTUAL_TESTNET_ID: "" + TENDERLY_VIRTUAL_TESTNET_RPC_ID: ${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }} graphnode_sc: ${{ secrets.GRAPHNODE_SC }} graphnode_network: ${{ secrets.GRAPHNODE_NETWORK }} - graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" + graphnode_ethereum_node_url: https://virtual.mainnet.rpc.tenderly.co/${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }} svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} - - name: "Run Allocation System tests" + - name: "Run Enterprise blobber create allocation tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" network: ${{ env.NETWORK_URL }} svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} deploy_report_page: true + system_tests_branch: feat/enterprise-blobber-tests archive_results: true run_flaky_tests: false run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.TOKENOMICS_ALLOCATION_TESTS }} - TENDERLY_VIRTUAL_TESTNET_ID: "" + tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_CREATE_ALLOCATION_TESTS }} run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} + TENDERLY_VIRTUAL_TESTNET_RPC_ID: ${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }} - - name: "Deploy 0Chain" - if: github.event_name == 'push' || github.event.inputs.existing_network == '' - uses: 0chain/actions/deploy-0chain-2b2v@master - with: - repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" - kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} - teardown_condition: "TESTS_PASSED" - SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }} - TENDERLY_VIRTUAL_TESTNET_ID: "" - graphnode_sc: ${{ secrets.GRAPHNODE_SC }} - graphnode_network: ${{ secrets.GRAPHNODE_NETWORK }} - graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" - svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} - - - name: "Run Challenge Reward System tests" + - name: "Run Enterprise blobber update allocation tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" @@ -107,30 +113,18 @@ jobs: deploy_report_page: true archive_results: true run_flaky_tests: false + system_tests_branch: feat/enterprise-blobber-tests run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.TOKENOMICS_CHALLENGE_REWARD_TESTS }} + tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_UPDATE_ALLOCATION_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} + TENDERLY_VIRTUAL_TESTNET_RPC_ID: ${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }} - - name: "Deploy 0Chain" - if: github.event_name == 'push' || github.event.inputs.existing_network == '' - uses: 0chain/actions/deploy-0chain-3b3v@master - with: - repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" - kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} - teardown_condition: "TESTS_PASSED" - SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }} - TENDERLY_VIRTUAL_TESTNET_ID: "" - graphnode_sc: ${{ secrets.GRAPHNODE_SC }} - graphnode_network: ${{ secrets.GRAPHNODE_NETWORK }} - graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" - svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} - - - name: "Run Allocation Add Or Replace Blobber Rewards tests" + - name: "Run Enterprise blobber replace blobber allocation tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" @@ -138,31 +132,19 @@ jobs: svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} deploy_report_page: true archive_results: true + system_tests_branch: feat/enterprise-blobber-tests run_flaky_tests: false run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.TOKENOMICS_ALLOCATION_ADD_OR_REPLACE_BLOBBER_TESTS }} + tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_REPLACE_ALLOCATION_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} + TENDERLY_VIRTUAL_TESTNET_RPC_ID: ${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }} - - name: "Deploy 0Chain" - if: github.event_name == 'push' || github.event.inputs.existing_network == '' - uses: 0chain/actions/deploy-0chain-2b2v@master - with: - repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" - kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} - teardown_condition: "TESTS_PASSED" - SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }} - TENDERLY_VIRTUAL_TESTNET_ID: "" - graphnode_sc: ${{ secrets.GRAPHNODE_SC }} - graphnode_network: ${{ secrets.GRAPHNODE_NETWORK }} - graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" - svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} - - - name: "Run Read Rewards System tests" + - name: "Run Enterprise blobber cancel allocation tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" @@ -171,36 +153,48 @@ jobs: deploy_report_page: true archive_results: true run_flaky_tests: false + system_tests_branch: feat/enterprise-blobber-tests run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.TOKENOMICS_READ_REWARD_TESTS }} + tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_CANCEL_ALLOCATION_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} + TENDERLY_VIRTUAL_TESTNET_RPC_ID: ${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }} - - name: "Run Slash Rewards System tests" + - name: "Run Enterprise blobber finalize allocation tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" network: ${{ env.NETWORK_URL }} svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} deploy_report_page: true + system_tests_branch: feat/enterprise-blobber-tests archive_results: true run_flaky_tests: false run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.TOKENOMICS_SLASH_REWARD_TESTS }} + tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_FINALIZE_ALLOCATION_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} + TENDERLY_VIRTUAL_TESTNET_RPC_ID: ${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }} + + - name: "Remove Tenderly virtual testnet" + if: always() + run: | + curl -X DELETE \ + -H "x-access-key: ${{ secrets.TENDERLY_SECRET }}" \ + -H "Content-Type: application/json" \ + https://api.tenderly.co/api/v1/account/zus_network/project/project/testnet/container/${{ env.TENDERLY_VIRTUAL_TESTNET_ID }} - name: "Deploy 0Chain" if: github.event_name == 'push' || github.event.inputs.existing_network == '' - uses: 0chain/actions/deploy-0chain-minstake@master + uses: 0chain/actions/deploy-0chain-2b2v@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} @@ -212,7 +206,7 @@ jobs: graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} - - name: "Run Min Stake System tests" + - name: "Run Allocation System tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" @@ -224,7 +218,7 @@ jobs: run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.TOKENOMICS_MIN_STAKE_TESTS }} + tokenomics_test_filter: ${{ env.TOKENOMICS_ALLOCATION_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} @@ -232,7 +226,7 @@ jobs: - name: "Deploy 0Chain" if: github.event_name == 'push' || github.event.inputs.existing_network == '' - uses: 0chain/actions/deploy-0chain-fileops-limits@master + uses: 0chain/actions/deploy-0chain-2b2v@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} @@ -244,7 +238,7 @@ jobs: graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} - - name: "Run Client throttling tests " + - name: "Run Challenge Reward System tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" @@ -256,47 +250,59 @@ jobs: run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.CLIENT_THROTTLING }} + tokenomics_test_filter: ${{ env.TOKENOMICS_CHALLENGE_REWARD_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} - - name: "Deploy 0Chain with enterprise blobbers" + - name: "Deploy 0Chain" if: github.event_name == 'push' || github.event.inputs.existing_network == '' - uses: 0chain/actions/deploy-0chain@feature/enterprise-blobber + uses: 0chain/actions/deploy-0chain-3b3v@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} teardown_condition: "TESTS_PASSED" SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }} - TENDERLY_VIRTUAL_TESTNET_RPC_ID: ${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }} + TENDERLY_VIRTUAL_TESTNET_ID: "" graphnode_sc: ${{ secrets.GRAPHNODE_SC }} graphnode_network: ${{ secrets.GRAPHNODE_NETWORK }} - graphnode_ethereum _node_url: https://virtual.mainnet.rpc.tenderly.co/${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }} + graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} - - name: "Run Enterprise blobber create allocation tests" + - name: "Run Allocation Add Or Replace Blobber Rewards tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" network: ${{ env.NETWORK_URL }} svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} deploy_report_page: true - system_tests_branch: feat/enterprise-blobber-tests archive_results: true run_flaky_tests: false run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_CREATE_ALLOCATION_TESTS }} + tokenomics_test_filter: ${{ env.TOKENOMICS_ALLOCATION_ADD_OR_REPLACE_BLOBBER_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} - TENDERLY_VIRTUAL_TESTNET_RPC_ID: '' - - name: "Run Enterprise blobber update allocation tests" + - name: "Deploy 0Chain" + if: github.event_name == 'push' || github.event.inputs.existing_network == '' + uses: 0chain/actions/deploy-0chain-2b2v@master + with: + repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" + kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} + teardown_condition: "TESTS_PASSED" + SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }} + TENDERLY_VIRTUAL_TESTNET_ID: "" + graphnode_sc: ${{ secrets.GRAPHNODE_SC }} + graphnode_network: ${{ secrets.GRAPHNODE_NETWORK }} + graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" + svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} + + - name: "Run Read Rewards System tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" @@ -305,18 +311,16 @@ jobs: deploy_report_page: true archive_results: true run_flaky_tests: false - system_tests_branch: feat/enterprise-blobber-tests run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_UPDATE_ALLOCATION_TESTS }} + tokenomics_test_filter: ${{ env.TOKENOMICS_READ_REWARD_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} - TENDERLY_VIRTUAL_TESTNET_RPC_ID: '' - - name: "Run Enterprise blobber replace blobber allocation tests" + - name: "Run Slash Rewards System tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" @@ -324,19 +328,31 @@ jobs: svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} deploy_report_page: true archive_results: true - system_tests_branch: feat/enterprise-blobber-tests run_flaky_tests: false run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_REPLACE_ALLOCATION_TESTS }} + tokenomics_test_filter: ${{ env.TOKENOMICS_SLASH_REWARD_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} - TENDERLY_VIRTUAL_TESTNET_RPC_ID: '' - - name: "Run Enterprise blobber cancel allocation tests" + - name: "Deploy 0Chain" + if: github.event_name == 'push' || github.event.inputs.existing_network == '' + uses: 0chain/actions/deploy-0chain-minstake@master + with: + repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" + kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} + teardown_condition: "TESTS_PASSED" + SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }} + TENDERLY_VIRTUAL_TESTNET_ID: "" + graphnode_sc: ${{ secrets.GRAPHNODE_SC }} + graphnode_network: ${{ secrets.GRAPHNODE_NETWORK }} + graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" + svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} + + - name: "Run Min Stake System tests" uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" @@ -345,36 +361,46 @@ jobs: deploy_report_page: true archive_results: true run_flaky_tests: false - system_tests_branch: feat/enterprise-blobber-tests run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_CANCEL_ALLOCATION_TESTS }} + tokenomics_test_filter: ${{ env.TOKENOMICS_MIN_STAKE_TESTS }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} - TENDERLY_VIRTUAL_TESTNET_RPC_ID: '' - - name: "Run Enterprise blobber finalize allocation tests" + - name: "Deploy 0Chain" + if: github.event_name == 'push' || github.event.inputs.existing_network == '' + uses: 0chain/actions/deploy-0chain-fileops-limits@master + with: + repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" + kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }} + teardown_condition: "TESTS_PASSED" + SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }} + TENDERLY_VIRTUAL_TESTNET_ID: "" + graphnode_sc: ${{ secrets.GRAPHNODE_SC }} + graphnode_network: ${{ secrets.GRAPHNODE_NETWORK }} + graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/"" + svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} + + - name: "Run Client throttling tests " uses: 0chain/actions/run-system-tests-tokenomics@master with: repo_snapshots_branch: "${{ env.REPO_SNAPSHOTS_BRANCH }}" network: ${{ env.NETWORK_URL }} svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }} deploy_report_page: true - system_tests_branch: feat/enterprise-blobber-tests archive_results: true run_flaky_tests: false run_api_system_tests: false run_cli_system_tests: false run_tokenomics_system_tests: true - tokenomics_test_filter: ${{ env.ENTERPRISE_BLOBBER_FINALIZE_ALLOCATION_TESTS }} + tokenomics_test_filter: ${{ env.CLIENT_THROTTLING }} TENDERLY_VIRTUAL_TESTNET_ID: "" run_smoke_tests: ${{ inputs.run_smoke_tests }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} - TENDERLY_VIRTUAL_TESTNET_RPC_ID: ''