-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing docs for bank, prover-incentives, demo-rollup and const-r…
…ollup-config (#592) * WIP: Add optimsitic sync * WIP: implement chain state module * WIP: Add attester incentives * Can compile * Does compile * Start working on attester incentives * Implement attestation processing * Finish unbonding * Improve events * Rename sov-attester-incentives to optimistic-workflow * Refactor * Start working on apply_sync_data_blob * Refactoring apply_tx_blob * Refactoring files * Rewriting unbonding * Refactor attestation processing * Refactor process challenge * Refactoring * Fixing compile issues * Does compile * Everything compiles * Add 2 phase unbonding back * Updating tests * Changing bonding proof * Changing bonding proof * Fixing get_with_proof * Fixing chain updates * Missing docs bank * Missing docs prover-incentives * Missing docs const-rollup-config * demo-rollup missing docs, finish missing docs * Refactoring buf reader * Fixing lint error * Change STF interface to work on slot level * Removing Misbehavour hint from parameters * Fixing prover * Update docs * Adding chain state * Starting chain state * Fix lint * Fixing warnings * Integrating slot hooks * Populating todos * Adding data generation for different modules * Implementing automatic bank data generation * Fixing stf * Compiles * Fixing chain-state test, adding EncodeCall trait * Fixing lints * Chain state testing * Simple chain state module tests * All tests pass * Fixing lints * Fixing comments PR * Fixing comments PR * nit fix * Fixing PR comments * Deleting borsh compat * Adding missing_docs * Adding back github and config files * Specifying commit for jmt * Update module-system/sov-state/src/storage.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Fixing comments PR * Fix rpc macro * Fixing missing docs * Applying PR comments * Update adapters/risc0/src/host.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Update adapters/risc0/src/host.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Fixing error handling * Fixing lints * Fixing lints * Fix lints * Refactor buf reader * Fixing tests * Update rollup-interface/src/state_machine/mocks.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Addressing PR comments * Including PR comments * Update Cargo.toml Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Update adapters/risc0/src/guest.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Update adapters/risc0/src/host.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Update adapters/risc0/src/host.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Adding back genesis and call * Fix lints * Lint * Restoring default context * Fixing imports * Fixing prover compiles * Fix prover compiles * Fixing end slot hook * Reorganizing integration tests * Reorganizing integration tests * Adding unit tests for chain-state * Update chain state tests * Update apply slot signature * Fix demo-prover * Update adapters/risc0/src/guest.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Update adapters/risc0/src/host.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Fix lints * Format demo-prover * Fix feature data generators * Merge with chain-state and fix lints * Update examples/demo-stf/Cargo.toml Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Update adapters/risc0/src/guest.rs Co-authored-by: Nikolai Golub <nikolai@sovlabs.io> * Fixing pr comments * Fix lint * Fix doctests demo rollup * Add folder generated by README test to gitignore --------- Co-authored-by: Preston Evans <preston.b.evans@gmail.com> Co-authored-by: Nikolai Golub <nikolai@sovlabs.io>
- Loading branch information
1 parent
154cbbe
commit 4e5c2ff
Showing
22 changed files
with
633 additions
and
192 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
// The rollup stores its data in the namespace b"sov-test" on Celestia. | ||
/// The namespace used by the rollup to store its data. This is a raw slice of 8 bytes. | ||
/// The rollup stores its data in the namespace b"sov-test" on Celestia. Which in this case is encoded using the | ||
/// ascii representation of each character. | ||
pub const ROLLUP_NAMESPACE_RAW: [u8; 8] = [115, 111, 118, 45, 116, 101, 115, 116]; | ||
|
||
/// The DA address of the sequencer (for now we use a centralized sequencer) in the tests. | ||
/// Here this is the address of the sequencer on the celestia blockchain. | ||
pub const SEQUENCER_DA_ADDRESS: [u8; 47] = *b"celestia1w7wcupk5gswj25c0khnkey5fwmlndx6t5aarmk"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/target | ||
/demo_data | ||
/path_readme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
#![deny(missing_docs)] | ||
#![doc = include_str!("../README.md")] | ||
/// A very simple example of rollup configuration. | ||
pub mod rng_xfers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.