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: release taiko reth v1.1.4 #59

Draft
wants to merge 91 commits into
base: v1.1.4
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
4761c4b
feat: add Taiko support with new features and modules
johntaiko Dec 18, 2024
7cd13d9
feat: enhance Taiko support with additional workspace dependencies an…
johntaiko Dec 18, 2024
60ba542
fix: improve error handling in Taiko workspace dependencies
johntaiko Dec 18, 2024
7b14769
fix: update ontake block heights for Taiko hardforks
johntaiko Dec 18, 2024
1f7060a
feat: add support for taiko in evm abstract
johntaiko Dec 19, 2024
02992e4
fix: update c-kzg dependency version and improve block handling in Ta…
johntaiko Dec 19, 2024
6a043ba
refactor: rename taiko beacon consensus to taiko consensus and update…
johntaiko Dec 19, 2024
d3ceb71
feat: enhance block execution input and output structures with additi…
johntaiko Dec 19, 2024
be3a467
feat: add target and skipped lists to ExecuteOutput structure
johntaiko Dec 19, 2024
47299a6
refactor: remove unused alloy-rpc-types-eth dependency and update Car…
johntaiko Dec 23, 2024
80643d5
feat: enhance block execution with new error handling and improved da…
johntaiko Dec 23, 2024
bd2986d
feat: add taiko provider and enhance Cargo.toml configurations for ta…
johntaiko Dec 23, 2024
7c52a32
feat: integrate taiko support by adding L1 origin traits and updating…
johntaiko Dec 23, 2024
3bc5a18
feat: add taiko CLI support and enhance workspace configurations
johntaiko Dec 23, 2024
d070d75
feat: integrate reth-taiko-engine-primitives and enhance payload attr…
johntaiko Dec 23, 2024
c41641b
feat: clean up unused imports in taiko CLI and main modules
johntaiko Dec 24, 2024
d6a02cc
feat: add taiko engine types and update workspace configurations
johntaiko Dec 24, 2024
9f1ec2e
feat: add debug flag to engine messages and update forkchoice handling
johntaiko Dec 24, 2024
652a469
feat: remove unused dependencies and enhance taiko engine support
johntaiko Dec 24, 2024
1abccba
feat: remove unused payload validator dependency and streamline engin…
johntaiko Dec 24, 2024
250adef
add taiko cmds
mask-pp Dec 24, 2024
5bf228c
fix some lint errors
mask-pp Dec 24, 2024
1b239ac
fix some build errors
mask-pp Dec 24, 2024
257fe7d
feat: refactor taiko and engine dependencies, removing unused payload…
johntaiko Dec 24, 2024
7c02390
Merge branch 'v1.1.4-taiko' of gh_work:taikoxyz/taiko-reth into v1.1.…
johntaiko Dec 24, 2024
a012720
refactor: remove unused reth-taiko-engine-types dependency and relate…
johntaiko Dec 24, 2024
a91261b
feat: implement proving preflight functionality and update related types
johntaiko Dec 24, 2024
9feea10
feat: add preflight module and integrate block execution functionality
johntaiko Dec 24, 2024
1db25e1
feat: enhance TaikoImplClient with separate channels for pool content…
johntaiko Dec 24, 2024
8f34da8
fix some test cases
mask-pp Dec 24, 2024
8aae41b
feat: update dependencies to include 'taiko' features across multiple…
johntaiko Dec 24, 2024
67b1758
feat: add 'futures' and 'reth-primitives-traits' dependencies to Carg…
johntaiko Dec 24, 2024
268c63e
Merge branch 'v1.1.4-taiko' of gh_work:taikoxyz/taiko-reth into v1.1.…
johntaiko Dec 24, 2024
14700a3
refactor: remove unused preflight and client implementations from RPC…
johntaiko Dec 24, 2024
c52d7dd
refactor: update debug targets and error handling in RPC API
johntaiko Dec 24, 2024
0a27885
refactor: remove OpBlockExecutionError and related error handling fro…
johntaiko Dec 24, 2024
5c28e1e
refactor: simplify transaction environment setup and database initial…
johntaiko Dec 24, 2024
c837a31
refactor: update BlockExecutionInput structure and usage in payload b…
johntaiko Dec 24, 2024
cffb11e
refactor: add Taiko module to RethRpcModule and update related depend…
johntaiko Dec 25, 2024
706f133
refactor: update dependencies and simplify block execution structures…
johntaiko Dec 25, 2024
c42f898
refactor: remove unused dependencies and clean up code in EVM and Tai…
johntaiko Dec 25, 2024
a9bf832
refactor: remove unused 'reth-chainspec' dependency and clean up test…
johntaiko Dec 25, 2024
4afafd5
refactor: update documentation header for Taiko-Reth RPC support
johntaiko Dec 25, 2024
2d5b082
fix test case
mask-pp Dec 25, 2024
eae42c0
fix test case
mask-pp Dec 25, 2024
4ee9847
refactor: add reth-beacon-consensus dependency and update RPC structu…
johntaiko Dec 25, 2024
82f0196
Merge branch 'v1.1.4-taiko' of gh_work:taikoxyz/taiko-reth into v1.1.…
johntaiko Dec 25, 2024
cfa3558
fix some lint errors
mask-pp Dec 25, 2024
b076b16
fix some lint errors
mask-pp Dec 25, 2024
6d5251f
fix fmt
mask-pp Dec 25, 2024
baeabd7
update node readme
mask-pp Dec 25, 2024
9e6df48
fix: tests
johntaiko Dec 26, 2024
d1c2a15
feat: introduce new fields in l1origin
johntaiko Dec 26, 2024
5833f22
feat: add delete api for l1origin
johntaiko Dec 26, 2024
5acc32a
feat: Added preconf forwarding and TaikoArgs; updated dependencies
johntaiko Dec 26, 2024
5ce0d7e
Added tests for genesis chain loading
johntaiko Dec 26, 2024
19f23bb
Added L1 origin check; removed multiple error types
johntaiko Dec 26, 2024
5930606
Added L1Origin support and ProviderWithDebug; updated dependencies
johntaiko Dec 26, 2024
935c862
CHAIN_PERCONF_DEVNET test case is not satisfied
mask-pp Dec 26, 2024
b730e89
Add Dockerfile for cross-arch builds; update build script and enum
johntaiko Dec 27, 2024
4df0e14
Added cross-arch Docker image build support
johntaiko Dec 27, 2024
e3500b3
keep the error message alignment with geth
mask-pp Dec 27, 2024
b9a32e7
keep the error message alignment with geth
mask-pp Dec 27, 2024
5fa3fcb
handle optional parameter ext
mask-pp Dec 27, 2024
deb4cbc
Refactor taiko data setup to use if let syntax
johntaiko Dec 27, 2024
587b8b1
Merge branch 'v1.1.4-taiko' of gh_work:taikoxyz/taiko-reth into v1.1.…
johntaiko Dec 27, 2024
b15b302
fill the baseFee
mask-pp Dec 30, 2024
0773b63
Add Taiko support, update dependencies, refactor code, fix bugs
johntaiko Dec 30, 2024
d9b805a
chore: update internal genisis config
johntaiko Dec 30, 2024
5cb7565
Added payload ID validation; commented out ARM build steps
johntaiko Dec 30, 2024
65c004a
Removed taiko_reorg and related calls; fixed ARM64 build comments
johntaiko Dec 31, 2024
67f278d
Removed debug flag and ARM64 build steps; streamlined forkchoice updates
johntaiko Dec 31, 2024
ef5e941
fix TxPoolContentWithMinTip API
mask-pp Jan 2, 2025
071fa0b
Added TAIKO_DOCKER_IMAGE_NAME and optimized block skipping logic
johntaiko Jan 2, 2025
629f9f5
Merge branch 'v1.1.4-taiko' of gh_work:taikoxyz/taiko-reth into v1.1.…
johntaiko Jan 2, 2025
35aab34
Added block_env fields and TAIKO_DOCKER_IMAGE_NAME; removed arm64 bui…
johntaiko Jan 2, 2025
401c0e3
Updated gas_limit conversion; added TAIKO_DOCKER_IMAGE_NAME; removed …
johntaiko Jan 2, 2025
b2b1066
feat: update genesis blocks
johntaiko Jan 2, 2025
34bc46b
Switched alloy package sources to Taiko branch; added secp256k1 depen…
johntaiko Jan 3, 2025
987e66e
Renamed deposits, added taiko_block, updated imports, added debug logs
johntaiko Jan 3, 2025
efda978
Removed reth-payload-primitives, added withdrawals_hash handling
johntaiko Jan 3, 2025
2c7b7d7
Added alloy-primitives, updated validation logic
johntaiko Jan 3, 2025
cb2ffb5
Refactored TaikoApi to support new parameters; added proving_prefligh…
johntaiko Jan 7, 2025
6dc4b8e
Merge branch 'v1.1.4-taiko' of gh_work:taikoxyz/taiko-reth into feat/…
johntaiko Jan 7, 2025
8d69bd0
Removed TODO comment in tx forwarding function
johntaiko Jan 7, 2025
ed8021d
Merge pull request #61 from taikoxyz/feat/softblock
johntaiko Jan 7, 2025
eec2f2b
Refactor debug logs and streamline error handling
johntaiko Jan 7, 2025
eb02049
Added get_head_l1_origin_number method; removed debug import; fixed s…
johntaiko Jan 7, 2025
f61bb32
Commented out error logs; refactored contract handling
johntaiko Jan 8, 2025
5630863
Refactor account info retrieval and contract insertion logic
johntaiko Jan 8, 2025
f1b0e25
Added serde_json dev-dependency and L1Origin tests
johntaiko Jan 8, 2025
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
884 changes: 569 additions & 315 deletions Cargo.lock

Large diffs are not rendered by default.

102 changes: 71 additions & 31 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,20 @@ members = [
"examples/custom-beacon-withdrawals",
"testing/ef-tests/",
"testing/testing-utils",

# taiko
"crates/taiko/consensus",
"crates/taiko/engine/primitives",
"crates/taiko/engine/types",
"crates/taiko/evm",
"crates/taiko/cli",
"crates/taiko/node",
"crates/taiko/rpc",
"crates/taiko/payload/builder",
"crates/taiko/payload/validator",
"crates/taiko/primitives/",
"crates/taiko/chainspec",
"crates/taiko/hardforks",
]
default-members = ["bin/reth"]
exclude = ["book/sources"]
Expand Down Expand Up @@ -343,7 +357,7 @@ reth-ethereum-consensus = { path = "crates/ethereum/consensus" }
reth-ethereum-engine-primitives = { path = "crates/ethereum/engine-primitives" }
reth-ethereum-forks = { path = "crates/ethereum-forks", default-features = false }
reth-ethereum-payload-builder = { path = "crates/ethereum/payload" }
reth-ethereum-primitives = { path = "crates/ethereum/primitives", default-features = false }
reth-ethereum-primitives = { path = "crates/ethereum/primitives", default-features = false }
reth-etl = { path = "crates/etl" }
reth-evm = { path = "crates/evm" }
reth-evm-ethereum = { path = "crates/ethereum/evm" }
Expand Down Expand Up @@ -425,6 +439,21 @@ reth-trie-parallel = { path = "crates/trie/parallel" }
reth-trie-sparse = { path = "crates/trie/sparse" }
reth-zstd-compressors = { path = "crates/storage/zstd-compressors", default-features = false }

# taiko
reth-taiko-cli = { path = "crates/taiko/cli" }
reth-taiko-consensus = { path = "crates/taiko/consensus" }
reth-taiko-primitives = { path = "crates/taiko/primitives" }
reth-taiko-evm = { path = "crates/taiko/evm" }
reth-taiko-payload-builder = { path = "crates/taiko/payload/builder" }
reth-taiko-payload-validator = { path = "crates/taiko/payload/validator" }
reth-taiko-engine-primitives = { path = "crates/taiko/engine/primitives" }
reth-taiko-engine-types = { path = "crates/taiko/engine/types" }
reth-taiko-node = { path = "crates/taiko/node" }
reth-taiko-chainspec = { path = "crates/taiko/chainspec" }
reth-taiko-forks = { path = "crates/taiko/hardforks" }
reth-taiko-rpc = { path = "crates/taiko/rpc" }
flate2 = "1.0.35"

# revm
revm = { version = "18.0.0", features = ["std"], default-features = false }
revm-inspectors = "0.12.0"
Expand Down Expand Up @@ -495,7 +524,7 @@ cfg-if = "1.0"
clap = "4"
const_format = { version = "0.2.32", features = ["rust_1_64"] }
dashmap = "6.0"
derive_more = { version = "1", default-features = false, features = ["full"] }
derive_more = { version = "1", default-features = false, features = ["full"] }
dyn-clone = "1.0.17"
eyre = "0.6"
fdlimit = "0.3.0"
Expand All @@ -520,7 +549,10 @@ rustc-hash = { version = "2.0", default-features = false }
schnellru = "0.2"
serde = { version = "1.0", default-features = false }
serde_json = "1.0.94"
serde_with = { version = "3", default-features = false, features = ["macros"] }
serde_with = { version = "3", default-features = false, features = [
"macros",
"base64",
] }
sha2 = { version = "0.10", default-features = false }
shellexpand = "3.0.0"
smallvec = "1"
Expand Down Expand Up @@ -614,36 +646,44 @@ tikv-jemalloc-ctl = "0.6"
tikv-jemallocator = "0.6"
tracy-client = "0.17.3"

# [patch.crates-io]
# alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-genesis = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-json-rpc = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-network-primitives = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-pubsub = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types-admin = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types-anvil = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types-beacon = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types-debug = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types-engine = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types-eth = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types-mev = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types-trace = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-rpc-types-txpool = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-serde = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-signer-local = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-transport-ipc = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
# alloy-transport-ws = { git = "https://github.com/alloy-rs/alloy", rev = "5492e40" }
[patch.crates-io]
alloy-consensus = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-eips = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-genesis = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-json-rpc = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-network = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-network-primitives = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-node-bindings = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-provider = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-pubsub = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-client = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types-admin = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types-anvil = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types-beacon = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types-debug = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types-engine = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types-eth = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types-mev = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types-trace = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-rpc-types-txpool = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-serde = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-signer = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-signer-local = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-transport = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-transport-http = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-transport-ipc = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }
alloy-transport-ws = { git = "https://github.com/taikoxyz/alloy", branch = "v0.7.3-taiko" }

# op-alloy-consensus = { git = "https://github.com/alloy-rs/op-alloy", rev = "debfc29" }
# op-alloy-network = { git = "https://github.com/alloy-rs/op-alloy", rev = "debfc29" }
# op-alloy-rpc-types = { git = "https://github.com/alloy-rs/op-alloy", rev = "debfc29" }
# op-alloy-rpc-types-engine = { git = "https://github.com/alloy-rs/op-alloy", rev = "debfc29" }

revm = { git = "https://github.com/taikoxyz/revm.git", branch = "v50-taiko" }
revm-interpreter = { git = "https://github.com/taikoxyz/revm.git", branch = "v50-taiko" }
revm-precompile = { git = "https://github.com/taikoxyz/revm.git", branch = "v50-taiko" }
revm-primitives = { git = "https://github.com/taikoxyz/revm.git", branch = "v50-taiko" }

[patch.'https://github.com/bluealloy/revm.git']
revm = { git = "https://github.com/taikoxyz/revm.git", branch = "v50-taiko" }
15 changes: 15 additions & 0 deletions DockerfileTaiko.cross
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This image is meant to enable cross-architecture builds.
# It assumes the reth binary has already been compiled for `$TARGETPLATFORM` and is
# locatable in `./dist/bin/$TARGETARCH`
FROM --platform=$TARGETPLATFORM ubuntu:22.04

LABEL org.opencontainers.image.source=https://github.com/taikoxyz/taiko-reth
LABEL org.opencontainers.image.licenses="MIT OR Apache-2.0"

# Filled by docker buildx
ARG TARGETARCH

COPY ./dist/bin/$TARGETARCH/taiko-reth /usr/local/bin/taiko-reth

EXPOSE 30303 30303/udp 9001 8545 8546
ENTRYPOINT ["/usr/local/bin/taiko-reth"]
Loading
Loading