Releases: alloy-rs/alloy
Releases · alloy-rs/alloy
v0.6.1
v0.6.0
What's Changed
- rpc: impl
From<Sealed<alloy_consensus::Header>>
forHeader
by @tcoratger in #1532 - consensus: fix
HOLESKY_GENESIS_HASH
by @tcoratger in #1555 - eip1898: add unit tests to secure all conversions and impl by @tcoratger in #1544
- eips: rm
BEACON_CONSENSUS_REORG_UNWIND_DEPTH
by @tcoratger in #1556 - chore: add blockbody default by @mattsse in #1559
- eips: add missing unit test for
MIN_PROTOCOL_BASE_FEE
by @tcoratger in #1558 - feat(eips): Indexed Blob Hash by @refcell in #1526
- rpc: add
uncle_block_from_header
impl and test by @tcoratger in #1554 - docs: expand on what
Requests
contains by @onbjerg in #1564 - consensus: implement
root_slow
forReceipts
by @tcoratger in #1563 - rpc: add
BadBlock
type todebug_getbadblocks
return type by @EdwardJES in #1566 - feat: make eth_call and eth_estimateGas default to using Pending block by @prestwich in #1568
- fix: enable std with jwt by @mattsse in #1569
- feat: introduce
anvil_reorg
and related types. by @yash-atreya in #1576 - fix: make a sensible encoding api by @prestwich in #1496
- feat: embed consensus header into RPC by @klkvr in #1573
- fix: relay types by @klkvr in #1577
- feat(consensus): Protected Legacy Signature by @refcell in #1578
- fix(alloy-provider):
get_block_by_number
arg by @steph-rs in #1582 - test: fix tests by @onbjerg in #1583
- chore(meta): update SECURITY.md by @DaniPopes in #1584
- fix(
provider
): returnSubscription<N::HeaderResponse>
by @yash-atreya in #1586 - fix: clearer replay protection checks by @prestwich in #1581
- chore(deps): bump alloy-rlp requirement by @DaniPopes in #1587
- ci: add success job by @DaniPopes in #1589
- chore(deps): bump wasmtimer by @DaniPopes in #1588
- fix: update AnyNetwork type aliases by @klkvr in #1591
- feat: add impl From for AnyHeader by @klkvr in #1592
- feat: make Otterscan types generic over header by @klkvr in #1593
- fix: add more rlp correctness checks by @klkvr in #1595
- fix: RLP for
TxEip4844
by @klkvr in #1596 - feat: make more Otterscan types generic over header by @klkvr in #1594
- fix: Fix typo in RecommendedFillers associated type by @popzxc in #1536
- Embed TxEnvelope into
rpc-types-eth::Transaction
by @prestwich in #1460 - consensus: rm
Receipts
root_slow
unused method by @tcoratger in #1567 - chore: move txtype-specific builders to network-primitives by @klkvr in #1602
- fix: hash handling by @klkvr in #1604
- feat: implement Arbitrary for transaction types by @klkvr in #1603
- fix(signer-ledger): use
SIGN_ETH_EIP_712
instruction by @Karrq in #1479 - feat: use
OtherFields
onUnknownTypedTransaction
by @klkvr in #1605 - chore: fix some compile issues for no-std test by @mattsse in #1606
- feat: serde helpers for hashmaps and btreemaps with quantity key types by @stevencartavia in #1579
- chore: misc clippy by @mattsse in #1607
- fix: receipt status serde by @klkvr in #1608
- fix: serde for
AnyTxEnvelope
by @klkvr in #1613 - rpc: small refactor for
JwtSecret
by @tcoratger in #1611 - refactor(genesis): small refactor by @tcoratger in #1618
- serde: add unit tests for
OtherFields
by @tcoratger in #1614 - feat: integrate signature with boolean parity by @klkvr in #1540
- consensus: rm useless
len
var inrlp_encoded_fields_length
by @tcoratger in #1612 - refactor(signer): small refactor in signer utils by @tcoratger in #1615
- test(json-rpc): add unit tests for
Id
by @tcoratger in #1617 - test(transport): add unit tests for
Authorization
methods by @tcoratger in #1616 - test(network-primitives): add unit tests for
BlockTransactions
by @tcoratger in #1619 - fix(
provider
): makeCaller
EthCall
specific by @yash-atreya in #1620 - feat(rpc-types-trace/parity): add creationMethod for create action by @jsvisa in #1621
- eip5792: use
ChainId
inWalletCapabilities
by @tcoratger in #1622 - feat(
serde
): StorageKeyKind by @yash-atreya in #1597 - chore: make withdrawals pub by @mattsse in #1623
- fix: wrap dashmap in Arc by @mattsse in #1624
- chore: add default to payloadattributes by @mattsse in #1625
New Contributors
- @EdwardJES made their first contribution in #1566
- @steph-rs made their first contribution in #1582
- @Karrq made their first contribution in #1479
- @stevencartavia made their first contribution in #1579
Full Changelog: v0.5.4...v0.6.0
v0.5.3
What's Changed
- chore: remove self from codeowners by @prestwich in #1498
- tests: fix more ci only by @prestwich in #1402
- fix: maybetagged serde for typed transaction by @prestwich in #1495
- fix(filter): treat null fields as null by @jsvisa in #1529
- docs(prestate): comment prestate more clear by @jsvisa in #1527
- consensus: use
Withdrawals
wrapper inBlockBody
by @tcoratger in #1525 - eip7685: add unit tests and reduce paths by @tcoratger in #1531
- feat: derive serde for
ExecutionPayloadSidecar
by @onbjerg in #1535 - small refactor with
then_some
by @tcoratger in #1533 - fix: correct implementations of Encodable and Decodable for sidecars by @prestwich in #1528
- eips: impl
From<RpcBlockHash>
forBlockId
by @tcoratger in #1539 - consensus: add
Debug
trait bound forTransaction
trait by @tcoratger in #1543 - chore: bump alloy-eip7702 by @klkvr in #1547
- feat(rpc-types-trace/prestate): support disable_{code,storage} by @jsvisa in #1538
Full Changelog: v0.5.2...v0.5.3
v0.5.0
What's Changed
- chore: apply same member order by @mattsse in #1408
- feat: add helper from impl by @mattsse in #1407
- feat(rpc-types-mev): Add support for
Bundle
insideBundleItem
by @SkandaBhat in #1418 - feat(rpc-types-mev): add mev-share sse types by @SkandaBhat in #1419
- fix: set chain id for eth signer by @mattsse in #1425
- test(node-bindings): consolidate integration tests by @DaniPopes in #1422
- feat: re-export more features from alloy-core by @DaniPopes in #1423
- chore(rpc): make TransactionRequest conversions exhaustive by @DaniPopes in #1427
- fix(provider): use wasmtimer for wasm32 target by @b-zee in #1426
- fix: enforce correct parity for legacy transactions by @klkvr in #1428
- feat:
Encodable2718::network_len
by @klkvr in #1431 - feat(eips): Arbitrary BaseFeeParams by @refcell in #1432
- feat: add helpers to configure GethDebugTracingOptions properly by @mattsse in #1436
- chore(deny): allow Zlib by @yash-atreya in #1438
- fix(rpc-client): use wasm-compatible sleep by @b-zee in #1437
- Replace assert_eq! with similar_asserts::assert_eq! by @0xriazaka in #1429
- chore: fmt by @DaniPopes in #1439
- fix(eips): Blob Sidecar Item Serde by @refcell in #1441
- feat(provider): LRUCache Layer by @yash-atreya in #954
- Add default to payload id by @cody-wang-cb in #1442
- fix: proposer_index rustdoc by @liamaharon in #1443
- revert test: update test cases with addresses (#1358) by @mattsse in #1444
- chore(rpc): make keys required for execution witness by @0x00101010 in #1446
- GenesisAccount : implement
deserialize_private_key
by @tcoratger in #1447 - fix: enable serde on alloy-consensus by @prestwich in #1449
- feat: BuildTransactionErr abstract over builder type by @prestwich in #1452
- chore: use pending for next initial nonce by @mattsse in #1455
- fix: Make RecommendedFillers generic over Network by @popzxc in #1458
- chore: some small improvements by @tcoratger in #1461
- chore: rm needless pass by ref mut by @tcoratger in #1465
- chore: remove redundant else by @tcoratger in #1468
- chore: some lifetime simplifications by @tcoratger in #1467
- chore: more simplifications by @tcoratger in #1469
- chore: update eip-7251 bytecode and address by @onbjerg in #1380
- fix: Change bound in RecommendedFillers to TxFiller by @popzxc in #1466
- fix: remove signature assoc type from tx response trait by @prestwich in #1451
- eip6110: add more unit tests by @tcoratger in #1464
- chore: unify use Option ref by @nkysg in #1477
- fix(types/filter): treat empty filter address as non-matching by @jsvisa in #1473
- chore(consensus): test use Vec::with_capacity by @nkysg in #1476
- fix(wasm): support ws by @ethernomad in #1481
- consensus: replace
to
bykind
in Transaction trait by @tcoratger in #1484 - consensus: add more constraints to
TxReceipt
trait by @tcoratger in #1478 - eip7002: add unit tests for
WithdrawalRequest
by @tcoratger in #1472 - fix: types inside mev_calls.rs by @SkandaBhat in #1435
- refactor: change input output to Bytes by @prestwich in #1487
- fix: rename gas_limit to gas in serde def for txns by @prestwich in #1486
- fix: correct default impls to not bound T by @prestwich in #1490
- fix: allow missing-tag deser of tx envelope by @prestwich in #1489
- feat: From impl for variant by @prestwich in #1488
- chore: refactor some match with same arms by @tcoratger in #1463
- feat: add missing eth_getTransaction methods by @mattsse in #1457
- consensus: rm redundant root hash definitions by @tcoratger in #1501
- feat: make Pending transaction own the provider by @mattsse in #1500
- chore: rename requests root to requests hash by @onbjerg in #1379
- fix: use
requests_hash
by @onbjerg in #1508 - perf: manual serde for quantity vec by @mattsse in #1509
- eip7251: add unit tests for
ConsolidationRequest
by @tcoratger in #1497 - fix(
rpc-types-eth
): receipt deser by @yash-atreya in #1506 - feat: port generate_blob_sidecar by @mattsse in #1511
- eips: update fn encoded_2718 by @nkysg in #1475
- feat(eip4895): implement
Withdrawals
by @tcoratger in #1462 - feat: make it possible to configure Ws config by @1makarov in #1505
- chore: enable serde types dependencies in rpc-types by @mattsse in #1456
- feat: wallet namespace types by @nadtech-hub in #1448
- chore: flatten eip-7685 requests into a single opaque list by @onbjerg in #1383
- chore: update pectra system contracts bytecodes & addresses by @onbjerg in #1512
New Contributors
- @SkandaBhat made their first contribution in #1418
- @b-zee made their first contribution in #1426
- @0xriazaka made their first contribution in #1429
- @cody-wang-cb made their first contribution in #1442
- @liamaharon made their first contribution in #1443
- @ethernomad made their first contribution in #1481
- @1makarov made their first contribution in #1505
- @nadtech-hub made their first contribution in #1448
Full Changelog: v0.4.2...v0.5.0
v0.4.1
What's Changed
- fix: safe match for next base fee by @mattsse in #1399
- chore(consensus): less derives for bincode compatible types by @shekhirin in #1401
- feat(consensus): bincode compatibility for EIP-7702 by @shekhirin in #1404
Full Changelog: v0.4.0...v0.4.1
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