From 46dbbd4de564d03c08d9d78e691ed3b088fa471c Mon Sep 17 00:00:00 2001 From: Alduin Date: Mon, 14 Oct 2024 12:02:15 -0300 Subject: [PATCH 1/4] New contract for QA --- frontend/src/config/environment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/config/environment.ts b/frontend/src/config/environment.ts index d1718b4..a7e9507 100644 --- a/frontend/src/config/environment.ts +++ b/frontend/src/config/environment.ts @@ -10,7 +10,7 @@ export const ENV: Environment = match(window.location.host) export const IS_TESTNET = ENV === "testnet" export const CONTRACT_ADDRESS = IS_TESTNET - ? "neutron1jgjhevvfslekq4407cup5nzekf966pcm5wgr2w72hnluyknrxkqsdr8ltn" + ? "neutron1qtkqp9dmfl4wnsrs0kvywvcnfnkj5kwxfm2zdqedagvr52ju270q7tx7cr" : "neutron14r4gqjhnuxzwcmypjle9grlksvjeyyy0mrw0965rdz5v3v5wcv6qjf8w55" export const QUERIER_ADDRESS = IS_TESTNET From 726e5dd5fef54c3304ee10c08bb95c4230f99868 Mon Sep 17 00:00:00 2001 From: lvn-rusty-dragon Date: Mon, 14 Oct 2024 18:06:50 +0300 Subject: [PATCH 2/4] No more committer check --- .github/workflows/committer_check.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/committer_check.yml diff --git a/.github/workflows/committer_check.yml b/.github/workflows/committer_check.yml deleted file mode 100644 index 8371745..0000000 --- a/.github/workflows/committer_check.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Committer Check - -on: - pull_request: - workflow_dispatch: - -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Get PR Commits - id: "get-pr-commits" - uses: tim-actions/get-pr-commits@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - - env: - COMMITS: ${{ steps.get-pr-commits.outputs.commits }} - run: | - set -eux -o pipefail - jq -r '.[] | .commit.committer.email' <<< "${COMMITS}" | while read -r e; do - [ "${e#*@}" == 'levana.exchange' ] || [ "${e}" == 'noreply@github.com' ] || [ "${e#*@}" == 'users.noreply.github.com' ] - done - jq -r '.[] | .commit.author.email' <<< "${COMMITS}" | while read -r e; do - [ "${e#*@}" == 'levana.exchange' ] || [ "${e#*@}" == 'users.noreply.github.com' ] - done From 05d094d6b7679b5fec22636e588639b080cdcd65 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Mon, 14 Oct 2024 18:09:49 +0300 Subject: [PATCH 3/4] Remove check commit code entirely --- .ci/commit-check.awk | 1 - justfile | 6 ------ 2 files changed, 7 deletions(-) delete mode 100644 .ci/commit-check.awk diff --git a/.ci/commit-check.awk b/.ci/commit-check.awk deleted file mode 100644 index 2d5530e..0000000 --- a/.ci/commit-check.awk +++ /dev/null @@ -1 +0,0 @@ -$0 !~ /(.*@levana\.exchange$)|(noreply@github\.com$)|(.*@users\.noreply\.github\.com$)/ { print "Invalid email found in your git commit: " $0; exit 1 } diff --git a/justfile b/justfile index a5bc27d..9c01fb3 100644 --- a/justfile +++ b/justfile @@ -21,9 +21,3 @@ cargo-compile: # cargo test cargo-test: cd contract && cargo test --locked - -# Check commits -check-commits: - git fetch origin main --depth=1 - git log --pretty=format:"%ae" $(git branch --show-current)...origin/main > email - awk -f ./.ci/commit-check.awk email From 9ddb8e8cb8362dc9695e4899272d5f041e3afe60 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Mon, 14 Oct 2024 18:12:26 +0300 Subject: [PATCH 4/4] Remove another check-commits reference --- .github/workflows/contracts.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/contracts.yaml b/.github/workflows/contracts.yaml index f52ee14..7b6d154 100644 --- a/.github/workflows/contracts.yaml +++ b/.github/workflows/contracts.yaml @@ -21,8 +21,6 @@ jobs: - uses: taiki-e/install-action@v2 with: tool: just@1.16.0 - - name: Check commit - run: just check-commits - uses: dtolnay/rust-toolchain@master with: toolchain: 1.75.0