From 6acf1acc3648b8cb59eefe3d75a52c4d1d7a4519 Mon Sep 17 00:00:00 2001 From: Valerii Stepanets Date: Thu, 21 Nov 2024 13:11:14 +0200 Subject: [PATCH 1/3] Test etherscan proxy --- .github/workflows/etherscan_proxy_test.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/etherscan_proxy_test.yaml diff --git a/.github/workflows/etherscan_proxy_test.yaml b/.github/workflows/etherscan_proxy_test.yaml new file mode 100644 index 00000000..069fde18 --- /dev/null +++ b/.github/workflows/etherscan_proxy_test.yaml @@ -0,0 +1,16 @@ +name: Curl URL + +on: + workflow_dispatch: + push: + branches: + - etherscan-proxy-test + +jobs: + curl-job: + runs-on: public-ledgerhq-shared-small + + steps: + + - name: Curl URL + run: curl -L -vvv https://etherscan.api.live.ledger.com/api?module=contract&action=getabi&address=0x1111111254eeb25477b68fb85ed929f73a960582 \ No newline at end of file From 89e57f2b0e48747241224a06abfdd446b248476a Mon Sep 17 00:00:00 2001 From: Valerii Stepanets Date: Tue, 3 Dec 2024 14:10:56 +0200 Subject: [PATCH 2/3] ci(MO-10789): debug etherscan proxy --- .github/workflows/etherscan_proxy_test.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/etherscan_proxy_test.yaml b/.github/workflows/etherscan_proxy_test.yaml index 069fde18..3344327d 100644 --- a/.github/workflows/etherscan_proxy_test.yaml +++ b/.github/workflows/etherscan_proxy_test.yaml @@ -11,6 +11,12 @@ jobs: runs-on: public-ledgerhq-shared-small steps: - - - name: Curl URL - run: curl -L -vvv https://etherscan.api.live.ledger.com/api?module=contract&action=getabi&address=0x1111111254eeb25477b68fb85ed929f73a960582 \ No newline at end of file + - name: Get ip - ifconfig + run: ifconfig + - name: Get ip + run: ip a + - name: Generate some traffic to proxy + run: | + for i in {1..100}; do + curl -L -vvv "https://proxyetherscan.api.live.ledger.com/api?module=contract&action=getabi&address=0x1111111254eeb25477b68fb85ed929f73a960582" + done \ No newline at end of file From 538f86d04691790ca1049c397fa9643aaaf96d11 Mon Sep 17 00:00:00 2001 From: jnicoulaud-ledger <102984500+jnicoulaud-ledger@users.noreply.github.com> Date: Tue, 3 Dec 2024 19:18:58 +0100 Subject: [PATCH 3/3] Update .github/workflows/etherscan_proxy_test.yaml --- .github/workflows/etherscan_proxy_test.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/etherscan_proxy_test.yaml b/.github/workflows/etherscan_proxy_test.yaml index 3344327d..482180a5 100644 --- a/.github/workflows/etherscan_proxy_test.yaml +++ b/.github/workflows/etherscan_proxy_test.yaml @@ -19,4 +19,7 @@ jobs: run: | for i in {1..100}; do curl -L -vvv "https://proxyetherscan.api.live.ledger.com/api?module=contract&action=getabi&address=0x1111111254eeb25477b68fb85ed929f73a960582" - done \ No newline at end of file + done + - name: Generate some traffic to proxy + run: | + curl -L -vvv "https://proxyetherscan.api.live.ledger.com/v2/api?module=contract&action=getabi&chainid=56&address=0x1111111254fb6c44bac0bed2854e76f90643097d" \ No newline at end of file