Skip to content

Commit

Permalink
Merge pull request #14 from bnb-chain/merge_v0.5.4
Browse files Browse the repository at this point in the history
chore: merge v0.5.4
  • Loading branch information
unclezoro authored Dec 2, 2024
2 parents 77e4d06 + b6ca35f commit 576cabc
Show file tree
Hide file tree
Showing 179 changed files with 5,619 additions and 2,295 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @danipopes @gakonst @mattsse @onbjerg @prestwich @evalir @emhane
* @danipopes @gakonst @mattsse @onbjerg @evalir @emhane
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
cache-on-failure: true
- name: cargo hack
run: |
cargo hack build --workspace --target wasm32-unknown-unknown \
cargo hack build --workspace --ignore-unknown-features --features ws --target wasm32-unknown-unknown \
--exclude alloy-contract \
--exclude alloy-network \
--exclude alloy-node-bindings \
Expand Down
188 changes: 188 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,196 @@ 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.5.4](https://github.com/alloy-rs/alloy/releases/tag/v0.5.4) - 2024-10-23

### Bug Fixes

- Sidecar rlp decoding ([#1549](https://github.com/alloy-rs/alloy/issues/1549))

### Dependencies

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

### Features

- Add osaka time to genesis ([#1548](https://github.com/alloy-rs/alloy/issues/1548))

### Other

- Add unit test for `amount_wei` `Withdrawal` ([#1551](https://github.com/alloy-rs/alloy/issues/1551))

## [0.5.3](https://github.com/alloy-rs/alloy/releases/tag/v0.5.3) - 2024-10-22

### Bug Fixes

- Correct implementations of Encodable and Decodable for sidecars ([#1528](https://github.com/alloy-rs/alloy/issues/1528))
- [filter] Treat null fields as null ([#1529](https://github.com/alloy-rs/alloy/issues/1529))
- Maybetagged serde for typed transaction ([#1495](https://github.com/alloy-rs/alloy/issues/1495))

### Dependencies

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

### Documentation

- [prestate] Comment prestate more clear ([#1527](https://github.com/alloy-rs/alloy/issues/1527))

### Features

- [rpc-types-trace/prestate] Support disable_{code,storage} ([#1538](https://github.com/alloy-rs/alloy/issues/1538))
- Derive serde for `ExecutionPayloadSidecar` ([#1535](https://github.com/alloy-rs/alloy/issues/1535))

### Miscellaneous Tasks

- Release 0.5.3
- Remove self from codeowners ([#1498](https://github.com/alloy-rs/alloy/issues/1498))

### Other

- Add `Debug` trait bound for `Transaction` trait ([#1543](https://github.com/alloy-rs/alloy/issues/1543))
- Impl `From<RpcBlockHash>` for `BlockId` ([#1539](https://github.com/alloy-rs/alloy/issues/1539))
- Small refactor with `then_some` ([#1533](https://github.com/alloy-rs/alloy/issues/1533))
- Add unit tests and reduce paths ([#1531](https://github.com/alloy-rs/alloy/issues/1531))
- Use `Withdrawals` wrapper in `BlockBody` ([#1525](https://github.com/alloy-rs/alloy/issues/1525))

### Testing

- Fix more ci only ([#1402](https://github.com/alloy-rs/alloy/issues/1402))

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

### Bug Fixes

- Fix requests root ([#1521](https://github.com/alloy-rs/alloy/issues/1521))
- Use Decodable directly ([#1522](https://github.com/alloy-rs/alloy/issues/1522))

### Miscellaneous Tasks

- Release 0.5.2
- Make Header encoding good ([#1524](https://github.com/alloy-rs/alloy/issues/1524))
- Reorder bincode modules ([#1520](https://github.com/alloy-rs/alloy/issues/1520))

### Testing

- Extend test with rlp ([#1523](https://github.com/alloy-rs/alloy/issues/1523))

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

### Features

- Add ExecutionPayloadSidecar type ([#1517](https://github.com/alloy-rs/alloy/issues/1517))

### Miscellaneous Tasks

- Release 0.5.1
- Extract error types to new modules ([#1518](https://github.com/alloy-rs/alloy/issues/1518))
- Add empty requests constant ([#1519](https://github.com/alloy-rs/alloy/issues/1519))
- Remove 7685 request variants ([#1515](https://github.com/alloy-rs/alloy/issues/1515))
- Remove redundant cfgs ([#1516](https://github.com/alloy-rs/alloy/issues/1516))

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

### Bug Fixes

- [`rpc-types-eth`] Receipt deser ([#1506](https://github.com/alloy-rs/alloy/issues/1506))
- Use `requests_hash` ([#1508](https://github.com/alloy-rs/alloy/issues/1508))
- Allow missing-tag deser of tx envelope ([#1489](https://github.com/alloy-rs/alloy/issues/1489))
- Correct default impls to not bound T ([#1490](https://github.com/alloy-rs/alloy/issues/1490))
- Rename gas_limit to gas in serde def for txns ([#1486](https://github.com/alloy-rs/alloy/issues/1486))
- Types inside mev_calls.rs ([#1435](https://github.com/alloy-rs/alloy/issues/1435))
- [wasm] Support ws ([#1481](https://github.com/alloy-rs/alloy/issues/1481))
- [types/filter] Treat empty filter address as non-matching ([#1473](https://github.com/alloy-rs/alloy/issues/1473))
- Remove signature assoc type from tx response trait ([#1451](https://github.com/alloy-rs/alloy/issues/1451))
- Change bound in RecommendedFillers to TxFiller<Self> ([#1466](https://github.com/alloy-rs/alloy/issues/1466))
- Make RecommendedFillers generic over Network ([#1458](https://github.com/alloy-rs/alloy/issues/1458))
- Enable serde on alloy-consensus ([#1449](https://github.com/alloy-rs/alloy/issues/1449))
- Proposer_index rustdoc ([#1443](https://github.com/alloy-rs/alloy/issues/1443))
- [eips] Blob Sidecar Item Serde ([#1441](https://github.com/alloy-rs/alloy/issues/1441))
- [rpc-client] Use wasm-compatible sleep ([#1437](https://github.com/alloy-rs/alloy/issues/1437))
- Enforce correct parity for legacy transactions ([#1428](https://github.com/alloy-rs/alloy/issues/1428))
- [provider] Use wasmtimer for wasm32 target ([#1426](https://github.com/alloy-rs/alloy/issues/1426))
- Set chain id for eth signer ([#1425](https://github.com/alloy-rs/alloy/issues/1425))

### Dependencies

- Enable serde types dependencies in rpc-types ([#1456](https://github.com/alloy-rs/alloy/issues/1456))

### Features

- Wallet namespace types ([#1448](https://github.com/alloy-rs/alloy/issues/1448))
- Make it possible to configure Ws config ([#1505](https://github.com/alloy-rs/alloy/issues/1505))
- [eip4895] Implement `Withdrawals` ([#1462](https://github.com/alloy-rs/alloy/issues/1462))
- Port generate_blob_sidecar ([#1511](https://github.com/alloy-rs/alloy/issues/1511))
- Make Pending transaction own the provider ([#1500](https://github.com/alloy-rs/alloy/issues/1500))
- Add missing eth_getTransaction methods ([#1457](https://github.com/alloy-rs/alloy/issues/1457))
- From impl for variant ([#1488](https://github.com/alloy-rs/alloy/issues/1488))
- BuildTransactionErr abstract over builder type ([#1452](https://github.com/alloy-rs/alloy/issues/1452))
- [provider] LRUCache Layer ([#954](https://github.com/alloy-rs/alloy/issues/954))
- Add helpers to configure GethDebugTracingOptions properly ([#1436](https://github.com/alloy-rs/alloy/issues/1436))
- [eips] Arbitrary BaseFeeParams ([#1432](https://github.com/alloy-rs/alloy/issues/1432))
- `Encodable2718::network_len` ([#1431](https://github.com/alloy-rs/alloy/issues/1431))
- Re-export more features from alloy-core ([#1423](https://github.com/alloy-rs/alloy/issues/1423))
- [rpc-types-mev] Add mev-share sse types ([#1419](https://github.com/alloy-rs/alloy/issues/1419))
- [rpc-types-mev] Add support for `Bundle` inside `BundleItem` ([#1418](https://github.com/alloy-rs/alloy/issues/1418))
- Add helper from impl ([#1407](https://github.com/alloy-rs/alloy/issues/1407))

### Miscellaneous Tasks

- Release 0.5.0
- Update pectra system contracts bytecodes & addresses ([#1512](https://github.com/alloy-rs/alloy/issues/1512))
- Flatten eip-7685 requests into a single opaque list ([#1383](https://github.com/alloy-rs/alloy/issues/1383))
- Rename requests root to requests hash ([#1379](https://github.com/alloy-rs/alloy/issues/1379))
- Refactor some match with same arms ([#1463](https://github.com/alloy-rs/alloy/issues/1463))
- [consensus] Test use Vec::with_capacity ([#1476](https://github.com/alloy-rs/alloy/issues/1476))
- Unify use Option ref ([#1477](https://github.com/alloy-rs/alloy/issues/1477))
- Update eip-7251 bytecode and address ([#1380](https://github.com/alloy-rs/alloy/issues/1380))
- More simplifications ([#1469](https://github.com/alloy-rs/alloy/issues/1469))
- Some lifetime simplifications ([#1467](https://github.com/alloy-rs/alloy/issues/1467))
- Remove redundant else ([#1468](https://github.com/alloy-rs/alloy/issues/1468))
- Rm needless pass by ref mut ([#1465](https://github.com/alloy-rs/alloy/issues/1465))
- Some small improvements ([#1461](https://github.com/alloy-rs/alloy/issues/1461))
- Use pending for next initial nonce ([#1455](https://github.com/alloy-rs/alloy/issues/1455))
- [rpc] Make keys required for execution witness ([#1446](https://github.com/alloy-rs/alloy/issues/1446))
- [deny] Allow Zlib ([#1438](https://github.com/alloy-rs/alloy/issues/1438))
- [rpc] Make TransactionRequest conversions exhaustive ([#1427](https://github.com/alloy-rs/alloy/issues/1427))
- Apply same member order ([#1408](https://github.com/alloy-rs/alloy/issues/1408))

### Other

- Update fn encoded_2718 ([#1475](https://github.com/alloy-rs/alloy/issues/1475))
- Add unit tests for `ConsolidationRequest` ([#1497](https://github.com/alloy-rs/alloy/issues/1497))
- Rm redundant root hash definitions ([#1501](https://github.com/alloy-rs/alloy/issues/1501))
- Add unit tests for `WithdrawalRequest` ([#1472](https://github.com/alloy-rs/alloy/issues/1472))
- Add more constraints to `TxReceipt` trait ([#1478](https://github.com/alloy-rs/alloy/issues/1478))
- Replace `to` by `kind` in Transaction trait ([#1484](https://github.com/alloy-rs/alloy/issues/1484))
- Add more unit tests ([#1464](https://github.com/alloy-rs/alloy/issues/1464))
- GenesisAccount : implement `deserialize_private_key` ([#1447](https://github.com/alloy-rs/alloy/issues/1447))
- Revert test: update test cases with addresses ([#1358](https://github.com/alloy-rs/alloy/issues/1358)) ([#1444](https://github.com/alloy-rs/alloy/issues/1444))
- Add default to payload id ([#1442](https://github.com/alloy-rs/alloy/issues/1442))
- Replace assert_eq! with similar_asserts::assert_eq! ([#1429](https://github.com/alloy-rs/alloy/issues/1429))

### Performance

- Manual serde for quantity vec ([#1509](https://github.com/alloy-rs/alloy/issues/1509))

### Refactor

- Change input output to Bytes ([#1487](https://github.com/alloy-rs/alloy/issues/1487))

### Styling

- Fmt ([#1439](https://github.com/alloy-rs/alloy/issues/1439))

### Testing

- [node-bindings] Consolidate integration tests ([#1422](https://github.com/alloy-rs/alloy/issues/1422))

## [0.4.2](https://github.com/alloy-rs/alloy/releases/tag/v0.4.2) - 2024-10-01

### Miscellaneous Tasks

- Release 0.4.2

### Styling

- Use alloc ([#1405](https://github.com/alloy-rs/alloy/issues/1405))
Expand Down
75 changes: 40 additions & 35 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.4.2"
version = "0.5.4"
edition = "2021"
rust-version = "1.79"
authors = ["Alloy Contributors"]
Expand Down Expand Up @@ -35,39 +35,40 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[workspace.dependencies]
alloy-consensus = { version = "0.4", path = "crates/consensus", default-features = false }
alloy-contract = { version = "0.4", path = "crates/contract", default-features = false }
alloy-eips = { version = "0.4", path = "crates/eips", default-features = false }
alloy-eip7547 = { version = "0.4", path = "crates/eip7547", default-features = false }
alloy-genesis = { version = "0.4", path = "crates/genesis", default-features = false }
alloy-json-rpc = { version = "0.4", path = "crates/json-rpc", default-features = false }
alloy-network = { version = "0.4", path = "crates/network", default-features = false }
alloy-network-primitives = { version = "0.4", path = "crates/network-primitives", default-features = false }
alloy-node-bindings = { version = "0.4", path = "crates/node-bindings", default-features = false }
alloy-provider = { version = "0.4", path = "crates/provider", default-features = false }
alloy-pubsub = { version = "0.4", path = "crates/pubsub", default-features = false }
alloy-rpc-client = { version = "0.4", path = "crates/rpc-client", default-features = false }
alloy-rpc-types-admin = { version = "0.4", path = "crates/rpc-types-admin", default-features = false }
alloy-rpc-types-anvil = { version = "0.4", path = "crates/rpc-types-anvil", default-features = false }
alloy-rpc-types-beacon = { version = "0.4", path = "crates/rpc-types-beacon", default-features = false }
alloy-rpc-types-debug = { version = "0.4", path = "crates/rpc-types-debug", default-features = false }
alloy-rpc-types-engine = { version = "0.4", path = "crates/rpc-types-engine", default-features = false }
alloy-rpc-types-eth = { version = "0.4", path = "crates/rpc-types-eth", default-features = false }
alloy-rpc-types-mev = { version = "0.4", path = "crates/rpc-types-mev", default-features = false }
alloy-rpc-types-trace = { version = "0.4", path = "crates/rpc-types-trace", default-features = false }
alloy-rpc-types-txpool = { version = "0.4", path = "crates/rpc-types-txpool", default-features = false }
alloy-rpc-types = { version = "0.4", path = "crates/rpc-types", default-features = false }
alloy-serde = { version = "0.4", path = "crates/serde", default-features = false }
alloy-signer = { version = "0.4", path = "crates/signer", default-features = false }
alloy-signer-aws = { version = "0.4", path = "crates/signer-aws", default-features = false }
alloy-signer-gcp = { version = "0.4", path = "crates/signer-gcp", default-features = false }
alloy-signer-ledger = { version = "0.4", path = "crates/signer-ledger", default-features = false }
alloy-signer-local = { version = "0.4", path = "crates/signer-local", default-features = false }
alloy-signer-trezor = { version = "0.4", path = "crates/signer-trezor", default-features = false }
alloy-transport = { version = "0.4", path = "crates/transport", default-features = false }
alloy-transport-http = { version = "0.4", path = "crates/transport-http", default-features = false }
alloy-transport-ipc = { version = "0.4", path = "crates/transport-ipc", default-features = false }
alloy-transport-ws = { version = "0.4", path = "crates/transport-ws", default-features = false }
alloy-consensus = { version = "0.5", path = "crates/consensus", default-features = false }
alloy-contract = { version = "0.5", path = "crates/contract", default-features = false }
alloy-eips = { version = "0.5", path = "crates/eips", default-features = false }
alloy-eip7547 = { version = "0.5", path = "crates/eip7547", default-features = false }
alloy-genesis = { version = "0.5", path = "crates/genesis", default-features = false }
alloy-json-rpc = { version = "0.5", path = "crates/json-rpc", default-features = false }
alloy-network = { version = "0.5", path = "crates/network", default-features = false }
alloy-network-primitives = { version = "0.5", path = "crates/network-primitives", default-features = false }
alloy-node-bindings = { version = "0.5", path = "crates/node-bindings", default-features = false }
alloy-provider = { version = "0.5", path = "crates/provider", default-features = false }
alloy-pubsub = { version = "0.5", path = "crates/pubsub", default-features = false }
alloy-rpc-client = { version = "0.5", path = "crates/rpc-client", default-features = false }
alloy-rpc-types-admin = { version = "0.5", path = "crates/rpc-types-admin", default-features = false }
alloy-rpc-types-anvil = { version = "0.5", path = "crates/rpc-types-anvil", default-features = false }
alloy-rpc-types-beacon = { version = "0.5", path = "crates/rpc-types-beacon", default-features = false }
alloy-rpc-types-debug = { version = "0.5", path = "crates/rpc-types-debug", default-features = false }
alloy-rpc-types-engine = { version = "0.5", path = "crates/rpc-types-engine", default-features = false }
alloy-rpc-types-eth = { version = "0.5", path = "crates/rpc-types-eth", default-features = false }
alloy-rpc-types-mev = { version = "0.5", path = "crates/rpc-types-mev", default-features = false }
alloy-rpc-types-trace = { version = "0.5", path = "crates/rpc-types-trace", default-features = false }
alloy-rpc-types-txpool = { version = "0.5", path = "crates/rpc-types-txpool", default-features = false }
alloy-rpc-types = { version = "0.5", path = "crates/rpc-types", default-features = false }
alloy-serde = { version = "0.5", path = "crates/serde", default-features = false }
alloy-signer = { version = "0.5", path = "crates/signer", default-features = false }
alloy-signer-aws = { version = "0.5", path = "crates/signer-aws", default-features = false }
alloy-signer-gcp = { version = "0.5", path = "crates/signer-gcp", default-features = false }
alloy-signer-ledger = { version = "0.5", path = "crates/signer-ledger", default-features = false }
alloy-signer-local = { version = "0.5", path = "crates/signer-local", default-features = false }
alloy-signer-trezor = { version = "0.5", path = "crates/signer-trezor", default-features = false }
alloy-transport = { version = "0.5", path = "crates/transport", default-features = false }
alloy-transport-http = { version = "0.5", path = "crates/transport-http", default-features = false }
alloy-transport-ipc = { version = "0.5", path = "crates/transport-ipc", default-features = false }
alloy-transport-ws = { version = "0.5", path = "crates/transport-ws", default-features = false }
alloy-eip5792 = { version = "0.5", path = "crates/eip5792", default-features = false }

alloy-core = { version = "0.8.5", default-features = false }
alloy-dyn-abi = { version = "0.8.5", default-features = false }
Expand All @@ -81,7 +82,7 @@ alloy-chains = { version = "0.1.18", default-features = false }

# eips
alloy-eip2930 = { version = "0.1.0", default-features = false }
alloy-eip7702 = { version = "0.1.1", default-features = false }
alloy-eip7702 = { version = "0.3.2", default-features = false }

# ethereum
ethereum_ssz_derive = "0.8"
Expand All @@ -100,6 +101,7 @@ futures = "0.3"
futures-util = "0.3"
futures-executor = "0.3"
futures-utils-wasm = "0.1"
wasmtimer = "0.2.0"

hyper = { version = "1.2", default-features = false }
hyper-util = "0.1"
Expand Down Expand Up @@ -137,6 +139,9 @@ semver = "1.0"
thiserror = "1.0"
thiserror-no-std = "2.0.2"
url = "2.5"
schnellru = "0.2.3"
lru = "0.12"
parking_lot = "0.12.3"
derive_more = { version = "1.0.0", default-features = false }
strum = { version = "0.26", default-features = false }
http = "1.1.0"
Expand Down
38 changes: 38 additions & 0 deletions crates/alloy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,44 @@ 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.5.3](https://github.com/alloy-rs/alloy/releases/tag/v0.5.3) - 2024-10-22

### Miscellaneous Tasks

- Release 0.5.3

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

### Miscellaneous Tasks

- Release 0.5.2

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

### Miscellaneous Tasks

- Release 0.5.1

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

### Bug Fixes

- Enable serde on alloy-consensus ([#1449](https://github.com/alloy-rs/alloy/issues/1449))

### Features

- Re-export more features from alloy-core ([#1423](https://github.com/alloy-rs/alloy/issues/1423))

### Miscellaneous Tasks

- Release 0.5.0

## [0.4.2](https://github.com/alloy-rs/alloy/releases/tag/v0.4.2) - 2024-10-01

### Miscellaneous Tasks

- Release 0.4.2

## [0.4.1](https://github.com/alloy-rs/alloy/releases/tag/v0.4.1) - 2024-10-01

### Miscellaneous Tasks
Expand Down
Loading

0 comments on commit 576cabc

Please sign in to comment.