Skip to content

Commit

Permalink
Commitment rules (#863)
Browse files Browse the repository at this point in the history
* Simplify commitment controller

* Remove last commitment l1 height table

* Cleanup sequencer

* Invoke commitment after each L2 block

This would let commitment controller decide whether to go through with
the commitment or not.

* Unwrap or zero

* Logging

* Fix failing tests

* Disable risc0 logging

* Restore test logging

* Update zerovec-derive to resolve security issue

* Fix wait heights

* Cleanup test

* Rename LastSequencerCommitment table
  • Loading branch information
rakanalh authored Jul 9, 2024
1 parent 97c1d36 commit 624ff0a
Show file tree
Hide file tree
Showing 9 changed files with 158 additions and 354 deletions.
8 changes: 4 additions & 4 deletions bin/citrea/provers/risc0/guest-bitcoin/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions bin/citrea/provers/risc0/guest-mock/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bin/citrea/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub fn initialize_logging(level: Level) {
"alloy_transport_http=info".to_owned(),
// Limit output as much as possible, use WARN.
"risc0_zkvm=warn".to_owned(),
"risc0_circuit_rv32im=info".to_owned(),
"guest_execution=info".to_owned(),
"jsonrpsee-server=info".to_owned(),
"reqwest=info".to_owned(),
Expand Down
Loading

0 comments on commit 624ff0a

Please sign in to comment.