Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit a8cc4ed

Browse files
committed
Merge remote-tracking branch 'origin/master' into production-optimism
2 parents fb649d7 + f5aecf1 commit a8cc4ed

File tree

69 files changed

+2260
-4536
lines changed

Some content is hidden

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

69 files changed

+2260
-4536
lines changed

.github/workflows/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
5050
// Add/remove CI matrix chain types here
5151
const defaultChainTypes = ["default"];
52-
const chainTypes = ["ethereum", "polygon_zkevm", "rsk", "stability", "filecoin", "optimism", "arbitrum", "celo", "zetachain", "zksync", "shibarium"];
52+
const chainTypes = ["ethereum", "polygon_zkevm", "rsk", "stability", "filecoin", "optimism", "arbitrum", "celo", "zetachain", "zksync", "shibarium", "blackfort"];
5353
const extraChainTypes = ["suave", "polygon_edge"];
5454
5555
// Chain type matrix we use in master branch
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
name: Pre-release for Blackfort
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: ${{ vars.RELEASE_VERSION }}
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 Blackfort (indexer + API)
33+
uses: docker/build-push-action@v5
34+
with:
35+
context: .
36+
file: ./docker/Dockerfile
37+
push: true
38+
tags: blockscout/blockscout-blackfort:${{ 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+
DISABLE_WEBAPP=false
45+
API_V1_READ_METHODS_DISABLED=false
46+
API_V1_WRITE_METHODS_DISABLED=false
47+
CACHE_EXCHANGE_RATES_PERIOD=
48+
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
49+
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
50+
ADMIN_PANEL_ENABLED=false
51+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
52+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
53+
CHAIN_TYPE=blackfort
54+
55+
- name: Build and push Docker image for Blackfort (indexer)
56+
uses: docker/build-push-action@v5
57+
with:
58+
context: .
59+
file: ./docker/Dockerfile
60+
push: true
61+
tags: blockscout/blockscout-blackfort:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-indexer
62+
labels: ${{ steps.setup.outputs.docker-labels }}
63+
platforms: |
64+
linux/amd64
65+
linux/arm64/v8
66+
build-args: |
67+
DISABLE_API=true
68+
DISABLE_WEBAPP=true
69+
CACHE_EXCHANGE_RATES_PERIOD=
70+
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
71+
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
72+
ADMIN_PANEL_ENABLED=false
73+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
74+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
75+
CHAIN_TYPE=blackfort
76+
77+
- name: Build and push Docker image for Blackfort (API)
78+
uses: docker/build-push-action@v5
79+
with:
80+
context: .
81+
file: ./docker/Dockerfile
82+
push: true
83+
tags: blockscout/blockscout-blackfort:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-api
84+
labels: ${{ steps.setup.outputs.docker-labels }}
85+
platforms: |
86+
linux/amd64
87+
linux/arm64/v8
88+
build-args: |
89+
DISABLE_INDEXER=true
90+
DISABLE_WEBAPP=true
91+
CACHE_EXCHANGE_RATES_PERIOD=
92+
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
93+
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
94+
ADMIN_PANEL_ENABLED=false
95+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
96+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
97+
CHAIN_TYPE=blackfort
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Blackfort Publish Docker image
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- production-blackfort
8+
env:
9+
OTP_VERSION: ${{ vars.OTP_VERSION }}
10+
ELIXIR_VERSION: ${{ vars.ELIXIR_VERSION }}
11+
jobs:
12+
push_to_registry:
13+
name: Push Docker image to Docker Hub
14+
runs-on: ubuntu-latest
15+
env:
16+
RELEASE_VERSION: ${{ vars.RELEASE_VERSION }}
17+
DOCKER_CHAIN_NAME: blackfort
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Setup repo
21+
uses: ./.github/actions/setup-repo
22+
id: setup
23+
with:
24+
docker-username: ${{ secrets.DOCKER_USERNAME }}
25+
docker-password: ${{ secrets.DOCKER_PASSWORD }}
26+
docker-remote-multi-platform: true
27+
docker-arm-host: ${{ secrets.ARM_RUNNER_HOSTNAME }}
28+
docker-arm-host-key: ${{ secrets.ARM_RUNNER_KEY }}
29+
30+
- name: Build and push Docker image
31+
uses: docker/build-push-action@v5
32+
with:
33+
context: .
34+
file: ./docker/Dockerfile
35+
push: true
36+
tags: blockscout/blockscout-${{ env.DOCKER_CHAIN_NAME }}:${{ env.RELEASE_VERSION }}-postrelease-${{ env.SHORT_SHA }}
37+
labels: ${{ steps.setup.outputs.docker-labels }}
38+
platforms: |
39+
linux/amd64
40+
linux/arm64/v8
41+
build-args: |
42+
CACHE_EXCHANGE_RATES_PERIOD=
43+
API_V1_READ_METHODS_DISABLED=false
44+
DISABLE_WEBAPP=false
45+
API_V1_WRITE_METHODS_DISABLED=false
46+
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
47+
ADMIN_PANEL_ENABLED=false
48+
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
49+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta.+commit.${{ env.SHORT_SHA }}
50+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
51+
CHAIN_TYPE=blackfort
+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
name: Release for Blackfort
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
env:
8+
OTP_VERSION: ${{ vars.OTP_VERSION }}
9+
ELIXIR_VERSION: ${{ vars.ELIXIR_VERSION }}
10+
11+
jobs:
12+
push_to_registry:
13+
name: Push Docker image to Docker Hub
14+
runs-on: ubuntu-latest
15+
env:
16+
RELEASE_VERSION: ${{ vars.RELEASE_VERSION }}
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Setup repo
20+
uses: ./.github/actions/setup-repo
21+
id: setup
22+
with:
23+
docker-username: ${{ secrets.DOCKER_USERNAME }}
24+
docker-password: ${{ secrets.DOCKER_PASSWORD }}
25+
docker-remote-multi-platform: true
26+
docker-arm-host: ${{ secrets.ARM_RUNNER_HOSTNAME }}
27+
docker-arm-host-key: ${{ secrets.ARM_RUNNER_KEY }}
28+
29+
- name: Build and push Docker image for Blackfort (indexer + API)
30+
uses: docker/build-push-action@v5
31+
with:
32+
context: .
33+
file: ./docker/Dockerfile
34+
push: true
35+
tags: blockscout/blockscout-blackfort:latest, blockscout/blockscout-blackfort:${{ env.RELEASE_VERSION }}
36+
labels: ${{ steps.setup.outputs.docker-labels }}
37+
platforms: |
38+
linux/amd64
39+
linux/arm64/v8
40+
build-args: |
41+
DISABLE_WEBAPP=false
42+
API_V1_READ_METHODS_DISABLED=false
43+
API_V1_WRITE_METHODS_DISABLED=false
44+
CACHE_EXCHANGE_RATES_PERIOD=
45+
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
46+
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
47+
ADMIN_PANEL_ENABLED=false
48+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta
49+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
50+
CHAIN_TYPE=blackfort
51+
52+
- name: Build and push Docker image for Blackfort (indexer)
53+
uses: docker/build-push-action@v5
54+
with:
55+
context: .
56+
file: ./docker/Dockerfile
57+
push: true
58+
tags: blockscout/blockscout-blackfort:${{ env.RELEASE_VERSION }}-indexer
59+
labels: ${{ steps.setup.outputs.docker-labels }}
60+
platforms: |
61+
linux/amd64
62+
linux/arm64/v8
63+
build-args: |
64+
DISABLE_API=true
65+
DISABLE_WEBAPP=true
66+
CACHE_EXCHANGE_RATES_PERIOD=
67+
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
68+
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
69+
ADMIN_PANEL_ENABLED=false
70+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta
71+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
72+
CHAIN_TYPE=blackfort
73+
74+
- name: Build and push Docker image for Blackfort (API)
75+
uses: docker/build-push-action@v5
76+
with:
77+
context: .
78+
file: ./docker/Dockerfile
79+
push: true
80+
tags: blockscout/blockscout-blackfort:${{ env.RELEASE_VERSION }}-api
81+
labels: ${{ steps.setup.outputs.docker-labels }}
82+
platforms: |
83+
linux/amd64
84+
linux/arm64/v8
85+
build-args: |
86+
DISABLE_INDEXER=true
87+
DISABLE_WEBAPP=true
88+
CACHE_EXCHANGE_RATES_PERIOD=
89+
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
90+
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
91+
ADMIN_PANEL_ENABLED=false
92+
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta
93+
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
94+
CHAIN_TYPE=blackfort

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Changelog
22

3+
## 6.8.1
4+
5+
### 🚀 Features
6+
7+
- Add `INDEXER_OPTIMISM_L1_DEPOSITS_TRANSACTION_TYPE` env variable ([#10674](https://github.com/blockscout/blockscout/issues/10674))
8+
- Support for filecoin native addresses ([#10468](https://github.com/blockscout/blockscout/issues/10468))
9+
10+
### 🐛 Bug Fixes
11+
12+
- Decoding of zero fields in mud ([#10764](https://github.com/blockscout/blockscout/issues/10764))
13+
- Insert coin balances placeholders in internal transactions fetcher ([#10603](https://github.com/blockscout/blockscout/issues/10603))
14+
- Avoid key violation error in `Indexer.Fetcher.Optimism.TxnBatch` ([#10752](https://github.com/blockscout/blockscout/issues/10752))
15+
- Fix empty current token balances ([#10745](https://github.com/blockscout/blockscout/issues/10745))
16+
- Allow disabling group votes fetcher independently of epoch block fetcher ([#10673](https://github.com/blockscout/blockscout/issues/10673))
17+
- Fix gettext usage warning ([#10693](https://github.com/blockscout/blockscout/issues/10693))
18+
- Truncate token symbol in Explorer.Chain.PolygonZkevm.BridgeL1Token ([#10688](https://github.com/blockscout/blockscout/issues/10688))
19+
20+
### ⚡ Performance
21+
22+
- Improve performance of transactions list page ([#10734](https://github.com/blockscout/blockscout/issues/10734))
23+
24+
### ⚙️ Miscellaneous Tasks
25+
26+
- Add meta to migrations_status ([#10678](https://github.com/blockscout/blockscout/issues/10678))
27+
- Token balances fetcher slow queue ([#10694](https://github.com/blockscout/blockscout/issues/10694))
28+
- Shrink sample response for the trace in Filecoin chain type
29+
- Extend missing balanceOf function with :unable_to_decode error ([#10713](https://github.com/blockscout/blockscout/issues/10713))
30+
- Fix flaking explorer tests ([#10676](https://github.com/blockscout/blockscout/issues/10676))
31+
- Change shrink internal transactions migration default batch_size ([#10689](https://github.com/blockscout/blockscout/issues/10689))
32+
333
## 6.8.0
434

535
### 🚀 Features

0 commit comments

Comments
 (0)