chainwayxyz / citrea

Citrea, Bitcoin's First ZK Rollup 🍊🍋
https://citrea.xyz
GNU General Public License v3.0
73 stars 13 forks source link

Commit using L2 ranges #831

Closed rakanalh closed 1 hour ago

rakanalh commented 2 days ago

Description

Commit from sequencer using L2 ranges

Note: Commenting out code was requested in the issue this PR resolves.

Linked Issues

codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 50.32680% with 76 lines in your changes missing coverage. Please review.

Project coverage is 78.2%. Comparing base (d06849d) to head (8933477). Report is 6 commits behind head on nightly.

Additional details and impacted files | [Files](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz) | Coverage Δ | | |---|---|---| | [crates/sequencer/src/commitment\_controller.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Fsequencer%2Fsrc%2Fcommitment_controller.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NlcXVlbmNlci9zcmMvY29tbWl0bWVudF9jb250cm9sbGVyLnJz) | `40.0% <ø> (ø)` | | | [crates/shared-backup-db/src/postgres\_connector.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Fshared-backup-db%2Fsrc%2Fpostgres_connector.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NoYXJlZC1iYWNrdXAtZGIvc3JjL3Bvc3RncmVzX2Nvbm5lY3Rvci5ycw==) | `99.5% <ø> (-0.5%)` | :arrow_down: | | [crates/shared-backup-db/src/tables.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Fshared-backup-db%2Fsrc%2Ftables.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NoYXJlZC1iYWNrdXAtZGIvc3JjL3RhYmxlcy5ycw==) | `76.6% <ø> (ø)` | | | [...reign-sdk/full-node/db/sov-db/src/ledger\_db/mod.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Fsovereign-sdk%2Ffull-node%2Fdb%2Fsov-db%2Fsrc%2Fledger_db%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NvdmVyZWlnbi1zZGsvZnVsbC1ub2RlL2RiL3Nvdi1kYi9zcmMvbGVkZ2VyX2RiL21vZC5ycw==) | `96.4% <100.0%> (+<0.1%)` | :arrow_up: | | [...reign-sdk/full-node/db/sov-db/src/ledger\_db/rpc.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Fsovereign-sdk%2Ffull-node%2Fdb%2Fsov-db%2Fsrc%2Fledger_db%2Frpc.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NvdmVyZWlnbi1zZGsvZnVsbC1ub2RlL2RiL3Nvdi1kYi9zcmMvbGVkZ2VyX2RiL3JwYy5ycw==) | `87.0% <100.0%> (-0.2%)` | :arrow_down: | | [...reign-sdk/full-node/db/sov-db/src/schema/tables.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Fsovereign-sdk%2Ffull-node%2Fdb%2Fsov-db%2Fsrc%2Fschema%2Ftables.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NvdmVyZWlnbi1zZGsvZnVsbC1ub2RlL2RiL3Nvdi1kYi9zcmMvc2NoZW1hL3RhYmxlcy5ycw==) | `89.7% <ø> (ø)` | | | [...sovereign-sdk/rollup-interface/src/node/rpc/mod.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Fsovereign-sdk%2Frollup-interface%2Fsrc%2Fnode%2Frpc%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NvdmVyZWlnbi1zZGsvcm9sbHVwLWludGVyZmFjZS9zcmMvbm9kZS9ycGMvbW9kLnJz) | `91.3% <100.0%> (ø)` | | | [...reign-sdk/rollup-interface/src/state\_machine/da.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Fsovereign-sdk%2Frollup-interface%2Fsrc%2Fstate_machine%2Fda.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NvdmVyZWlnbi1zZGsvcm9sbHVwLWludGVyZmFjZS9zcmMvc3RhdGVfbWFjaGluZS9kYS5ycw==) | `73.9% <ø> (ø)` | | | [crates/fullnode/src/runner.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Ffullnode%2Fsrc%2Frunner.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL2Z1bGxub2RlL3NyYy9ydW5uZXIucnM=) | `75.5% <80.9%> (+0.7%)` | :arrow_up: | | [crates/sequencer/src/sequencer.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree&filepath=crates%2Fsequencer%2Fsrc%2Fsequencer.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NlcXVlbmNlci9zcmMvc2VxdWVuY2VyLnJz) | `89.7% <64.7%> (-1.4%)` | :arrow_down: | | ... and [2 more](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz) | | ... and [6 files with indirect coverage changes](https://app.codecov.io/gh/chainwayxyz/citrea/pull/831/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz)