Commit Graph

95 Commits

Author SHA1 Message Date
50ee497c75 feat: use new ChainHardforks type on ChainSpec (#9065) 2024-06-27 17:39:35 +00:00
ed9f36b54f feat: calc block base reward use block number only (#8876)
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-17 17:38:54 +00:00
2a5c93fab3 chore: use reth_chainspec where possible (#8891) 2024-06-17 16:09:09 +00:00
22d7f3369f fix: re-add validate_against_parent_4844 to optimism header validation (#8835) 2024-06-15 17:10:09 +00:00
68e902db2e chore: move header validation from reth-primitives to consensus crates (#8802) 2024-06-14 11:21:45 +00:00
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
0cb5358fef chore: use noop consensus for op import (#8462) 2024-05-29 13:13:04 +00:00
fe823cba7e chore: rm reth-interfaces from consensus (#8461) 2024-05-29 10:48:02 +00:00
3e7f1377ed fix(op): filter out receipts for dup txns (#8400) 2024-05-28 16:53:43 +00:00
b4a1b733c9 feat: implement EIP-7685 (#8424)
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-05-28 14:06:28 +00:00
f45ca74772 refactor(consensus, evm): move post-execution validation to consensus (#8321) 2024-05-22 17:20:14 +00:00
c97963b354 fix(op): skip tx root validation for filtered out dup txns (#8316) 2024-05-21 11:17:18 +00:00
5100ddd28e fix: prevent CREATE tx for EIP-4844 types (#8291)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-05-21 08:45:23 +00:00
12f1e9c944 chore: remove validate_block_regarding_chain (#8224) 2024-05-13 14:07:37 +00:00
bcb0bff382 chore: rm redundant optimism feature (#8136) 2024-05-07 15:28:42 +00:00
8e65cb3aa5 Bump evm-inspectors and alloy (#8006) 2024-04-30 21:07:41 +00:00
d9faaa80cf chore: rm unused consensus fns (#7972) 2024-04-29 21:45:21 +00:00
d833f1aed9 feat: add new crate op-beacon-core (#7848)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-26 10:15:07 +00:00
1c17f08ad2 Replace TransactionKind with alloy_primitives::TxKind (#7859) 2024-04-25 12:50:04 +00:00
6d2e20cd85 chore: Move consensus trait to standalone crate (#7757)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-23 11:50:19 +00:00
c9e326185a chore: rm match arm for op deposit (#7324) 2024-03-25 16:19:22 +00:00
94954593ef Check that excess_blob_gas is a multiple of data_gas_per_blob (#7160) 2024-03-15 16:46:12 +00:00
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +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
5e2cac442f 0x/rm unused dep (#6899)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-01 11:34:31 +00:00
9468527aad chore: remove unused dependencies to speed up building time (#6882)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-02-29 15:10:20 +00:00
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
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
2c119b8d0b Encapsulate validate_header_regarding_parent inside SealedHeader (#6404) 2024-02-06 16:58:42 +00:00
6c1263e000 fix(tracing): prioritize RUST_LOG and verbosity CLI arg (#6413) 2024-02-05 19:42:32 +00:00
62303cb06f chore: improve Withdrawals interface (#6401) 2024-02-05 11:42:22 +00:00
55fae2ca9c Add Withdrawals struct (#6267) 2024-02-01 17:57:50 +00:00
f56ee798c0 fix(evm): constantinople hardfork reward adjustment (#6263) 2024-01-28 17:54:36 +00:00
a30d149b05 add ensure_transaction_root_valid method for SealedBlock (#6163) 2024-01-22 19:03:28 +00:00
8dee877fb9 remove unused consensus full_validation method (#6164) 2024-01-22 19:01:51 +00:00
18bf17e9b5 add is_timestamp_in_past and exceeds_allowed_future_timestamp for Header (#6160) 2024-01-22 16:44:07 +00:00
3cf0e3a955 add minimum check in check_gas_limit with unit test (#6157)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-22 16:25:08 +00:00
3ce9fcf7e5 add alloy_chains (#5952)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-12 14:43:55 +00:00
9aa44093cf lints: move top-level lints to [workspace.lints] manifest table (#5935) 2024-01-04 13:38:02 +00:00
e341f47a16 fmt: add a space between inner doc-comments and following items (#5880) 2023-12-28 15:52:20 +00:00
325bc496f9 fix: mark pre-4844 blob txs as invalid in consensus (#5850) 2023-12-22 16:58:50 +00:00
8fb6ed9cc5 fix(consensus): correct the fork name for validating 1559 transaction (#5849) 2023-12-22 16:36:04 +00:00
b2be07aa38 feat(op-reth): Canyon - Dynamic eip1559 params (#5542) 2023-11-27 17:26:01 +00:00
30dfc070e1 chore(provider): migrate providers to ProviderError (#5473) 2023-11-17 14:07:28 +00:00
eadbe5dce9 feat(provider): HeaderProvider::sealed_headers_while (#5470) 2023-11-17 10:21:35 +00:00
a389a2b42d feat: search for a snapshot that fulfills a queried BlockHash or TxHash (#5373)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-11-15 16:53:28 +00:00
8ecd90b884 feat(consensus): support test for check_gas_limit function (#5329) 2023-11-14 17:35:43 +00:00
f061363e63 Fix wrong check regarding EIP-155 (#5421) 2023-11-14 13:49:01 +00:00
f8ceda9ea8 chore: reduce size of common types (#5304) 2023-11-06 12:45:20 +00:00
52670a8b24 feat: op-reth (#4377)
Co-authored-by: Roberto Bayardo <bayardo@alum.mit.edu>
Co-authored-by: refcell.eth <abigger87@gmail.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: refcell <refcell@oplabs.co>
Co-authored-by: nicolas <48695862+merklefruit@users.noreply.github.com>
2023-11-05 17:33:42 +00:00