From b53866737d2aa08f29eb1cc928aec72551cc5843 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Mon, 12 Aug 2024 14:05:34 +0800 Subject: [PATCH] fix: get optimism rpc url from secret --- .changeset/two-waves-arrive.md | 5 +++++ .env.optimism.pb | 1 - .github/workflows/e2e-test-optimism-pb.yml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/two-waves-arrive.md diff --git a/.changeset/two-waves-arrive.md b/.changeset/two-waves-arrive.md new file mode 100644 index 00000000..0917f62e --- /dev/null +++ b/.changeset/two-waves-arrive.md @@ -0,0 +1,5 @@ +--- +'@protocolink/logics': patch +--- + +get optimism rpc url from secret diff --git a/.env.optimism.pb b/.env.optimism.pb index 36e9a3e0..c867bf6d 100644 --- a/.env.optimism.pb +++ b/.env.optimism.pb @@ -1,3 +1,2 @@ CHAIN_ID=10 BLOCK_NUMBER=119817300 -HTTP_RPC_URL=https://mainnet.optimism.io diff --git a/.github/workflows/e2e-test-optimism-pb.yml b/.github/workflows/e2e-test-optimism-pb.yml index 855c855d..1e4cd800 100644 --- a/.github/workflows/e2e-test-optimism-pb.yml +++ b/.github/workflows/e2e-test-optimism-pb.yml @@ -4,6 +4,9 @@ on: push: pull_request: +env: + HTTP_RPC_URL: ${{ secrets.OPTIMISM_RPC_URL }} + jobs: run-e2e-test: name: optimism pb