Releases: alloy-rs/alloy
Releases · alloy-rs/alloy
v0.4.0
What's Changed
- fix: enforce correct parity encoding for typed transactions by @klkvr in #1305
- fix: RecommendedFillers typo by @yash-atreya in #1311
- Implement custom default for
Account
representing a valid empty account by @Wollac in #1313 - feat: bundle hash on ethsendbundle by @prestwich in #1308
- feat(rpc-types-beacon):
BuilderBlockValidationRequestV3
by @ryanschneider in #1310 - feat(rpc-types-beacon):
BuilderBlockValidationRequestV4
by @ryanschneider in #1322 - chore: fix some warnings by @DaniPopes in #1320
- feat: add eth_simulateV1 by @mattsse in #1323
- feat: add builder style functions to ethcallbundle by @mattsse in #1325
- feat: add builder style function to simulate payload args by @mattsse in #1324
- feat(consensus): move requests struct definition from reth by @PanGan21 in #1326
- Add
OperationType::OpEofCreate
by @emhane in #1327 - rpc: remove repetitive as_ref by @nkysg in #1329
- feat: Add getters into TransactionResponse and update implementations by @garwahl in #1328
- consensus: add
BlockHeader
getter trait by @tcoratger in #1302 - make factory and paymaster fields optional in
PackedUserOperation
by @dastanbeksamatov in #1330 - fix(
rpc-client
): add test for BuiltInConnString.connect_boxed by @yash-atreya in #1331 - dep: add full feature to
derive_more
by @tcoratger in #1335 - feat(provider): subscribe to new blocks if possible in heartbeat by @DaniPopes in #1321
- chore: remove an unused lifetime by @DaniPopes in #1336
- fix: use vec for flat call frame by @mattsse in #1343
- fix:
eth_simulateV1
serde by @klkvr in #1345 - feat(consensus): Generic Block Type by @refcell in #1319
- fix(serde): encode optional types as Some by @shekhirin in #1348
- feat(serde): remove deprecated
num
module by @DaniPopes in #1350 - chore: add codes into execution witness by @0x00101010 in #1352
- feat: deserialize requests by @prestwich in #1351
- chore(deps): bump breaking deps by @DaniPopes in #1356
- chore: fix warnings on no_std by @DaniPopes in #1355
- feat: Blob Tx Sidecar Iterator by @refcell in #1334
- feat: add Header::num_hash_slow by @mattsse in #1357
- feat: impl From for alloy_rlp::Error by @klkvr in #1359
- test: update test cases with addresses by @mattsse in #1358
- fix:
Error::source
forEip2718Error
by @klkvr in #1361 - fix: correct
encode_2718_len
for legacy transactions by @klkvr in #1360 - fix: use std::error by @DaniPopes in #1363
- consensus: add
Receipts
struct by @tcoratger in #1247 - chore(deps): bump alloy-core 0.8.4 in Cargo.toml by @DaniPopes in #1364
- feat(transport-http): JWT auth layer by @yash-atreya in #1314
- fix: advance buffer during 2718 decoding by @klkvr in #1367
- feat: errors for responses by @prestwich in #1369
- test: add retry test by @mattsse in #1373
- chore: bump alloy 0.8.5 by @mattsse in #1374
- consensus: make
Header
gas limit u64 by @tcoratger in #1333 - consensus: make
Header
base_fee_per_gas
u64 by @tcoratger in #1375 - consensus: make
Header
blob fees u64 by @tcoratger in #1377 - consensus: make
gas_limit
u64 for transactions by @tcoratger in #1382 - feat(signer-local): add
keystore-geth-compat
feature by @gnapoli23 in #1381 - feat(engine): Add Trin Execution client code by @KolbyML in #1372
- feat: replace std/hashbrown with alloy_primitives::map by @DaniPopes in #1384
- feat(rpc-types-engine): use strum for ClientCode by @DaniPopes in #1386
- chore: Update comment to be more accurate by @0x00101010 in #1390
- chore: move type def to where it belongs by @mattsse in #1391
- fix: ensure
max_fee_per_blob_gas
field handlesSome(0)
gracefully by @zerosnacks in #1389 - chore: rm outdated comments by @mattsse in #1392
- fix: support u64 hex from str for BlockId by @mattsse in #1396
- Auto-impl
alloy_consensus::TxReceipt
for ref by @emhane in #1395 - Return static
Eip658Value
fromTxReceipt
trait method by @emhane in #1394 - Add supertrait alloy_consensus::Transaction to RPC TransactionResponse by @emhane in #1387
- test: make tests that require binaries in path CI only by @prestwich in #1393
- feat(consensus): bincode compatibility for header and transaction types by @shekhirin in #1397
New Contributors
- @Wollac made their first contribution in #1313
- @ryanschneider made their first contribution in #1310
- @garwahl made their first contribution in #1328
- @dastanbeksamatov made their first contribution in #1330
- @0x00101010 made their first contribution in #1352
- @gnapoli23 made their first contribution in #1381
- @KolbyML made their first contribution in #1372
Full Changelog: v0.3.6...v0.4.0
v0.3.6
What's Changed
- fix:
eth_simulateV1
by @klkvr in #1289 - chore(engine):
no_std
Checks by @refcell in #1298 - fix(types-eth): Optional Alloy Serde by @refcell in #1284
- refactor: separate transaction builders for tx types by @klkvr in #1259
- feat(
node-bindings
): support appending extra args by @yash-atreya in #1299 - feat: add types for flat call tracer by @mattsse in #1292
- feat: add blob and proof v1 by @mattsse in #1300
- chore(rpc): rename witness fields by @rkrasiuk in #1293
- feat(transport-http): layer client by @yash-atreya in #1227
- feat(rpc-types-beacon):
SignedBidSubmissionV4
by @rkrasiuk in #1303 - feature: ProviderCall by @prestwich in #788
- feat: add block num hash helper by @mattsse in #1304
Full Changelog: v0.3.5...v0.3.6
v0.3.5
v0.3.4
What's Changed
- chore(network-primitives): Remove alloc Vec Dep by @refcell in #1267
- chore(consensus): Alloc by Default by @refcell in #1272
- chore(consensus): Remove Header Method by @refcell in #1271
- consensus: implement
seal
helper forHeader
by @tcoratger in #1269 - fix: serde for
eth_simulateV1
by @klkvr in #1273 - feat: no_std eth rpc types by @refcell in #1252
- chore: swap
BlockHashOrNumber
alias and struct name by @PanGan21 in #1270 - feat(engine): no_std engine types by @refcell in #1268
- Add trait methods
cumulative_gas_used
andstate_root
toReceiptResponse
by @emhane in #1275 - feat: add serde for NumHash by @mattsse in #1277
- feat: improve node bindings by @zerosnacks in #1279
- fix:
debug_traceCallMany
andtrace_callMany
by @zerosnacks in #1278 - chore: remove eth rpc types dep from engine types by @mattsse in #1280
- feat(alloy-rpc-types-eth): Optional serde by @refcell in #1276
- feat(engine): Optional Serde by @refcell in #1283
Full Changelog: v0.3.3...v0.3.4
v0.3.3
What's Changed
- feat(rpc-types-trace): always serialize result if no error by @jsvisa in #1258
- consensus: implement
AsRef
forHeader
by @tcoratger in #1260 - fix(rpc-types-trace): use rpc-types Log in OtsReceipt by @yash-atreya in #1261
- test: dont use fork test by @mattsse in #1263
- chore: swap BlockNumHash alias and struct name by @mattsse in #1265
- chore: require destination for 7702 by @mattsse in #1262
Full Changelog: v0.3.2...v0.3.3
v0.3.2
What's Changed
- chore: derive more default features false by @mattsse in #1230
- feat(network-primitives): expose more fields via block response traits by @yash-atreya in #1229
- feat(rpc-types-engine): add forkchoice state zero helpers by @Rjected in #1231
- consensus: implement
Arbitrary
forHeader
by @tcoratger in #1235 - consensus: impl parent_num_hash for Header by @tcoratger in #1238
- consensus: impl
is_zero_difficulty
forHeader
by @tcoratger in #1236 - consensus: impl
exceeds_allowed_future_timestamp
forHeader
by @tcoratger in #1237 - chore: optional derive more by @mattsse in #1239
- feat: add Reth node bindings by @zerosnacks in #1092
- chore(eip1898): display
RpcBlockHash
by @emhane in #1242 - feat(rpc-types-eth): AnyBlock by @yash-atreya in #1243
- fix(consensus): Remove Unused Alloc Vecs by @refcell in #1250
- feat: no_std network primitives by @refcell in #1248
- dep: bump tower to 0.5 by @tcoratger in #1249
- rpc: add getter trait methods to
ReceiptResponse
by @tcoratger in #1251 - chore: add helpers for beacon blob bundle by @mattsse in #1254
- chore: add aliases for Num Hash by @mattsse in #1253
Full Changelog: v0.3.1...v0.3.2
alloy v0.3.1
What's Changed
- chore(features): enable
consensus
andnetwork
along withproviders
by @klkvr in #1207 - feat(alloy-provider): add abstraction for
NonceFiller
behavior by @StackOverflowExcept1on in #1108 - fix: value of TxEip1559.ty by @bbjubjub2494 in #1210
- docs: update version by @MistApproach in #1211
- chore(README): Add a link to
rpc-types-debug
by @moricho in #1212 - eip7702: implement
tx_type
forTxEip7702
by @tcoratger in #1214 - eip7702: derive
arbitrary::Arbitrary
forTxEip7702
by @tcoratger in #1216 - bump rust msrv to 1.78 by @tcoratger in #1219
- eip7702: rm useless methods for
TxEip7702
by @tcoratger in #1221 - fix(eips): no-std compat by @refcell in #1222
- feat: workflow to validate no_std compatibility by @refcell in #1223
- fix: Anvil builder default port by @MistApproach in #1213
- feat(
json-rpc
): implement From U256 and String for SubId by @Evalir in #1226
New Contributors
- @bbjubjub2494 made their first contribution in #1210
- @MistApproach made their first contribution in #1211
- @refcell made their first contribution in #1222
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- chore: add payloadbodies v2 to capabilities set by @mattsse in #1025
- chore: fix unnameable types by @DaniPopes in #1029
- chore: trace output utils by @DaniPopes in #1027
- feat: add rpc namespace by @SozinM in #994
- fix(eip7702): Add correct rlp decode/encode by @rakita in #1034
- feat: add hash for 7702 by @mattsse in #1037
- feat(genesis): rm EIP150Hash by @jsvisa in #1039
- feat: add arbitrary to auth by @mattsse in #1036
- chore: remove proptest in all crates and Arbitrary derives by @Rjected in #966
- feat: add
rpc-types-mev
feature to meta crate by @leruaa in #1040 - feat: generate valid signed auth signatures by @Rjected in #1041
- fix: cargo fmt by @jsvisa in #1044
- chore(deps): bump Trezor client to
=0.1.4
to fix signing bug by @zerosnacks in #1045 - feat(otterscan): add ots slim block and serialze OperationType to int by @jsvisa in #1043
- fix(admin): id in NodeInfo is string instead of B256 by @jsvisa in #1038
- feat(core): update core version by @0xfourzerofour in #1049
- feat: impl
arbitrary
for tx structs by @leruaa in #1050 - chore: make auth mandatory in recovered auth by @mattsse in #1047
- fix(provider): Do not overflow LRU cache capacity in ChainStreamPoller by @popzxc in #1052
- feat: add authorization list to rpc transaction and tx receipt types by @PanGan21 in #1051
- feat(rpc-types-eth): serde flatten
BlobTransactionSidecar
in tx req by @yash-atreya in #1054 - feat: add 7702 tx type by @mattsse in #1046
- refactor: replace
U64
withu64
by @yash-atreya in #1057 - fix: require storageKeys value broken bincode serialization from #955 by @jtguibas in #1058
- fix(provider): Prevent panic from having 0 keys when calling
on_anvil_with_wallet_and_config
by @moricho in #1055 - feat: expose encoded_len_with_signature() by @leruaa in #1063
- fix: Trim conflicting key
max_fee_per_blob_gas
from Eip1559 tx type by @moricho in #1064 - docs: update links to use docs.rs by @DaniPopes in #1066
- chore: bump jsonrpsee 0.24 by @mattsse in #1067
- feat(provider) : introduction to eth_sendRawTransactionConditional RPC endpoint type by @DoTheBestToGetTheBest in #1009
- bug:
alloy-consensus
should usealloy_primitives::Sealable
by @zerosnacks in #1072 - Added stages to the sync info rpc type by @loocapro in #1079
- removing async get account by @loocapro in #1080
- fix(node-bindings): backport fix from ethers-rs by @StackOverflowExcept1on in #1081
- feat(consensus): add
From<ConsolidationRequest>
forRequest
by @tcoratger in #1083 - fix(eips): make SignedAuthorizationList arbitrary less fallible by @Rjected in #1084
- chore: export rpc account type by @mattsse in #1075
- chore : fix typos by @nkysg in #1087
- feat(json-rpc): implement
From<u64> for Id
andFrom<String> for Id
by @tcoratger in #1088 - feat(eip): make 7702 auth recovery fallible by @DoTheBestToGetTheBest in #1082
- feat(rpc-type-eth) convert vec TxReq to bundle by @DoTheBestToGetTheBest in #1091
- feat(rpc/trace): filter matches with trace by @jsvisa in #1090
- typo: fix typo in genesis by @tcoratger in #1096
- feat: enable more features transitively in meta crate by @DaniPopes in #1097
- feat: add helper for decoding custom errors by @klkvr in #1098
- Feat: eth_simulateV1 Request / Response types by @DoTheBestToGetTheBest in #1042
- feat: use EncodableSignature for tx encoding by @leruaa in #1100
- chore: allow override all group by @mattsse in #1104
- fix: correctly trim eip7251 bytecode by @onbjerg in #1105
- refactor: add network-primitives by @klkvr in #1101
- chore: re-export and document network-primitives by @DaniPopes in #1107
- fix: make Parity TraceResults output optional by @m1stoyanov in #1102
- rpc: derive arbitrary for
TransactionRequest
by @tcoratger in #1113 - docs: readme fix by @hbdgr in #1114
- feat(engine-types):
PayloadError::PrePragueBlockWithEip7702Transactions
by @rkrasiuk in #1116 - Add
AccessListResult
type (EIP-2930) by @mvares in #1110 - chore: correctly cfg unused type by @DaniPopes in #1117
- chore(rpc): Make
Deserialize
impl forFilterChanges
generic over transaction by @emhane in #1118 - Make
alloy_rpc_types_eth::SubscriptionResult
generic over tx by @emhane in #1123 - feat: add authorization list to TransactionRequest by @DoTheBestToGetTheBest in #1125
- Add conversion from BlockHashOrNumber to BlockId by @emhane in #1127
- fix(rpc): show data in when cast send result in custom error by @cuiweixie in #1129
- chore(dep): feature gate jwt in engine types by @mattsse in #1131
- TxRequest into EIP-4844 without sidecar by @Dinonard in #1093
- fix: use
BlockId
superset overBlockNumberOrTag
where applicable by @zerosnacks in #1135 - chore(eip7702): devnet3 changes by @onbjerg in #1056
- feat: Add 7702 tx enum by @moricho in #1059
- chore: add missing 7702 check by @mattsse in #1137
- feat: make signature methods generic over EncodableSignature by @leruaa in #1138
- fix(doc): correct order of fields by @roynalnaruto in #1139
- rpc-types-eth: rm
PeerCount
by @tcoratger in #1140 - chore(deps): bump some deps by @DaniPopes in #1141
- Export types engine default features by @grandizzy in #1143
- chore: JSON-RPC 2.0 spelling by @DaniPopes in #1146
- fix: return more user-friendly error on tx timeout by @klkvr in #1145
- fix(rpc-types-eth): match 7702 in TxReceipt.status() by @yash-atreya in #1149
- feat(geth/trace): add field log.position by @jsvisa in #1150
- TxEip7702: add payload length methods by @tcoratger in #1152
- fix: remove
OtherFields
from Transaction and Block by @klkvr in #1154 - chore: remove async_trait from NetworkWallet by @DaniPopes in #1160
- fix: allow arbitrary strings in subscription ids by @klkvr in #1163
- feat: add get raw transaction by hash by @mattsse in #1168
- feat: network-parameterized block responses by @klkvr in #1106
- update TxType comment by @nkysg in #1175
- Add trait methods for constructing
alloy_rpc_types_eth::Transaction
toalloy_consensus::Transaction
by @emhane in #1172 - feat(rpc-types):
debug_executionWitness
by @shekhirin in #1178 - test: flaky rpc by @mattsse in #1180
- fix: use
server_id
when unsubscribing by @klkvr in #1182 - feat: make block struct generic over header type by @mvares in #1179
- fix: add missing op fields by @mattsse in #1187
- chore: add deposit receipt version by @mattsse in #1188
- Add emhane to codeowners by @emhane in #1189
- fix: change generics or...
alloy v0.2.1
What's Changed
- docs: update links to use docs.rs by @DaniPopes in #1066
- chore: bump jsonrpsee 0.24 by @mattsse in #1067
- feat(provider) : introduction to eth_sendRawTransactionConditional RPC endpoint type by @DoTheBestToGetTheBest in #1009
- bug:
alloy-consensus
should usealloy_primitives::Sealable
by @zerosnacks in #1072 - Added stages to the sync info rpc type by @loocapro in #1079
- removing async get account by @loocapro in #1080
- fix(node-bindings): backport fix from ethers-rs by @StackOverflowExcept1on in #1081
- feat(consensus): add
From<ConsolidationRequest>
forRequest
by @tcoratger in #1083 - fix(eips): make SignedAuthorizationList arbitrary less fallible by @Rjected in #1084
- chore: export rpc account type by @mattsse in #1075
- chore : fix typos by @nkysg in #1087
- feat(json-rpc): implement
From<u64> for Id
andFrom<String> for Id
by @tcoratger in #1088 - feat(eip): make 7702 auth recovery fallible by @DoTheBestToGetTheBest in #1082
- feat(rpc-type-eth) convert vec TxReq to bundle by @DoTheBestToGetTheBest in #1091
- feat(rpc/trace): filter matches with trace by @jsvisa in #1090
- typo: fix typo in genesis by @tcoratger in #1096
- feat: enable more features transitively in meta crate by @DaniPopes in #1097
- feat: add helper for decoding custom errors by @klkvr in #1098
- Feat: eth_simulateV1 Request / Response types by @DoTheBestToGetTheBest in #1042
- feat: use EncodableSignature for tx encoding by @leruaa in #1100
- chore: allow override all group by @mattsse in #1104
- fix: correctly trim eip7251 bytecode by @onbjerg in #1105
- refactor: add network-primitives by @klkvr in #1101
- chore: re-export and document network-primitives by @DaniPopes in #1107
- fix: make Parity TraceResults output optional by @m1stoyanov in #1102
- rpc: derive arbitrary for
TransactionRequest
by @tcoratger in #1113 - docs: readme fix by @hbdgr in #1114
- feat(engine-types):
PayloadError::PrePragueBlockWithEip7702Transactions
by @rkrasiuk in #1116 - Add
AccessListResult
type (EIP-2930) by @mvares in #1110 - chore: correctly cfg unused type by @DaniPopes in #1117
- chore(rpc): Make
Deserialize
impl forFilterChanges
generic over transaction by @emhane in #1118
New Contributors
- @m1stoyanov made their first contribution in #1102
- @hbdgr made their first contribution in #1114
- @mvares made their first contribution in #1110
- @emhane made their first contribution in #1118
Full Changelog: v0.2.0...v0.2.1
alloy v0.2.0
What's Changed
- chore: add payloadbodies v2 to capabilities set by @mattsse in #1025
- chore: fix unnameable types by @DaniPopes in #1029
- chore: trace output utils by @DaniPopes in #1027
- feat: add rpc namespace by @SozinM in #994
- fix(eip7702): Add correct rlp decode/encode by @rakita in #1034
- feat: add hash for 7702 by @mattsse in #1037
- feat(genesis): rm EIP150Hash by @jsvisa in #1039
- feat: add arbitrary to auth by @mattsse in #1036
- chore: remove proptest in all crates and Arbitrary derives by @Rjected in #966
- feat: add
rpc-types-mev
feature to meta crate by @leruaa in #1040 - feat: generate valid signed auth signatures by @Rjected in #1041
- fix: cargo fmt by @jsvisa in #1044
- chore(deps): bump Trezor client to
=0.1.4
to fix signing bug by @zerosnacks in #1045 - feat(otterscan): add ots slim block and serialze OperationType to int by @jsvisa in #1043
- fix(admin): id in NodeInfo is string instead of B256 by @jsvisa in #1038
- feat(core): update core version by @0xfourzerofour in #1049
- feat: impl
arbitrary
for tx structs by @leruaa in #1050 - chore: make auth mandatory in recovered auth by @mattsse in #1047
- fix(provider): Do not overflow LRU cache capacity in ChainStreamPoller by @popzxc in #1052
- feat: add authorization list to rpc transaction and tx receipt types by @PanGan21 in #1051
- feat(rpc-types-eth): serde flatten
BlobTransactionSidecar
in tx req by @yash-atreya in #1054 - feat: add 7702 tx type by @mattsse in #1046
- refactor: replace
U64
withu64
by @yash-atreya in #1057 - fix: require storageKeys value broken bincode serialization from #955 by @jtguibas in #1058
- fix(provider): Prevent panic from having 0 keys when calling
on_anvil_with_wallet_and_config
by @moricho in #1055 - feat: expose encoded_len_with_signature() by @leruaa in #1063
- fix: Trim conflicting key
max_fee_per_blob_gas
from Eip1559 tx type by @moricho in #1064
New Contributors
- @0xfourzerofour made their first contribution in #1049
- @jtguibas made their first contribution in #1058
Full Changelog: v0.1.4...v0.2.0