Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 #9

Merged
merged 143 commits into from
Jun 22, 2024
Merged

1 #9

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
6f5dc3b
feat: precompiled contracts ABI import (#9899)
akolotov Apr 29, 2024
c6a8b02
Update README.md
vbaranov Apr 29, 2024
1311e85
chore: Bump floki from 0.36.1 to 0.36.2 (#9979)
dependabot[bot] Apr 30, 2024
1147280
chore: Bump redix from 1.4.1 to 1.5.0 (#9977)
dependabot[bot] Apr 30, 2024
f2d7bd4
chore: Enhance indexer memory metrics (#9984)
Qwerty5Uiop Apr 30, 2024
2833a71
chore: Bump @babel/core in /apps/block_scout_web/assets (#9996)
dependabot[bot] May 1, 2024
661ba7a
chore: Bump @fortawesome/fontawesome-free (#10002)
dependabot[bot] May 1, 2024
56e0ef3
chore: Bump mixpanel-browser in /apps/block_scout_web/assets (#10000)
dependabot[bot] May 1, 2024
b33e1f7
chore: Bump sweetalert2 in /apps/block_scout_web/assets (#9998)
dependabot[bot] May 1, 2024
0b9d9be
chore: Bump css-loader in /apps/block_scout_web/assets (#10003)
dependabot[bot] May 1, 2024
34a4974
chore: Bump @amplitude/analytics-browser in /apps/block_scout_web/ass…
dependabot[bot] May 1, 2024
a4efbe6
chore: Bump @babel/preset-env in /apps/block_scout_web/assets (#9999)
dependabot[bot] May 2, 2024
b975933
chore: Bump mini-css-extract-plugin in /apps/block_scout_web/assets (…
dependabot[bot] May 2, 2024
d345f70
chore: Bump style-loader in /apps/block_scout_web/assets (#9995)
dependabot[bot] May 2, 2024
8adbc4c
chore: Bump ex_cldr_units from 3.16.5 to 3.17.0 (#9931)
dependabot[bot] May 2, 2024
0a2daf9
chore: Bump ex_cldr from 2.38.0 to 2.38.1 (#10009)
dependabot[bot] May 2, 2024
766a122
chore: Bump ex_cldr_numbers from 2.32.4 to 2.33.1 (#9978)
dependabot[bot] May 2, 2024
a8f9848
Remove update of latest tag except release CI for chains, which manag…
vbaranov May 3, 2024
a7eb86f
CI for Arbitrum on-demand Docker images
vbaranov May 3, 2024
4049b03
feat: Omit balanceOf requests for tokens that doesn't support it (#10…
Qwerty5Uiop May 3, 2024
f5eb946
feat: Detect EIP-1967 proxy pattern on unverified smart-contracts (#9…
vbaranov May 7, 2024
744bfdc
fix: Handle DB unavailability by PolygonZkevm.TransactionBatch fetche…
varasev May 7, 2024
141a85a
Fix typo
vbaranov May 7, 2024
a16afd1
feat: save smart-contract proxy type in the DB (#10033)
vbaranov May 7, 2024
934ad90
Update stats.yml (#10030)
ramazanfatih-karadeniz May 7, 2024
8312379
chore: Migrate to GET variant of {{metadata_url}}/api/v1/metadata (#9…
nikitosing May 7, 2024
f1392fc
fix: Don't put error to NFT metadata (#9940)
nikitosing May 7, 2024
5514401
feat: add user ops indexer to docker compose configs (#10010)
k1rill-fedoseev May 7, 2024
ebe6535
fix: search for long integers (#9651)
fedor-ivn May 7, 2024
de755d8
Show blocks range in internal transactions fetching error (#10028)
vbaranov May 7, 2024
fe9000c
feat: Diamond proxy (EIP-2535) support (#10034)
vbaranov May 9, 2024
18ef2c0
chore: Update outdated links to ETH JSON RPC Specification in docstri…
kevinam99 May 10, 2024
fb4fde6
feat: MUD API support (#9869)
k1rill-fedoseev May 10, 2024
3ecb555
chore: Add support of Blast-specific L1 OP withdrawal events (#10049)
varasev May 10, 2024
2dd9649
feat: Improve retry NFT fetcher (#10027)
nikitosing May 13, 2024
6fa60b4
chore: remove `has_methods` from `/addresses` (#10051)
fedor-ivn May 13, 2024
6682065
refactor: test database config (#9662)
fedor-ivn May 13, 2024
d066b0e
fix: Fix Unknown UID bug at smart-contract verification (#9986)
nikitosing May 13, 2024
06c2dde
chore: Bump ex_doc from 0.32.1 to 0.32.2 (#10061)
dependabot[bot] May 13, 2024
47cd3d2
chore: Bump redix from 1.5.0 to 1.5.1 (#10059)
dependabot[bot] May 14, 2024
ce934ec
chore: Bump credo from 1.7.5 to 1.7.6 (#10060)
dependabot[bot] May 14, 2024
b377ba5
refactor: Refactor get_additional_sources/4 -> get_additional_sources…
vbaranov May 14, 2024
621024c
fix: vyper contracts re-verificaiton (#10053)
rimrakhimov May 14, 2024
def8a1a
feat: Clone with immutable arguments proxy pattern (#10039)
vbaranov May 14, 2024
5bbf68e
fix: Disallow batched queries in GraphQL endpoint (#10050)
vbaranov May 14, 2024
64b55fa
chore: Update hackney pool size: add new fetchers accounting (#9941)
nikitosing May 14, 2024
fcc5ff2
feat: Blueprint contracts support (#10058)
rimrakhimov May 14, 2024
2e4e2ec
fix: Separate indexer setup (#10032)
Qwerty5Uiop May 14, 2024
379e81a
feat: Add optional retry of NFT metadata fetch in Indexer.Fetcher.Tok…
nikitosing May 14, 2024
4d4f355
fix: Eliminate from_address_hash == #{address_hash} clause for transa…
vbaranov May 15, 2024
7f6ee61
fix: Rework revert_reason (#9212)
k1rill-fedoseev May 15, 2024
88394ff
6.6.0
vbaranov May 15, 2024
8265c9d
fix: Add healthcheck endpoints for indexer-only setup (#10076)
Qwerty5Uiop May 17, 2024
77203a3
fix: Update Vyper inner compilers list to support all compilers (#10091)
rimrakhimov May 20, 2024
22c106a
Fix certified flag in the search API v2 endpoint (#10094)
vbaranov May 20, 2024
8580be2
Update CHANGELOG for 6.6.0
vbaranov May 20, 2024
77f313a
Remove custom release CI for Immutable
vbaranov May 20, 2024
2151248
feat: implement fetch_first_trace for Geth (#10087)
k1rill-fedoseev May 22, 2024
8493441
Update CHANGELOG
vbaranov May 22, 2024
c6c9a0c
Fix GA pre-release && release workflows
vbaranov May 22, 2024
3e551ba
Improve response of address API to return multiple implementations fo…
vbaranov May 23, 2024
fff614d
Update CHANGELOG
vbaranov May 23, 2024
d782239
Indexer/API separated images for Redstone
vbaranov May 23, 2024
bf3f321
chore: Bump ecto_sql from 3.11.1 to 3.11.2
dependabot[bot] May 27, 2024
35c885d
feat: indexer for cross level messages on Arbitrum (#9312)
akolotov May 27, 2024
5a568f0
--- (#10096)
dependabot[bot] May 27, 2024
5c4cb10
hide chain specific fields behind Map.get (#10131)
akolotov May 27, 2024
dc44b18
fix: Hotfix for Indexer.Fetcher.Optimism.WithdrawalEvent and Ethereum…
varasev May 28, 2024
f0f83d2
fix: missing nil case for revert reason (#10136)
k1rill-fedoseev May 28, 2024
67a9668
Explicit message on token balance update error (#10129)
vbaranov May 29, 2024
ba664fa
fix: Add missing preloads to tokens endpoints (#10072)
nikitosing May 29, 2024
e269294
feat: Add window between balance fetch retries for missing balanceOf …
Qwerty5Uiop May 29, 2024
016881a
refactor: Remove hardcoded numResults from fetch_pending_transactions…
MASDXI May 30, 2024
d3e15d3
chore(deps-dev): bump @babel/core in /apps/block_scout_web/assets (#1…
dependabot[bot] Jun 3, 2024
034bc18
fix: Fix Retry NFT fetcher (#10146)
nikitosing Jun 3, 2024
13c027f
chore(deps-dev): bump eslint-plugin-promise (#10168)
dependabot[bot] Jun 3, 2024
80cb860
chore(deps): bump core-js in /apps/block_scout_web/assets (#10175)
dependabot[bot] Jun 3, 2024
064761b
chore(deps): bump sweetalert2 in /apps/block_scout_web/assets (#10171)
dependabot[bot] Jun 3, 2024
f2737ec
chore(deps): bump mixpanel-browser in /apps/block_scout_web/assets (#…
dependabot[bot] Jun 3, 2024
bf32aab
chore(deps-dev): bump css-minimizer-webpack-plugin (#10173)
dependabot[bot] Jun 3, 2024
ba402c1
chore(deps): bump solc from 0.8.25 to 0.8.26 in /apps/explorer (#10177)
dependabot[bot] Jun 3, 2024
f3092af
chore(deps): bump @amplitude/analytics-browser (#10176)
dependabot[bot] Jun 3, 2024
2dc1dbe
chore(deps-dev): bump @babel/preset-env in /apps/block_scout_web/asse…
dependabot[bot] Jun 3, 2024
67b708f
chore(deps): bump chart.js in /apps/block_scout_web/assets (#10169)
dependabot[bot] Jun 3, 2024
0e7f09a
fix: Add a separate db url for events listener (#10164)
Qwerty5Uiop Jun 3, 2024
ba49416
fix: Move auth routes to general router (#10153)
Qwerty5Uiop Jun 3, 2024
a072be3
chore: Return is verified=true for verified minimal proxy pattern (#1…
vbaranov Jun 5, 2024
59170c0
chore: Exclude write methods from read tabs (#10111)
vbaranov Jun 6, 2024
646a343
chore: Refactor PendingTransactionsSanitizer to use batched requests …
Qwerty5Uiop Jun 6, 2024
b5780d3
fix: Add the ability to allow empty traces (#10200)
Qwerty5Uiop Jun 6, 2024
d9586c2
fix: Resolve flaky address_controller test for web
vbaranov Jun 6, 2024
3e77a35
feat: Add Fee column to Internal transactions CSV export (#10204)
nikitosing Jun 6, 2024
c77180c
Fix flaky test
vbaranov Jun 6, 2024
80a8e3b
fix: Filter WETH transfers in indexer + migration to delete historica…
nikitosing Jun 6, 2024
44bee1e
feat: Set dynamic ttl of cache modules derived from MapCache (#10109)
vbaranov Jun 6, 2024
85a5100
fix: excessive logging for Arbitrum batches confirmations (#10205)
akolotov Jun 7, 2024
a8e2e12
feat: Batch read methods requests (#10192)
nikitosing Jun 7, 2024
eddaead
feat: Add feature toggle for WETH filtering (#10208)
nikitosing Jun 7, 2024
3bea0e8
perf: replace individual queries with ecto preload (#10203)
sl1depengwyn Jun 7, 2024
653f912
feat: Push relevant entries to the front of bound queue (#10193)
Qwerty5Uiop Jun 7, 2024
e29f3e2
feat: Get ERC-1155 token name from contractURI getter fallback (#10187)
vbaranov Jun 7, 2024
b8730cd
feat: Adding Mobula price source (#9971)
xyeuu Jun 7, 2024
d0ec50e
feat(ci): use remote arm64 builder (#9468)
k1rill-fedoseev Jun 7, 2024
5992623
fixed the field name (#10216)
akolotov Jun 10, 2024
2f20ff6
chore(deps): bump remote_ip from 1.1.0 to 1.2.0 (#10224)
dependabot[bot] Jun 10, 2024
8c03e73
chore(deps): bump cldr_utils from 2.25.0 to 2.26.0 (#10223)
dependabot[bot] Jun 10, 2024
e0b43fd
chore(deps-dev): bump wallaby from 0.30.6 to 0.30.7 (#10221)
dependabot[bot] Jun 10, 2024
e292873
fix: Fix unknown UID bug (#10226)
nikitosing Jun 11, 2024
d231ca6
fix: Replace empty arg names with argN (#9748)
nikitosing Jun 11, 2024
3cc6222
fix: ERC-1155 tokens metadata retrieve (#10231)
Qwerty5Uiop Jun 11, 2024
854a81b
fix: cannot truncate chardata (#10227)
sl1depengwyn Jun 11, 2024
a8e7ada
chore(deps-dev): bump benchee from 1.3.0 to 1.3.1 (#10222)
dependabot[bot] Jun 11, 2024
68ca0ed
fix: add proxy_implementations preloads (#10225)
sl1depengwyn Jun 11, 2024
569cb8b
fix: add smart contracts preloads to from_address (#10236)
sl1depengwyn Jun 11, 2024
e02dde7
feat: Advanced Filters (#9769)
sl1depengwyn Jun 12, 2024
aaed915
Fix nil abi issue in get_naive_implementation_abi and get_master_copy…
vbaranov Jun 12, 2024
c31f937
fix: batch transactions view recovered and support of proofs through …
akolotov Jun 12, 2024
4297704
feat: API endpoint to re-fetch token instance metadata (#10097)
vbaranov Jun 13, 2024
57293ec
6.7.0
vbaranov Jun 13, 2024
ce9ecfa
fix: Fix possible unknown UID bug (#10240)
nikitosing Jun 13, 2024
366aaca
Update CHANGELOG
vbaranov Jun 13, 2024
6a269b1
fix: pipe through api_v2_no_forgery_protect POST requests in SmartCo…
vbaranov Jun 14, 2024
9448ccb
fix: proper hex-encoded transaction hash recognition in ZkSync batche…
akolotov Jun 17, 2024
454edb0
fix: advanced filter contract creation transaction (#10257)
sl1depengwyn Jun 17, 2024
4f0cc81
feat: Chain & explorer Prometheus metrics (#10063)
vbaranov Jun 17, 2024
d3a7496
fix: add preloads to summary and tokens endpoints (#10259)
sl1depengwyn Jun 17, 2024
a600119
Update CHANGELOG
vbaranov Jun 17, 2024
ed5e3e3
fix: add preloads for tx summary endpoint (#10261)
sl1depengwyn Jun 17, 2024
fdfea14
fix: `getsourcecode` in API v1 for verified proxy (#10273)
fedor-ivn Jun 18, 2024
aa7f970
Update CHANGELOG
vbaranov Jun 18, 2024
18c41a0
Fix ci setup repo error (#10277)
alik-agaev Jun 19, 2024
33bf9ea
feat: Public metrics toggler (#10279)
vbaranov Jun 19, 2024
40e1bca
Update CHANGELOG
vbaranov Jun 19, 2024
ae2e137
Pre-release workflow for Arbitrum
vbaranov Jun 19, 2024
0209f3d
Update CHANGELOG
vbaranov Jun 19, 2024
e187299
fix: set timeout in seconds (#10283)
k1rill-fedoseev Jun 20, 2024
da082cc
Update CHANGELOG
vbaranov Jun 20, 2024
d534902
Disable weekly_active_addresses_number metric because it affects DB p…
vbaranov Jun 20, 2024
8cb56f7
Speed-up query execution for weekly_new_token_transfers_number_query …
vbaranov Jun 20, 2024
726bc84
fix: add token instances preloads (#10288)
sl1depengwyn Jun 20, 2024
acd3940
Update CHANGELOG
vbaranov Jun 20, 2024
3ae9c96
fix: token instance preload (#10297)
sl1depengwyn Jun 21, 2024
5789382
fix: update `ex_abi` to fix type decoder for huge lists (#10294)
fedor-ivn Jun 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dialyzer-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ lib/phoenix/router.ex:402
lib/explorer/smart_contract/reader.ex:435
lib/explorer/exchange_rates/source.ex:139
lib/explorer/exchange_rates/source.ex:142
lib/block_scout_web/cldr.ex:1
lib/block_scout_web/views/api/v2/transaction_view.ex:431
lib/block_scout_web/views/api/v2/transaction_view.ex:472
lib/explorer/chain/transaction.ex:171
23 changes: 0 additions & 23 deletions .github/actions/setup-repo-and-short-sha/action.yml

This file was deleted.

65 changes: 62 additions & 3 deletions .github/actions/setup-repo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,69 @@ inputs:
docker-password:
description: 'Docker password'
required: true
docker-remote-multi-platform:
description: 'Docker remote multi-platform builder'
required: true
default: 'false'
docker-arm-host:
description: 'Docker remote arm builder'
required: false
docker-arm-host-key:
description: 'Docker remote arm builder ssh private key'
required: false
docker-image:
description: 'Docker image'
required: true
default: blockscout/blockscout
outputs:
docker-builder:
description: 'Docker builder'
value: ${{ steps.builder_local.outputs.name || steps.builder_multi.outputs.name }}
docker-tags:
description: 'Docker metadata tags'
value: ${{ steps.meta.outputs.tags }}
docker-labels:
description: 'Docker metadata labels'
value: ${{ steps.meta.outputs.labels }}
docker-platforms:
description: 'Docker build platforms'
value: ${{ steps.builder_local.outputs.platforms || steps.builder_multi.outputs.platforms }}
runs:
using: "composite"
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up SSH key
shell: bash
run: |
mkdir -p ~/.ssh
echo "${{ inputs.docker-arm-host-key }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
- name: Find builder
if: ${{ inputs.docker-remote-multi-platform }}
shell: bash
run: echo "BUILDER_IP=$(./.github/scripts/select-builder.sh ${{ inputs.docker-arm-host }} ubuntu ~/.ssh/id_rsa)" >> $GITHUB_ENV
- name: Set up SSH
if: ${{ inputs.docker-remote-multi-platform }}
uses: MrSquaare/ssh-setup-action@523473d91581ccbf89565e12b40faba93f2708bd # v1.1.0
with:
host: ${{ env.BUILDER_IP }}
private-key: ${{ inputs.docker-arm-host-key }}

- name: Set up Docker Buildx
if: ${{ !inputs.docker-remote-multi-platform }}
uses: docker/setup-buildx-action@v3
id: builder_local
with:
platforms: linux/amd64

- name: Set up Multi-platform Docker Buildx
if: ${{ inputs.docker-remote-multi-platform }}
uses: docker/setup-buildx-action@v3
id: builder_multi
with:
platforms: linux/amd64
append: |
- endpoint: ssh://ubuntu@${{ env.BUILDER_IP }}
platforms: linux/arm64/v8

- name: Log in to Docker Hub
uses: docker/login-action@v3
Expand All @@ -26,4 +81,8 @@ runs:
id: meta
uses: docker/metadata-action@v5
with:
images: blockscout/blockscout
images: ${{ inputs.docker-image }}

- name: Add SHORT_SHA env property with commit short sha
shell: bash
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
44 changes: 44 additions & 0 deletions .github/scripts/select-builder.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/bin/bash

# Check if a domain is provided as an argument
if [ -z "$1" ]; then
echo "Usage: $0 <domain>"
exit 1
fi

DOMAIN=$1
SSH_USER=$2
SSH_KEY=$3

# Resolve A records
IP_LIST=$(dig +short A $DOMAIN)
if [ -z "$IP_LIST" ]; then
echo "No IPs found for domain $DOMAIN"
exit 1
fi

MIN_LA=1000000
BEST_BUILDER=""

for IP in $IP_LIST; do
# Check if the host is reachable via SSH
ssh -o StrictHostKeychecking=no -o ConnectTimeout=5 -o BatchMode=yes -i $SSH_KEY $SSH_USER@$IP "exit" 2>/dev/null
if [ $? -eq 0 ]; then
# Get the load average
LA=$(ssh -o StrictHostKeychecking=no -i $SSH_KEY $SSH_USER@$IP "uptime | awk -F'load average:' '{ print \$2 }' | cut -d, -f1" 2>/dev/null)
if [ $? -eq 0 ]; then
# Compare and find the minimum load average
LA=$(echo $LA | xargs) # Trim whitespace
if (( $(echo "$LA < $MIN_LA" | bc -l) )); then
MIN_LA=$LA
BEST_BUILDER=$IP
fi
fi
fi
done

if [ -n "$BEST_BUILDER" ]; then
echo "$BEST_BUILDER" | tr -d '[:space:]'
else
echo "No reachable hosts found."
fi
9 changes: 5 additions & 4 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
push:
branches:
- master
- production-arbitrum
- production-core
- production-eth-experimental
- production-eth-goerli
- production-eth-sepolia
- production-filecoin
- production-fuse
- production-optimism
- production-immutable
Expand All @@ -29,8 +29,6 @@ on:
types: [opened, synchronize, reopened, labeled]
branches:
- master
- production-optimism
- production-zksync

env:
MIX_ENV: test
Expand Down Expand Up @@ -583,6 +581,7 @@ jobs:
ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Nethermind.Mox"
ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox"
CHAIN_TYPE: ${{ matrix.chain-type != 'default' && matrix.chain-type || '' }}
WETH_TOKEN_TRANSFERS_FILTERING_ENABLED: "true"
test_nethermind_mox_indexer:
strategy:
fail-fast: false
Expand Down Expand Up @@ -649,6 +648,7 @@ jobs:
ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Nethermind.Mox"
ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox"
CHAIN_TYPE: ${{ matrix.chain-type != 'default' && matrix.chain-type || '' }}
WETH_TOKEN_TRANSFERS_FILTERING_ENABLED: "true"
test_nethermind_mox_block_scout_web:
strategy:
fail-fast: false
Expand Down Expand Up @@ -749,3 +749,4 @@ jobs:
ACCOUNT_REDIS_URL: "redis://localhost:6379"
SOURCIFY_INTEGRATION_ENABLED: "true"
CHAIN_TYPE: ${{ matrix.chain-type != 'default' && matrix.chain-type || '' }}
WETH_TOKEN_TRANSFERS_FILTERING_ENABLED: "true"
97 changes: 97 additions & 0 deletions .github/workflows/pre-release-arbitrum.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Pre-release for Arbitrum

on:
workflow_dispatch:
inputs:
number:
type: number
required: true

env:
OTP_VERSION: ${{ vars.OTP_VERSION }}
ELIXIR_VERSION: ${{ vars.ELIXIR_VERSION }}

jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
env:
RELEASE_VERSION: ${{ vars.RELEASE_VERSION }}
steps:
- uses: actions/checkout@v4
- name: Setup repo
uses: ./.github/actions/setup-repo
id: setup
with:
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_PASSWORD }}
docker-remote-multi-platform: true
docker-arm-host: ${{ secrets.ARM_RUNNER_HOSTNAME }}
docker-arm-host-key: ${{ secrets.ARM_RUNNER_KEY }}

- name: Build and push Docker image for Arbitrum (indexer + API)
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
push: true
tags: blockscout/blockscout-arbitrum:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
labels: ${{ steps.setup.outputs.docker-labels }}
platforms: |
linux/amd64
linux/arm64/v8
build-args: |
DISABLE_WEBAPP=false
API_V1_READ_METHODS_DISABLED=false
API_V1_WRITE_METHODS_DISABLED=false
CACHE_EXCHANGE_RATES_PERIOD=
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
ADMIN_PANEL_ENABLED=false
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
CHAIN_TYPE=arbitrum

- name: Build and push Docker image for Arbitrum (indexer)
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
push: true
tags: blockscout/blockscout-arbitrum:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-indexer
labels: ${{ steps.setup.outputs.docker-labels }}
platforms: |
linux/amd64
linux/arm64/v8
build-args: |
DISABLE_API=true
DISABLE_WEBAPP=true
CACHE_EXCHANGE_RATES_PERIOD=
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
ADMIN_PANEL_ENABLED=false
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
CHAIN_TYPE=arbitrum

- name: Build and push Docker image for Arbitrum (API)
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
push: true
tags: blockscout/blockscout-arbitrum:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-api
labels: ${{ steps.setup.outputs.docker-labels }}
platforms: |
linux/amd64
linux/arm64/v8
build-args: |
DISABLE_INDEXER=true
DISABLE_WEBAPP=true
CACHE_EXCHANGE_RATES_PERIOD=
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
ADMIN_PANEL_ENABLED=false
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
CHAIN_TYPE=arbitrum
Loading
Loading