Skip to content

Commit eaecba5

Browse files
JOYclaude
andcommitted
Merge upstream v9.3.5 — align fork version to upstream
Accept all upstream changes. Fork version reset from 10.0.0 to 9.3.5 to follow upstream versioning going forward. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 parents aff75d6 + bc76ed0 commit eaecba5

66 files changed

Lines changed: 182 additions & 508 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.

.github/workflows/generate-swagger.yml

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Generate OpenAPI Specs
1+
name: Generate Swagger
22

33
on:
44
push:
@@ -17,7 +17,7 @@ on:
1717
env:
1818
OTP_VERSION: '27.3.4.6'
1919
ELIXIR_VERSION: '1.19.4'
20-
RELEASE_VERSION: 10.0.0
20+
RELEASE_VERSION: 9.3.5
2121

2222
jobs:
2323
matrix-builder:
@@ -124,18 +124,9 @@ jobs:
124124
125125
- name: mix openapi.spec.yaml
126126
run: |
127-
mix openapi.spec.yaml --spec BlockScoutWeb.Specs.Public openapi.${{ matrix.chain-type }}.yaml --start-app=false
127+
mix openapi.spec.yaml --spec BlockScoutWeb.ApiSpec openapi.${{ matrix.chain-type }}.yaml --start-app=false
128128
env:
129129
CHAIN_TYPE: ${{ matrix.chain-type != 'default' && matrix.chain-type || '' }}
130-
MUD_INDEXER_ENABLED: false
131-
132-
- name: Generate MUD-enabled spec for Optimism
133-
if: matrix.chain-type == 'optimism'
134-
run: |
135-
mix openapi.spec.yaml --spec BlockScoutWeb.Specs.Public openapi.mud.yaml --start-app=false
136-
env:
137-
CHAIN_TYPE: optimism
138-
MUD_INDEXER_ENABLED: true
139130

140131
- name: Upload OpenAPI spec
141132
uses: actions/upload-artifact@v4
@@ -144,14 +135,6 @@ jobs:
144135
path: openapi.${{ matrix.chain-type }}.yaml
145136
retention-days: 1
146137

147-
- name: Upload MUD-enabled spec
148-
if: matrix.chain-type == 'optimism'
149-
uses: actions/upload-artifact@v4
150-
with:
151-
name: openapi-spec-mud
152-
path: openapi.mud.yaml
153-
retention-days: 1
154-
155138
push-specs:
156139
needs:
157140
- generate-swagger
@@ -186,18 +169,14 @@ jobs:
186169
187170
for SPEC_FILE in temp-specs/*; do
188171
if [ -f "$SPEC_FILE" ]; then
189-
FILENAME=$(basename "$SPEC_FILE")
172+
# Extract chain type from filename
173+
CHAIN_TYPE=$(echo $SPEC_FILE | cut -d'.' -f2)
174+
175+
# Create directory
176+
mkdir -p "api-specs/blockscout/${VERSION}/${CHAIN_TYPE}"
190177
191-
# Handle MUD spec specially
192-
if [ "$FILENAME" = "openapi.mud.yaml" ]; then
193-
mkdir -p "api-specs/blockscout/${VERSION}/mud"
194-
cp "$SPEC_FILE" "api-specs/blockscout/${VERSION}/mud/swagger.yaml"
195-
else
196-
# Extract chain type from filename (openapi.CHAINTYPE.yaml)
197-
CHAIN_TYPE=$(echo "$FILENAME" | sed 's/openapi\.\(.*\)\.yaml/\1/')
198-
mkdir -p "api-specs/blockscout/${VERSION}/${CHAIN_TYPE}"
199-
cp "$SPEC_FILE" "api-specs/blockscout/${VERSION}/${CHAIN_TYPE}/swagger.yaml"
200-
fi
178+
# Copy spec files
179+
cp "$SPEC_FILE" "api-specs/blockscout/${VERSION}/${CHAIN_TYPE}/swagger.yaml"
201180
fi
202181
done
203182

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Push Docker image to GitHub Container Registry
2222
runs-on: build
2323
env:
24-
RELEASE_VERSION: 10.0.0
24+
RELEASE_VERSION: 9.3.5
2525
steps:
2626
- uses: actions/checkout@v5
2727
- name: Setup repo

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Push Docker image to GitHub Container Registry
2222
runs-on: build
2323
env:
24-
RELEASE_VERSION: 10.0.0
24+
RELEASE_VERSION: 9.3.5
2525
API_GRAPHQL_MAX_COMPLEXITY: 10400
2626
steps:
2727
- uses: actions/checkout@v5

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Push Docker image to GitHub Container Registry
2222
runs-on: build
2323
env:
24-
RELEASE_VERSION: 10.0.0
24+
RELEASE_VERSION: 9.3.5
2525
steps:
2626
- uses: actions/checkout@v5
2727
- name: Setup repo

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Push Docker image to GitHub Container Registry
2222
runs-on: build
2323
env:
24-
RELEASE_VERSION: 10.0.0
24+
RELEASE_VERSION: 9.3.5
2525
steps:
2626
- uses: actions/checkout@v5
2727
- name: Setup repo

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Push Docker image to GitHub Container Registry
2222
runs-on: build
2323
env:
24-
RELEASE_VERSION: 10.0.0
24+
RELEASE_VERSION: 9.3.5
2525
steps:
2626
- uses: actions/checkout@v5
2727
- name: Setup repo

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Push Docker image to GitHub Container Registry
2222
runs-on: build
2323
env:
24-
RELEASE_VERSION: 10.0.0
24+
RELEASE_VERSION: 9.3.5
2525
steps:
2626
- uses: actions/checkout@v5
2727
- name: Setup repo

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Push Docker image to GitHub Container Registry
2222
runs-on: build
2323
env:
24-
RELEASE_VERSION: 10.0.0
24+
RELEASE_VERSION: 9.3.5
2525
steps:
2626
- uses: actions/checkout@v5
2727
- name: Setup repo

.github/workflows/pre-release-polygon-zkevm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Push Docker image to GitHub Container Registry
2222
runs-on: build
2323
env:
24-
RELEASE_VERSION: 10.0.0
24+
RELEASE_VERSION: 9.3.5
2525
steps:
2626
- uses: actions/checkout@v5
2727
- name: Setup repo

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Push Docker image to GitHub Container Registry
2222
runs-on: build
2323
env:
24-
RELEASE_VERSION: 10.0.0
24+
RELEASE_VERSION: 9.3.5
2525
steps:
2626
- uses: actions/checkout@v5
2727
- name: Setup repo

0 commit comments

Comments
 (0)