Commit Graph

85 Commits

Author SHA1 Message Date
Emilia Hane
f6e68e28eb feat(op): timestamp below bedrock (#7768) 2024-04-25 12:23:51 +00:00
Darshan Kathiriya
9a1d6ea9ca feat: base fee param fetching at a specific block (#7783) 2024-04-22 15:46:56 +00:00
Rupam Dey
d4a8ef92d7 refactor: replace ``calculate_next_block_base_fee`` with alloy's builtin function (#7641)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-15 21:58:54 +00:00
Thomas Coratger
c59c41701d Convert Header and Block rpc to primitives (#7660) 2024-04-15 19:30:35 +00:00
Rodrigo Herrera
96e3619ea9 use alloy's BaseFeeParams (2) (#7617)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-13 13:02:15 +00:00
Justin Traglia
709d8a16d3 Enable clippy's useless_let_if_seq linter (#7220)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-03-19 16:33:22 +00:00
Justin Traglia
3861bc05fa Enable clippy's derive_partial_eq_without_eq linter (#7203)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 22:33:53 +00:00
Håvard Anda Estensen
d2c8b77e64 perf: replace BytesMut with alloy_rlp::encode (#7087) 2024-03-14 12:11:20 +00:00
Matthias Seitz
81291ff0fb chore: more Vec over BytesMut (#7084) 2024-03-11 12:50:50 +00:00
DaniPopes
a1df972464 chore: remove most ethers mentions and code (#6999) 2024-03-06 14:38:15 +00:00
yjh
f5be92573c chore: use cache to determine hardfork (#6989)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-06 11:54:20 +00:00
Alexey Shekhirin
6b5b6f7a40 Breaking changes (#5191)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: joshieDo <ranriver@protonmail.com>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Thomas Coratger <thomas.coratger@gmail.com>
2024-02-29 12:37:28 +00:00
Supernovahs.eth
3519270c69 remove proptest specific encoding logic (#6503)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-02-28 21:45:51 +00:00
rakita
4b21cf610c fix(op): set optimism flag correctly (#6593) 2024-02-13 23:43:22 +00:00
yjh
29e8aab08a fix: sealed header should not be immutable borrowed (#6456) 2024-02-07 19:26:26 +00:00
Thomas Coratger
2c119b8d0b Encapsulate validate_header_regarding_parent inside SealedHeader (#6404) 2024-02-06 16:58:42 +00:00
Dan Cline
7f2167f1bd fix: set excess blob gas and blob gas used for empty payloads (#6328) 2024-02-01 17:11:46 +00:00
Thomas Coratger
18bf17e9b5 add is_timestamp_in_past and exceeds_allowed_future_timestamp for Header (#6160) 2024-01-22 16:44:07 +00:00
Dan Cline
bc229c67c9 fix: use proper decoding types in Header::decode (#6046) 2024-01-12 20:09:48 +00:00
rakita
ee199bb5db fmt: run nightly-2023-10-15 and remove semicolons (#6035) 2024-01-12 11:38:41 +00:00
Supernovahs.eth
d51375c4f3 refactor : Simplify is_some in Header (#5969) 2024-01-08 13:13:48 +00:00
Thomas Coratger
3038c3c7ba feat(header): add is_zero_difficulty util function for POS (#5966)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-07 11:29:00 +00:00
Thomas Coratger
e861f2b463 feat: add sanity_check implementation for block headers (#5863) 2023-12-27 12:42:08 +00:00
yjh
f96dc7e578 chore: remove BlockBodyRoots and reduce root calculation times (#5847)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-12-22 09:23:28 +00:00
Thomas Coratger
fb871bf3fa refactor: small refactoring for Header structure (#5801)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-12-18 08:15:33 +00:00
Arindam Singh
2144b97df0 reth-ethereum-forks crate (#5621)
Co-authored-by: root <root@Arindam>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-12-01 12:07:32 +00:00
DaniPopes
f8ceda9ea8 chore: reduce size of common types (#5304) 2023-11-06 12:45:20 +00:00
Thomas Coratger
dd6913cd98 feat(primitives): add _HASH suffix for constants hashes (#5175) 2023-10-25 14:07:21 +00:00
Thomas Coratger
98e03ee4e2 feat(primitives): clean up primitives proof.rs file (#5167) 2023-10-25 13:30:56 +00:00
Dan Cline
b1a7a871cd chore: bump revm (#4884)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-10-03 13:45:53 +00:00
DaniPopes
5f9a917fb1 feat: Alloy migration (#4737)
Co-authored-by: Alessandro Mazza <121622391+alessandromazza98@users.noreply.github.com>
Co-authored-by: Supernovahs.eth <91280922+supernovahs@users.noreply.github.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-09-28 15:55:39 +00:00
Thomas Coratger
4dbd8835e5 feat(primitives): remove mod ethers_compat (#4771) 2023-09-26 19:03:49 +00:00
Dan Cline
e83d3aa704 chore: bump revm (#4723) 2023-09-22 01:05:10 +00:00
Matthias Seitz
20455d0550 refactor: use revm blob fee calc (#4637) 2023-09-18 16:50:11 +00:00
Dan Cline
83987420f1 fix: use blob_fee to calculate blob_gas_used in receipts (#4523) 2023-09-08 11:27:33 +00:00
Matthias Seitz
97cf35673e feat: add blob fee calc functions (#4440) 2023-08-31 20:47:07 +00:00
Thomas Coratger
2e332b5c8d feat(primitives): add doc for parent_beacon_block_root in Header (#4415) 2023-08-30 22:26:45 +00:00
Dan Cline
0c7a93717a feat: add EIP-4788 parent_beacon_block_root to Header (#4299) 2023-08-29 17:55:13 +00:00
PatStiles
c412f3935d feat: add kzg_to_versioned_hash (#4085)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-08-10 17:56:03 +00:00
Roberto Bayardo
9569debbb5 feat: make base fee computation parameters configurable via chain spec (#3992) 2023-08-07 15:52:27 +00:00
Dan Cline
334d6068ad feat: add 4844 header fields and consensus checks (#3972) 2023-07-29 12:51:16 +00:00
Dan Cline
6934428be9 feat: better blocksize heuristics (#3748) 2023-07-15 22:36:39 +03:00
Dan Cline
596d32686c feat: download block ranges (#3416)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-06 11:33:14 +00:00
Matthias Seitz
f49feff5a7 chore: phase out some ethers usage (#3467) 2023-06-29 15:28:28 +00:00
Matthias Seitz
f7a35f09b5 chore: typos, rm oudated todos (#2962) 2023-06-02 13:41:31 +00:00
Matthias Seitz
71581abef5 chore: add SealedHeader::split (#2763) 2023-05-22 12:04:34 +02:00
rakita
435df44127 feat(tree): unconnected block buffering (#2397)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-28 23:46:45 +02:00
Matthias Seitz
9fb66ffeff chore: move next base fee to header impl (#2400) 2023-04-26 12:31:35 +02:00
rakita
237fd5ce6e feat: BlockchainTree (#1212)
Co-authored-by: Dragan Rakita <draganrakita@192.168.1.4>
2023-03-14 11:17:14 -07:00
Matthias Seitz
d7456dfc2f fix: initialize missing fields (#1448)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-18 15:25:58 -08:00