Skip to content

Commit b4458d7

Browse files
Merge branch 'master' into evm-error-handling
2 parents 71e77dc + 100d77d commit b4458d7

546 files changed

Lines changed: 14193 additions & 10767 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.

.githooks/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env sh
22

3-
npm run lint:diff --workspaces
3+
npm run lint:diff
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: 'Package: @ethereumjs/mpt'
3+
about: Create issue for @ethereumjs/mpt package
4+
title: ''
5+
labels: 'package: mpt'
6+
assignees: ''
7+
---

.github/ISSUE_TEMPLATE/package--ethereumjs-trie.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/block-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ jobs:
6767
fail-on-cache-miss: true
6868

6969
- run: npm run coverage
70-
- uses: codecov/codecov-action@v3
70+
- uses: codecov/codecov-action@v4
7171
with:
72+
token: ${{ secrets.CODECOV_TOKEN }}
7273
files: ${{ github.workspace}}/packages/block/coverage/lcov.info
73-
flags: block
74+
flags: block

.github/workflows/blockchain-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ jobs:
5252
working-directory: ${{ github.workspace }}
5353

5454
- run: npm run coverage
55-
- uses: codecov/codecov-action@v3
55+
- uses: codecov/codecov-action@v4
5656
with:
57+
token: ${{ secrets.CODECOV_TOKEN }}
5758
files: ${{ env.cwd }}/coverage/lcov.info
5859
flags: blockchain

.github/workflows/build.yml

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Build
22
on:
33
pull_request:
44
types: [opened, reopened, synchronize]
5+
push:
6+
branches: [master]
7+
tags: ['*']
58
workflow_dispatch:
69

710
env:
@@ -36,8 +39,8 @@ jobs:
3639
with:
3740
path: ${{github.workspace}}/packages/ethereum-tests
3841
key: submodule-${{ steps.create-cache-key.outputs.submodule-cache-key}}
39-
40-
outputs:
42+
43+
outputs:
4144
submodule-cache-key: submodule-${{ steps.create-cache-key.outputs.submodule-cache-key}}
4245

4346
build:
@@ -51,7 +54,7 @@ jobs:
5154
with:
5255
path: ${{github.workspace}}/node_modules
5356
key: npm-${{ hashFiles('package-lock.json') }}
54-
57+
5558
- name: Use Node.js 20
5659
uses: actions/setup-node@v4
5760
with:
@@ -60,7 +63,7 @@ jobs:
6063

6164
- run: npm ci
6265
working-directory: ${{github.workspace}}
63-
66+
6467
- name: Cache dependencies
6568
uses: actions/cache/save@v4
6669
with:
@@ -73,19 +76,21 @@ jobs:
7376
path: ${{github.workspace}}
7477
key: npm-${{ hashFiles('package-lock.json') }}-${{ github.run_id }}
7578

76-
outputs:
79+
outputs:
7780
dep-cache-key: ${{ steps.dep-cache.outputs.cache-primary-key }}-${{ github.run_id }}
7881

7982
block:
8083
needs: [build, checkout-submodules]
8184
uses: ./.github/workflows/block-build.yml
85+
secrets: inherit
8286
with:
8387
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
8488
submodule-cache-key: ${{ needs.checkout-submodules.outputs.submodule-cache-key }}
85-
89+
8690
blockchain:
8791
needs: build
8892
uses: ./.github/workflows/blockchain-build.yml
93+
secrets: inherit
8994
with:
9095
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
9196

@@ -99,30 +104,35 @@ jobs:
99104
client:
100105
needs: build
101106
uses: ./.github/workflows/client-build.yml
107+
secrets: inherit
102108
with:
103109
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
104110

105111
common:
106112
needs: build
107113
uses: ./.github/workflows/common-build.yml
114+
secrets: inherit
108115
with:
109116
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
110117

111118
devp2p:
112119
needs: build
113120
uses: ./.github/workflows/devp2p-build.yml
121+
secrets: inherit
114122
with:
115123
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
116124

117125
ethash:
118126
needs: build
119127
uses: ./.github/workflows/ethash-build.yml
128+
secrets: inherit
120129
with:
121130
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
122131

123132
evm:
124133
needs: [build, checkout-submodules]
125134
uses: ./.github/workflows/evm-build.yml
135+
secrets: inherit
126136
with:
127137
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
128138
submodule-cache-key: ${{ needs.checkout-submodules.outputs.submodule-cache-key }}
@@ -136,37 +146,43 @@ jobs:
136146
genesis:
137147
needs: build
138148
uses: ./.github/workflows/genesis-build.yml
149+
secrets: inherit
150+
with:
151+
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
152+
153+
mpt:
154+
needs: build
155+
uses: ./.github/workflows/mpt-build.yml
156+
secrets: inherit
139157
with:
140158
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
141159

142160
rlp:
143161
needs: build
144162
uses: ./.github/workflows/rlp-build.yml
163+
secrets: inherit
145164
with:
146165
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
147166

148167
statemanager:
149168
needs: build
150169
uses: ./.github/workflows/statemanager-build.yml
170+
secrets: inherit
151171
with:
152172
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
153173

154-
trie:
155-
needs: build
156-
uses: ./.github/workflows/trie-build.yml
157-
with:
158-
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
159-
160174
tx:
161175
needs: [build, checkout-submodules]
162176
uses: ./.github/workflows/tx-build.yml
177+
secrets: inherit
163178
with:
164179
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
165180
submodule-cache-key: ${{ needs.checkout-submodules.outputs.submodule-cache-key }}
166181

167182
util:
168183
needs: build
169184
uses: ./.github/workflows/util-build.yml
185+
secrets: inherit
170186
with:
171187
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
172188

@@ -179,16 +195,18 @@ jobs:
179195
vm-pr:
180196
needs: [build, checkout-submodules]
181197
uses: ./.github/workflows/vm-pr.yml
198+
secrets: inherit
182199
with:
183200
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
184201
submodule-cache-key: ${{ needs.checkout-submodules.outputs.submodule-cache-key }}
185202

186203
wallet:
187204
needs: build
188205
uses: ./.github/workflows/wallet-build.yml
206+
secrets: inherit
189207
with:
190208
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
191-
209+
192210
lint:
193211
needs: build
194212
uses: ./.github/workflows/lint.yml
@@ -201,5 +219,3 @@ jobs:
201219
with:
202220
dep-cache-key: ${{ needs.build.outputs.dep-cache-key }}
203221
submodule-cache-key: ${{ needs.checkout-submodules.outputs.submodule-cache-key }}
204-
205-

.github/workflows/client-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ jobs:
5454
working-directory: ${{ github.workspace }}
5555

5656
- run: npm run coverage
57-
- uses: codecov/codecov-action@v3
57+
- uses: codecov/codecov-action@v4
5858
with:
59+
token: ${{ secrets.CODECOV_TOKEN }}
5960
files: ${{ env.cwd }}/coverage/lcov.info
6061
flags: client
6162

.github/workflows/common-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ jobs:
5454
working-directory: ${{ github.workspace }}
5555

5656
- run: npm run coverage
57-
- uses: codecov/codecov-action@v3
57+
- uses: codecov/codecov-action@v4
5858
with:
59+
token: ${{ secrets.CODECOV_TOKEN }}
5960
files: ${{ env.cwd }}/coverage/lcov.info
6061
flags: common

.github/workflows/devp2p-build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
required: false
1515
default: 'none'
1616

17+
env:
18+
cwd: ${{github.workspace}}/packages/devp2p
19+
1720
concurrency:
1821
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-devp2p
1922
cancel-in-progress: true
@@ -49,9 +52,10 @@ jobs:
4952

5053
- run: npm run coverage
5154
working-directory: ${{ github.workspace }}/packages/devp2p
52-
- uses: codecov/codecov-action@v3
55+
- uses: codecov/codecov-action@v4
5356
with:
54-
files: ${{ github.workspace }}/packages/devp2p/coverage/lcov.info
57+
token: ${{ secrets.CODECOV_TOKEN }}
58+
files: ${{ env.cwd }}/coverage/lcov.info
5559
flags: devp2p
5660

5761

.github/workflows/ethash-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757

5858

5959
- run: npm run coverage
60-
- uses: codecov/codecov-action@v3
60+
- uses: codecov/codecov-action@v4
6161
with:
62+
token: ${{ secrets.CODECOV_TOKEN }}
6263
files: ${{ env.cwd }}/coverage/lcov.info
6364
flags: ethash

0 commit comments

Comments
 (0)