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

feat: Optimism builder & miner #534

Merged
merged 26 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
918a5a1
edr-0.4.1
github-actions[bot] Jul 1, 2024
86986aa
chore: run prettier (#535)
fvictorio Jul 2, 2024
dfdd380
test: avoid unconditional reverts in stack traces tests (#537)
fvictorio Jul 2, 2024
b056511
fix: allow missing nonce in remote blocks (#539)
Wodann Jul 3, 2024
57a9a75
ci: upgrade pnpm/action-setup (#541)
fvictorio Jul 3, 2024
22bef83
ci: enable some debug logs for hardhat tests (#538)
fvictorio Jul 3, 2024
048c0c0
Sync with recent Hardhat changes and deduplicate the Hardhat dep (#544)
Xanewok Jul 8, 2024
e650c9e
feat: upgrade revm dependencies (#546)
fvictorio Jul 9, 2024
fe9e3b1
edr-0.4.2 (#540)
github-actions[bot] Jul 11, 2024
83f3325
ci: remove path checks for benchmarks (#550)
agostbiro Jul 11, 2024
caa4ac8
ci: remove path restrictions for EDR jobs (#551)
agostbiro Jul 11, 2024
2d62afd
ci: check that index.d.ts is up to date (#553)
fvictorio Jul 16, 2024
07c7667
feat: add support for RIP-7212 (#552)
Wodann Jul 17, 2024
7aa2f61
edr-0.5.0 (#555)
github-actions[bot] Jul 17, 2024
e02eb22
build: upgrade revm to v12 (#557)
Wodann Jul 18, 2024
413b160
feat: add Optimism chain
Wodann Jun 25, 2024
e5e43e5
Merge remote-tracking branch 'origin/main' into refactor/optimism-bui…
Wodann Jul 23, 2024
02de5dd
fix: Hardhat tests
Wodann Jul 24, 2024
1e04f86
fix: compiler errors
Wodann Jul 24, 2024
b363069
WIP: refactor: split RPC receipt and typed receipt
Wodann Jul 25, 2024
1b7abd2
test: add tests for validating receipt engine to RPC type conversions
Wodann Jul 31, 2024
68da2e5
test: add tests for RLP encoding of Optimism receipts
Wodann Jul 31, 2024
e496ce4
fix: hardhat tests
Wodann Jul 31, 2024
597c4b8
misc: rename edr_opt
Wodann Aug 9, 2024
cbdb02b
misc apply review suggestions
Wodann Aug 9, 2024
3132383
misc: rename edr_opt folder
Wodann Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/fair-rice-vanish.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/modern-ways-wash.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/thick-impalas-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nomicfoundation/edr": patch
---

Fixed a bug in the JSON-RPC where we previously allowed a null value for storage keys of an access list
5 changes: 0 additions & 5 deletions .changeset/twelve-yaks-unite.md

This file was deleted.

14 changes: 1 addition & 13 deletions .github/workflows/edr-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,9 @@ on:
push:
branches:
- main
paths:
- ".github/workflows/edr-benchmark.yml"
- "rust-toolchain"
- "Cargo.lock"
- "Cargo.toml"
- "crates/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/edr-benchmark.yml"
- "rust-toolchain"
- "Cargo.lock"
- "Cargo.toml"
- "crates/**"
workflow_dispatch:

defaults:
Expand All @@ -40,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node
Expand Down
37 changes: 24 additions & 13 deletions .github/workflows/edr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,9 @@ on:
push:
branches:
- main
paths:
- ".github/workflows/edr-ci.yml"
- "rust-toolchain"
- "Cargo.lock"
- "Cargo.toml"
- "crates/**"
pull_request:
branches:
- "**"
paths:
- ".github/workflows/edr-ci.yml"
- "rust-toolchain"
- "Cargo.lock"
- "Cargo.toml"
- "crates/**"
workflow_dispatch:

env:
Expand Down Expand Up @@ -178,7 +166,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node
Expand All @@ -192,3 +180,26 @@ jobs:

- name: Run prettier
run: pnpm run prettier

edr-napi-typings-file:
name: Check that edr_napi typings file is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: pnpm

- name: Install package
run: pnpm install --frozen-lockfile --prefer-offline

- name: Build edr_napi
run: cd crates/edr_napi && pnpm build

- name: Check that there are no uncommitted changes
run: git diff --exit-code
14 changes: 7 additions & 7 deletions .github/workflows/edr-npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
echo "Number of build jobs: ${{ strategy.job-total }}"
echo "Expected number of build jobs: $NUMBER_OF_TARGETS"
test ${{ strategy.job-total }} -eq "$NUMBER_OF_TARGETS"
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup node
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
working-directory: ./crates/edr_napi
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup node
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup node
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup node
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Download artifacts
Expand Down Expand Up @@ -324,7 +324,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Download artifacts
Expand Down Expand Up @@ -395,7 +395,7 @@ jobs:
working-directory: ./crates/edr_napi
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup node
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/hardhat-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node
Expand Down Expand Up @@ -65,14 +65,15 @@ jobs:
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI: true
FORCE_COLOR: 3
NODE_OPTIONS: --max-old-space-size=4096
DEBUG: "hardhat:core:hardhat-network:*"
run: cd hardhat-tests && pnpm test:ci
lint-hardhat-tests:
name: Lint Hardhat tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 9

Expand Down
Loading
Loading