Skip to content

Commit

Permalink
Merge pull request #13 from hemilabs/add-eip-4844
Browse files Browse the repository at this point in the history
Add support for EIP-4844 blobs
  • Loading branch information
gabmontes authored Jun 3, 2024
2 parents ad72550 + b98c721 commit 85c0a39
Show file tree
Hide file tree
Showing 828 changed files with 51,713 additions and 21,091 deletions.
18 changes: 1 addition & 17 deletions .dialyzer-ignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
:0: Unknown function 'Elixir.ExUnit.Callbacks':'__merge__'/3
:0: Unknown function 'Elixir.ExUnit.CaseTemplate':'__proxy__'/2
:0: Unknown type 'Elixir.Map':t/0
:0: Unknown type 'Elixir.Hash':t/0
:0: Unknown type 'Elixir.Address':t/0
lib/ethereum_jsonrpc/rolling_window.ex:171
lib/explorer/smart_contract/solidity/publisher_worker.ex:1
lib/explorer/smart_contract/vyper/publisher_worker.ex:1
lib/explorer/smart_contract/solidity/publisher_worker.ex:8
lib/explorer/smart_contract/vyper/publisher_worker.ex:8
lib/block_scout_web/router.ex:1
lib/block_scout_web/schema/types.ex:31
lib/phoenix/router.ex:324
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/indexer/fetcher/polygon_edge.ex:737
lib/indexer/fetcher/polygon_edge/deposit_execute.ex:140
lib/indexer/fetcher/polygon_edge/deposit_execute.ex:184
lib/indexer/fetcher/polygon_edge/withdrawal.ex:160
lib/indexer/fetcher/polygon_edge/withdrawal.ex:204
lib/indexer/fetcher/zkevm/transaction_batch.ex:116
lib/indexer/fetcher/zkevm/transaction_batch.ex:156
lib/indexer/fetcher/zkevm/transaction_batch.ex:252
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:167
lib/explorer/chain/transaction.ex:171
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ body:
description: How the application has been deployed.
options:
- Docker-compose
- Helm charts (k8s)
- Manual from the source code
- Helm charts
- Docker
validations:
required: true
Expand Down Expand Up @@ -65,7 +65,7 @@ body:
attributes:
label: Backend version
description: The release version of the backend or branch/commit.
placeholder: v5.3.1
placeholder: v6.1.0
validations:
required: true

Expand Down
23 changes: 23 additions & 0 deletions .github/actions/setup-repo-and-short-sha/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Setup repo and calc short SHA commit'
description: 'Setup repo: checkout/login/extract metadata, Set up Docker Buildx and calculate short SHA commit'
inputs:
docker-username:
description: 'Docker username'
required: true
docker-password:
description: 'Docker password'
required: true
runs:
using: "composite"

steps:
- uses: actions/checkout@v4
- name: Setup repo
uses: ./.github/actions/setup-repo
with:
docker-username: ${{ inputs.docker-username }}
docker-password: ${{ inputs.docker-password }}

- name: Add SHORT_SHA env property with commit short sha
shell: bash
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
29 changes: 29 additions & 0 deletions .github/actions/setup-repo/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'Setup repo'
description: 'Setup repo: checkout/login/extract metadata, Set up Docker Buildx'
inputs:
docker-username:
description: 'Docker username'
required: true
docker-password:
description: 'Docker password'
required: true
runs:
using: "composite"
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ inputs.docker-username }}
password: ${{ inputs.docker-password }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: hemilabs/blockscout
2 changes: 1 addition & 1 deletion .github/workflows/blockscout_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- production-optimism-stg
- production-optimism-stg # Hemi default branch

jobs:
blockscout_build:
Expand Down
Loading

0 comments on commit 85c0a39

Please sign in to comment.