Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Conversation

@merklefruit
Copy link
Contributor

@merklefruit merklefruit commented Dec 26, 2024

This PR bumps the package version from v0.7.4 to v0.8.0.

Here is a list of all the changes:

  • updated old dependencies: mainly alloy and ethereum_ssz
  • got rid of reth_primitives as dependency as now all the types we need are upstreamed into alloy
  • added all background task handles to the Client struct so that we have a way to manually kill them if necessary
  • added a Client::kill_all_background_tasks() function to kill all outstanding streams
  • updated all send_ API functions to return tx_hashes as alloy::primitives::B256 instead of String.
  • removed all unused dependencies (and added clippy lint rule for the future).
  • added usage of thiserror for library error enum

Some types have changed due to how outdated alloy was. In particular:

  • sending typed transactions now expects alloy::consensus::TxEnvelope
  • subscribing to transactions returns a stream of alloy::consensus::transaction::Recovered<TxEnvelope>
  • subscribing to blob txs returns Recovered<alloy::consensus::Signed<TxEip4844WithSidecar>>
  • subscribing to execution payloads returns a stream of alloy::consensus::Block<TxEnvelope>>

Given the type changes to the public API, this marks a breaking change.

@merklefruit merklefruit changed the title feat: bump alloy, rm reth as dependency, other types upgrades feat: v0.8.0: bump alloy, update API types Dec 26, 2024
@merklefruit merklefruit self-assigned this Dec 26, 2024
@merklefruit merklefruit added the enhancement New feature or request label Dec 26, 2024
chore: fix ci

chore: fix ci
@merklefruit merklefruit merged commit 2986e20 into main Dec 27, 2024
9 checks passed
@merklefruit merklefruit deleted the maintenance branch December 27, 2024 09:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants