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

update alloy version to 0.11.1 #5

Merged
merged 70 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
05d3e51
chore(consensus): Small Cleanup (#180)
refcell Oct 22, 2024
8b7cfdd
feat(genesis): EIP 1559 System Config Accessor (#179)
refcell Oct 22, 2024
8db3ded
chore: bump alloy (#178)
onbjerg Oct 23, 2024
7aa0870
add arbitrary attr (#182)
programskillforverification Oct 23, 2024
958193d
feat(rpc-types): `{Try}From` impl for `OpTransactionReceipt` + `Trans…
clabby Oct 23, 2024
668cc1e
chore: release 0.5.1 (#184)
refcell Oct 24, 2024
8ab745d
feat(protocol): Batch Type (#186)
refcell Oct 27, 2024
242d739
feat(protocol): Batch Validity (#187)
refcell Oct 27, 2024
96666d1
feat(protocol): SingleBatch Type (#188)
refcell Oct 27, 2024
f831e15
feat(protocol): BatchValidationProvider (#189)
refcell Oct 27, 2024
e307f18
feat(protocol): Batch Error Types (#190)
refcell Oct 28, 2024
012d570
feat(protocol): Batch Utilities (#191)
refcell Oct 28, 2024
fc53811
feat(protocol): Span Batch Element (#193)
refcell Oct 28, 2024
9fba429
chore(consensus): Upstream Receipt Constructor (#165)
refcell Oct 28, 2024
69c45ce
feat(protocol): Span Batch Bits (#194)
refcell Oct 28, 2024
f395b35
feat(protocol): Batch TX Data (#195)
refcell Oct 29, 2024
02dfd73
feat(protocol): Span Batch Transactions (#196)
refcell Oct 29, 2024
498ec1e
feat(protocol): Span Batch Type (#197)
refcell Oct 29, 2024
2f3fa58
feat(protocol): Span Batch Validity Checks (#198)
refcell Oct 29, 2024
4637777
feat(protocol): Batch (#200)
refcell Oct 29, 2024
2649c56
chore(workspace): Import Touchups (#199)
refcell Oct 29, 2024
b60f643
chore: Release 0.5.2 (#201)
refcell Oct 29, 2024
63ce616
feat: Book (#206)
refcell Oct 31, 2024
a0d14de
feat: README (#207)
refcell Oct 31, 2024
a1e105e
feat: Book Setup (#208)
refcell Nov 1, 2024
5fb9293
feat(book): Genesis - Rollup Config (#209)
refcell Nov 1, 2024
1f5686d
feat: `op-alloy` meta crate (#210)
refcell Nov 1, 2024
b16e785
feat(book): Genesis - System Config (#211)
refcell Nov 1, 2024
1a9faf8
feat(book): Consensus (#212)
refcell Nov 1, 2024
f726c5f
fix(book): Missing READMEs (#213)
refcell Nov 1, 2024
b52866d
feat: `OpTransactionRequest` (#215)
klkvr Nov 1, 2024
8e713c5
fix: ci powerset (#214)
refcell Nov 1, 2024
15d9666
fix(ci): Remove Docs gh-page publish (#216)
refcell Nov 1, 2024
47aa994
chore(book): Fix Doc Links (#218)
refcell Nov 3, 2024
8c0562d
feat: add jsonrpsee trait for SuperchainSignal (#217)
hoank101 Nov 3, 2024
4de6e56
chore(ci): Use Justfile Targets in Github Actions (#219)
refcell Nov 4, 2024
a9d9071
chore(book): Consensus Docs (#222)
refcell Nov 4, 2024
ec0bf01
chore(book): Genesis Docs (#223)
refcell Nov 4, 2024
56e452e
fix(book): Small Book Touchups (#220)
refcell Nov 4, 2024
edc8247
chore(book): Load Rollup Config Example (#224)
refcell Nov 6, 2024
666124c
[wip] feat: bump alloy (#205)
klkvr Nov 6, 2024
b2c0988
feat: add holocene extradata fn (#233)
mattsse Nov 6, 2024
aac1566
chore: release 0.6.0
mattsse Nov 6, 2024
597bc82
chore(book): Protocol Docs (#225)
refcell Nov 6, 2024
b8e5787
fix(book): Links Imports (#227)
refcell Nov 6, 2024
e0cce18
chore(book): RPC Types (#228)
refcell Nov 6, 2024
0dc9613
feat(book): Engine RPC Types (#229)
refcell Nov 6, 2024
0e5cd54
chore(book): Consolidate Links (#230)
refcell Nov 6, 2024
1cf38c4
chore(rpc-types): Clean up Exports (#231)
refcell Nov 6, 2024
eae4e17
fix(protocol): Batch Decoding (#235)
refcell Nov 6, 2024
d2bb64a
feat: add fn for decoded 1559 params (#236)
mattsse Nov 6, 2024
b595620
chore: move eip1559 impls (#237)
mattsse Nov 6, 2024
2dd15c9
Release: v0.6.1 (#238)
refcell Nov 6, 2024
5d89ead
chore: release 0.6.2
mattsse Nov 6, 2024
01f11b4
chore: Bump Alloy Deps (#239)
refcell Nov 6, 2024
0f30994
feat: bump alloy (#240)
klkvr Nov 8, 2024
c24df6b
chore: release 0.6.3
mattsse Nov 8, 2024
03f1df8
fix(consensus): fix arbitrary impl for `OpTxType` (#242)
emhane Nov 11, 2024
98639ef
fix(consensus): add conversion for `OpTxType::Eip7702` (#244)
emhane Nov 11, 2024
4d2216b
chore: add is dynamic fee (#245)
mattsse Nov 12, 2024
b4970a1
chore: release 0.6.4
mattsse Nov 12, 2024
1ddf3fb
feat: add nonce to RPC transaction (#246)
klkvr Nov 12, 2024
60d90b7
feat: wrap `TxDeposit` into `Sealed` in `OpTxEnvelope` (#247)
klkvr Nov 12, 2024
4ed3ded
chore: add deserde test (#248)
mattsse Nov 12, 2024
30025e2
chore: bump alloy 064 (#249)
mattsse Nov 12, 2024
d8a22de
chore: release 0.6.5
mattsse Nov 12, 2024
9736af2
refactor: support mantle
PinelliaC Dec 27, 2024
b83c84f
fix: correct token ratio field name and update L1 origin type
PinelliaC Jan 15, 2025
6b1e3e8
update alloy version to 0.11.1
byteflyfunny Feb 14, 2025
8d6fee2
fix: sepolia batch_inbox_address (#6)
PinelliaC Mar 4, 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
32 changes: 32 additions & 0 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Book Deployment
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
deployments: write
name: Publish to GitHub Pages
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Rust stable toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Setup mdbook
run: |
cargo install mdbook mdbook-mermaid mdbook-template
- name: Build book
working-directory: ./book
run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/book
27 changes: 11 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,13 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@just
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo test --workspace --doc
- run: cargo test --all-features --workspace --doc
- run: just test-docs

wasm-unknown:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -129,16 +130,15 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@just
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo +stable clippy --workspace --all-targets --all-features
env:
RUSTFLAGS: -D warnings
- run: just clippy

docs:
runs-on: ubuntu-latest
Expand All @@ -154,46 +154,41 @@ jobs:
RUSTDOCFLAGS:
--cfg docsrs -D warnings --show-type-layout --generate-link-to-definition
--enable-index-page -Zunstable-options
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: target/doc
force_orphan: true

fmt:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: taiki-e/install-action@just
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo fmt --all --check
- run: just fmt-check

cfg-check:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: taiki-e/install-action@just
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo check -Zcheck-cfg --workspace
- run: just check

feature-powerset:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@just
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: cargo hack
run: cargo hack check --feature-powerset --no-dev-deps
- run: just hack
136 changes: 136 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,138 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.6.5](https://github.com/alloy-rs/op-alloy
/releases/tag/v0.6.5) - 2024-11-12

### Dependencies

- Bump alloy 064 ([#249](https://github.com/alloy-rs/op-alloy/issues/249))

### Features

- Wrap `TxDeposit` into `Sealed` in `OpTxEnvelope` ([#247](https://github.com/alloy-rs/op-alloy/issues/247))
- Add nonce to RPC transaction ([#246](https://github.com/alloy-rs/op-alloy/issues/246))

### Miscellaneous Tasks

- Add deserde test ([#248](https://github.com/alloy-rs/op-alloy/issues/248))

## [0.6.4](https://github.com/alloy-rs/op-alloy
/releases/tag/v0.6.4) - 2024-11-12

### Bug Fixes

- [consensus] Add conversion for `OpTxType::Eip7702` ([#244](https://github.com/alloy-rs/op-alloy/issues/244))
- [consensus] Fix arbitrary impl for `OpTxType` ([#242](https://github.com/alloy-rs/op-alloy/issues/242))

### Miscellaneous Tasks

- Release 0.6.4
- Add is dynamic fee ([#245](https://github.com/alloy-rs/op-alloy/issues/245))

## [0.6.3](https://github.com/alloy-rs/op-alloy
/releases/tag/v0.6.3) - 2024-11-08

### Dependencies

- Bump Alloy Deps ([#239](https://github.com/alloy-rs/op-alloy/issues/239))

### Features

- Bump alloy ([#240](https://github.com/alloy-rs/op-alloy/issues/240))

### Miscellaneous Tasks

- Release 0.6.3

## [0.6.2](https://github.com/alloy-rs/op-alloy
/releases/tag/v0.6.2) - 2024-11-06

### Bug Fixes

- [protocol] Batch Decoding ([#235](https://github.com/alloy-rs/op-alloy/issues/235))
- [book] Links Imports ([#227](https://github.com/alloy-rs/op-alloy/issues/227))

### Features

- Add fn for decoded 1559 params ([#236](https://github.com/alloy-rs/op-alloy/issues/236))
- [book] Engine RPC Types ([#229](https://github.com/alloy-rs/op-alloy/issues/229))

### Miscellaneous Tasks

- Release 0.6.2
- Move eip1559 impls ([#237](https://github.com/alloy-rs/op-alloy/issues/237))
- [rpc-types] Clean up Exports ([#231](https://github.com/alloy-rs/op-alloy/issues/231))
- [book] Consolidate Links ([#230](https://github.com/alloy-rs/op-alloy/issues/230))
- [book] RPC Types ([#228](https://github.com/alloy-rs/op-alloy/issues/228))
- [book] Protocol Docs ([#225](https://github.com/alloy-rs/op-alloy/issues/225))

### Other

- V0.6.1 ([#238](https://github.com/alloy-rs/op-alloy/issues/238))

## [0.6.0](https://github.com/alloy-rs/op-alloy
/releases/tag/v0.6.0) - 2024-11-06

### Bug Fixes

- [book] Small Book Touchups ([#220](https://github.com/alloy-rs/op-alloy/issues/220))
- [ci] Remove Docs gh-page publish ([#216](https://github.com/alloy-rs/op-alloy/issues/216))
- Ci powerset ([#214](https://github.com/alloy-rs/op-alloy/issues/214))
- [book] Missing READMEs ([#213](https://github.com/alloy-rs/op-alloy/issues/213))

### Dependencies

- [wip] feat: bump alloy ([#205](https://github.com/alloy-rs/op-alloy/issues/205))
- [workspace] Import Touchups ([#199](https://github.com/alloy-rs/op-alloy/issues/199))
- Bump alloy ([#178](https://github.com/alloy-rs/op-alloy/issues/178))

### Features

- Add holocene extradata fn ([#233](https://github.com/alloy-rs/op-alloy/issues/233))
- Add jsonrpsee trait for SuperchainSignal ([#217](https://github.com/alloy-rs/op-alloy/issues/217))
- `OpTransactionRequest` ([#215](https://github.com/alloy-rs/op-alloy/issues/215))
- [book] Consensus ([#212](https://github.com/alloy-rs/op-alloy/issues/212))
- [book] Genesis - System Config ([#211](https://github.com/alloy-rs/op-alloy/issues/211))
- `op-alloy` meta crate ([#210](https://github.com/alloy-rs/op-alloy/issues/210))
- [book] Genesis - Rollup Config ([#209](https://github.com/alloy-rs/op-alloy/issues/209))
- Book Setup ([#208](https://github.com/alloy-rs/op-alloy/issues/208))
- README ([#207](https://github.com/alloy-rs/op-alloy/issues/207))
- Book ([#206](https://github.com/alloy-rs/op-alloy/issues/206))
- [protocol] Batch ([#200](https://github.com/alloy-rs/op-alloy/issues/200))
- [protocol] Span Batch Validity Checks ([#198](https://github.com/alloy-rs/op-alloy/issues/198))
- [protocol] Span Batch Type ([#197](https://github.com/alloy-rs/op-alloy/issues/197))
- [protocol] Span Batch Transactions ([#196](https://github.com/alloy-rs/op-alloy/issues/196))
- [protocol] Batch TX Data ([#195](https://github.com/alloy-rs/op-alloy/issues/195))
- [protocol] Span Batch Bits ([#194](https://github.com/alloy-rs/op-alloy/issues/194))
- [protocol] Span Batch Element ([#193](https://github.com/alloy-rs/op-alloy/issues/193))
- [protocol] Batch Utilities ([#191](https://github.com/alloy-rs/op-alloy/issues/191))
- [protocol] Batch Error Types ([#190](https://github.com/alloy-rs/op-alloy/issues/190))
- [protocol] BatchValidationProvider ([#189](https://github.com/alloy-rs/op-alloy/issues/189))
- [protocol] SingleBatch Type ([#188](https://github.com/alloy-rs/op-alloy/issues/188))
- [protocol] Batch Validity ([#187](https://github.com/alloy-rs/op-alloy/issues/187))
- [protocol] Batch Type ([#186](https://github.com/alloy-rs/op-alloy/issues/186))
- [rpc-types] `{Try}From` impl for `OpTransactionReceipt` + `Transaction` -> consensus types ([#183](https://github.com/alloy-rs/op-alloy/issues/183))
- [genesis] EIP 1559 System Config Accessor ([#179](https://github.com/alloy-rs/op-alloy/issues/179))

### Miscellaneous Tasks

- Release 0.6.0
- [book] Load Rollup Config Example ([#224](https://github.com/alloy-rs/op-alloy/issues/224))
- [book] Genesis Docs ([#223](https://github.com/alloy-rs/op-alloy/issues/223))
- [book] Consensus Docs ([#222](https://github.com/alloy-rs/op-alloy/issues/222))
- [ci] Use Justfile Targets in Github Actions ([#219](https://github.com/alloy-rs/op-alloy/issues/219))
- [book] Fix Doc Links ([#218](https://github.com/alloy-rs/op-alloy/issues/218))
- Release 0.5.2 ([#201](https://github.com/alloy-rs/op-alloy/issues/201))
- [consensus] Upstream Receipt Constructor ([#165](https://github.com/alloy-rs/op-alloy/issues/165))
- Release 0.5.1 ([#184](https://github.com/alloy-rs/op-alloy/issues/184))
- [consensus] Small Cleanup ([#180](https://github.com/alloy-rs/op-alloy/issues/180))
- Dependency Updates ([#177](https://github.com/alloy-rs/op-alloy/issues/177))

### Other

- Add arbitrary attr ([#182](https://github.com/alloy-rs/op-alloy/issues/182))

## [0.5.0](https://github.com/alloy-rs/op-alloy
/releases/tag/v0.5.0) - 2024-10-18

Expand All @@ -20,6 +152,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [rollup] Backward-activate forks in `RollupConfig` ([#170](https://github.com/alloy-rs/op-alloy/issues/170))
- [envelope] Add missing `From<Signed<TxEip7702>>` ([#168](https://github.com/alloy-rs/op-alloy/issues/168))

### Miscellaneous Tasks

- Release 0.5.0

## [0.4.0](https://github.com/alloy-rs/op-alloy
/releases/tag/v0.4.0) - 2024-10-09

Expand Down
53 changes: 34 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2"

[workspace.package]
version = "0.5.0"
version = "0.6.5"
edition = "2021"
rust-version = "1.81"
authors = ["Alloy Contributors"]
Expand Down Expand Up @@ -36,42 +36,49 @@ rustdoc-args = ["--cfg", "docsrs"]

[workspace.dependencies]
# Workspace
op-alloy-genesis = { version = "0.5.0", path = "crates/genesis", default-features = false }
op-alloy-protocol = { version = "0.5.0", path = "crates/protocol", default-features = false }
op-alloy-consensus = { version = "0.5.0", path = "crates/consensus", default-features = false }
op-alloy-rpc-types = { version = "0.5.0", path = "crates/rpc-types", default-features = false }
op-alloy-rpc-jsonrpsee = { version = "0.5.0", path = "crates/rpc-jsonrpsee", default-features = false }
op-alloy-rpc-types-engine = { version = "0.5.0", path = "crates/rpc-types-engine", default-features = false }
op-alloy-genesis = { version = "0.6.5", path = "crates/genesis", default-features = false }
op-alloy-protocol = { version = "0.6.5", path = "crates/protocol", default-features = false }
op-alloy-consensus = { version = "0.6.5", path = "crates/consensus", default-features = false }
op-alloy-network = { version = "0.6.5", path = "crates/network", default-features = false }
op-alloy-provider = { version = "0.6.5", path = "crates/provider", default-features = false }
op-alloy-rpc-types = { version = "0.6.5", path = "crates/rpc-types", default-features = false }
op-alloy-rpc-jsonrpsee = { version = "0.6.5", path = "crates/rpc-jsonrpsee", default-features = false }
op-alloy-rpc-types-engine = { version = "0.6.5", path = "crates/rpc-types-engine", default-features = false }

# Alloy
alloy-eips = { version = "0.5.2", default-features = false }
alloy-serde = { version = "0.5.2", default-features = false }
alloy-signer = { version = "0.5.2", default-features = false }
alloy-network = { version = "0.5.2", default-features = false }
alloy-provider = { version = "0.5.2", default-features = false }
alloy-transport = { version = "0.5.2", default-features = false }
alloy-consensus = { version = "0.5.2", default-features = false }
alloy-rpc-types-eth = { version = "0.5.2", default-features = false }
alloy-rpc-types-engine = { version = "0.5.2", default-features = false }
alloy-network-primitives = { version = "0.5.2", default-features = false }
alloy-eips = { version = "0.11", default-features = false }
alloy-serde = { version = "0.11", default-features = false }
alloy-signer = { version = "0.11", default-features = false }
alloy-network = { version = "0.11", default-features = false }
alloy-provider = { version = "0.11", default-features = false }
alloy-transport = { version = "0.11", default-features = false }
alloy-consensus = { version = "0.11", default-features = false }
alloy-rpc-types-eth = { version = "0.11", default-features = false }
alloy-rpc-types-engine = { version = "0.11", default-features = false }
alloy-network-primitives = { version = "0.11", default-features = false }

# Alloy RLP
alloy-rlp = { version = "0.3", default-features = false }

# Alloy Core
alloy-sol-types = { version = "0.8", default-features = false }
alloy-primitives = { version = "0.8", default-features = false }
alloy-sol-types = { version = "0.8.12", default-features = false }
alloy-primitives = { version = "0.8.12", default-features = false }

# Revm
revm = "18.0.0"

# Serde
serde_repr = "0.1"
serde = { version = "1.0", default-features = false, features = [
"derive",
"alloc",
] }
serde_with = "3.11"
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }

# Encoding
snap = "1.1.1"
bincode = "1.3.3"
ethereum_ssz = "0.8"

# rpc
Expand All @@ -86,8 +93,15 @@ jsonrpsee-types = "0.24"

# misc
cfg-if = "1"
async-trait = "0.1.83"
unsigned-varint = "0.8.0"
spin = { version = "0.9.8", features = ["mutex"] }
derive_more = { version = "1.0", default-features = false }
similar-asserts = "1.6"

# tracing
tracing-subscriber = "0.3.18"
tracing = { version = "0.1.40", default-features = false }

## misc-testing
arbitrary = { version = "1.3", features = ["derive"] }
Expand All @@ -97,6 +111,7 @@ thiserror = "1.0"
proptest = "1.5"
proptest-derive = "0.5"
tokio = "1"
rstest = "0.23.0"

## crypto
c-kzg = { version = "1.0", default-features = false }
Expand Down
Loading
Loading