Skip to content

Commit 09897c9

Browse files
Merge branch 'blockscout:master' into master
2 parents b6960a9 + 20bee3b commit 09897c9

189 files changed

Lines changed: 4491 additions & 1499 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/.blockscout_config.example

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,18 @@ INDEXER_DISABLE_TOKEN_INSTANCE_RETRY_FETCHER='true'
2323
INDEXER_DISABLE_TOKEN_INSTANCE_REALTIME_FETCHER='true'
2424
INDEXER_DISABLE_TOKEN_INSTANCE_SANITIZE_FETCHER='true'
2525
INDEXER_DISABLE_WITHDRAWALS_FETCHER='true'
26-
INDEXER_DISABLE_TOKEN_INSTANCE_LEGACY_SANITIZE_FETCHER='true'
2726

2827
INDEXER_CATCHUP_BLOCKS_BATCH_SIZE=5
2928
INDEXER_COIN_BALANCES_BATCH_SIZE=1
30-
TOKEN_ID_MIGRATION_BATCH_SIZE=1
31-
TOKEN_INSTANCE_OWNER_MIGRATION_BATCH_SIZE=1
3229
INDEXER_EMPTY_BLOCKS_SANITIZER_BATCH_SIZE=1
3330
INDEXER_BLOCK_REWARD_BATCH_SIZE=1
3431
INDEXER_RECEIPTS_BATCH_SIZE=10
3532
INDEXER_COIN_BALANCES_BATCH_SIZE=1
3633
INDEXER_TOKEN_BALANCES_BATCH_SIZE=1
3734

3835
INDEXER_CATCHUP_BLOCKS_CONCURRENCY=1
39-
TOKEN_INSTANCE_OWNER_MIGRATION_CONCURRENCY=1
36+
MIGRATION_TOKEN_INSTANCE_OWNER_BATCH_SIZE=1
37+
MIGRATION_TOKEN_INSTANCE_OWNER_CONCURRENCY=1
4038
INDEXER_BLOCK_REWARD_CONCURRENCY=1
4139
INDEXER_RECEIPTS_CONCURRENCY=1
4240
INDEXER_COIN_BALANCES_CONCURRENCY=1
@@ -45,11 +43,9 @@ INDEXER_TOKEN_BALANCES_CONCURRENCY=1
4543
INDEXER_TOKEN_INSTANCE_RETRY_CONCURRENCY=1
4644
INDEXER_TOKEN_INSTANCE_REALTIME_CONCURRENCY=1
4745
INDEXER_TOKEN_INSTANCE_SANITIZE_CONCURRENCY=1
48-
INDEXER_TOKEN_INSTANCE_LEGACY_SANITIZE_CONCURRENCY=1
4946
INDEXER_TOKEN_INSTANCE_RETRY_BATCH_SIZE=1
5047
INDEXER_TOKEN_INSTANCE_REALTIME_BATCH_SIZE=1
5148
INDEXER_TOKEN_INSTANCE_SANITIZE_BATCH_SIZE=1
52-
INDEXER_TOKEN_INSTANCE_LEGACY_SANITIZE_BATCH_SIZE=1
5349

5450
INDEXER_TOKEN_BALANCES_FETCHER_INIT_QUERY_LIMIT=2
5551
INDEXER_COIN_BALANCES_FETCHER_INIT_QUERY_LIMIT=2

.dialyzer-ignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ lib/explorer/smart_contract/solidity/publisher_worker.ex:8
66
lib/explorer/smart_contract/vyper/publisher_worker.ex:8
77
lib/explorer/smart_contract/stylus/publisher_worker.ex:8
88
lib/phoenix/router.ex:402
9-
lib/explorer/chain/search.ex:80
10-
lib/explorer/chain/search.ex:183
11-
lib/explorer/chain/search.ex:271
9+
lib/explorer/chain/search.ex:81
10+
lib/explorer/chain/search.ex:228
11+
lib/explorer/chain/search.ex:324

.github/workflows/antiscam.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ jobs:
1919
steps:
2020
- uses: vbaranov/antiscam-action@main
2121
with:
22-
token: ${{ github.token }}
22+
token: ${{ github.token }}
23+
env:
24+
SCAM_ACTION_WHITELISTED_LOGINS: ${{ vars.SCAM_ACTION_WHITELISTED_LOGINS }}

.github/workflows/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464
"stability",
6565
"zetachain",
6666
"zilliqa",
67-
"zksync"
67+
"zksync",
68+
"neon"
6869
];
6970
7071
const extraChainTypes = ["suave", "polygon_edge"];

.github/workflows/pre-release-arbitrum.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Push Docker image to Docker Hub
1717
runs-on: ubuntu-latest
1818
env:
19-
RELEASE_VERSION: 6.10.1
19+
RELEASE_VERSION: 7.0.0
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Setup repo

.github/workflows/pre-release-blackfort.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Push Docker image to Docker Hub
1717
runs-on: ubuntu-latest
1818
env:
19-
RELEASE_VERSION: 6.10.1
19+
RELEASE_VERSION: 7.0.0
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Setup repo

.github/workflows/pre-release-celo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Push Docker image to Docker Hub
1717
runs-on: ubuntu-latest
1818
env:
19-
RELEASE_VERSION: 6.10.1
19+
RELEASE_VERSION: 7.0.0
2020
API_GRAPHQL_MAX_COMPLEXITY: 10400
2121
steps:
2222
- uses: actions/checkout@v4

.github/workflows/pre-release-eth.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Push Docker image to Docker Hub
1717
runs-on: ubuntu-latest
1818
env:
19-
RELEASE_VERSION: 6.10.1
19+
RELEASE_VERSION: 7.0.0
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Setup repo

.github/workflows/pre-release-filecoin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Push Docker image to Docker Hub
1717
runs-on: ubuntu-latest
1818
env:
19-
RELEASE_VERSION: 6.10.1
19+
RELEASE_VERSION: 7.0.0
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Setup repo
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: Pre-release for Neon
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
number:
7+
type: number
8+
required: true
9+
10+
env:
11+
OTP_VERSION: ${{ vars.OTP_VERSION }}
12+
ELIXIR_VERSION: ${{ vars.ELIXIR_VERSION }}
13+
14+
jobs:
15+
push_to_registry:
16+
name: Push Docker image to Docker Hub
17+
runs-on: ubuntu-latest
18+
env:
19+
RELEASE_VERSION: 7.0.0
20+
steps:
21+
- uses: actions/checkout@v4
22+
- name: Setup repo
23+
uses: ./.github/actions/setup-repo
24+
id: setup
25+
with:
26+
docker-username: ${{ secrets.DOCKER_USERNAME }}
27+
docker-password: ${{ secrets.DOCKER_PASSWORD }}
28+
docker-remote-multi-platform: true
29+
docker-arm-host: ${{ secrets.ARM_RUNNER_HOSTNAME }}
30+
docker-arm-host-key: ${{ secrets.ARM_RUNNER_KEY }}
31+
32+
- name: Build and push Docker image for Neon (indexer + API)
33+
uses: docker/build-push-action@v6
34+
with:
35+
context: .
36+
file: ./docker/Dockerfile
37+
push: true
38+
tags: blockscout/blockscout-neon:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
39+
labels: ${{ steps.setup.outputs.docker-labels }}
40+
platforms: |
41+
linux/amd64
42+
linux/arm64/v8
43+
build-args: |
44+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
45+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
46+
CHAIN_TYPE=neon
47+
48+
- name: Build and push Docker image for Neon (indexer)
49+
uses: docker/build-push-action@v6
50+
with:
51+
context: .
52+
file: ./docker/Dockerfile
53+
push: true
54+
tags: blockscout/blockscout-neon:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-indexer
55+
labels: ${{ steps.setup.outputs.docker-labels }}
56+
platforms: |
57+
linux/amd64
58+
linux/arm64/v8
59+
build-args: |
60+
DISABLE_API=true
61+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
62+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
63+
CHAIN_TYPE=neon
64+
65+
- name: Build and push Docker image for Neon (API)
66+
uses: docker/build-push-action@v6
67+
with:
68+
context: .
69+
file: ./docker/Dockerfile
70+
push: true
71+
tags: blockscout/blockscout-neon:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-api
72+
labels: ${{ steps.setup.outputs.docker-labels }}
73+
platforms: |
74+
linux/amd64
75+
linux/arm64/v8
76+
build-args: |
77+
DISABLE_INDEXER=true
78+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
79+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
80+
CHAIN_TYPE=neon

0 commit comments

Comments
 (0)