Skip to content

Commit

Permalink
code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bkolad committed Jul 21, 2023
1 parent f29aea7 commit 06ddb1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions module-system/sov-modules-stf-template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ version = { workspace = true }
readme = "README.md"
resolver = "2"

[lib]
doctest = false

[dependencies]
anyhow = { workspace = true }
borsh = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions module-system/sov-modules-stf-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This crate contains an implementation of a `StateTransitionFunction` called `AppTemplate` that is specifically designed to work with the Module System. The `AppTemplate` relies on a set of traits that, when combined, define the logic for transitioning the rollup state.

```rust
```rust ignore
pub struct AppTemplate<C: Context, RT, Vm> {
pub current_storage: C::Storage,
pub runtime: RT,
Expand Down Expand Up @@ -35,7 +35,7 @@ where

Both the `DispatchCall` and `Genesis` traits can be automatically derived (see `RT` in the above snippet) for any set of modules:

```rust
```rust ignore
#[derive(Genesis, DispatchCall, MessageCodec)]
#[serialization(borsh::BorshDeserialize, borsh::BorshSerialize)]
pub struct Runtime<C: Context> {
Expand Down

0 comments on commit 06ddb1b

Please sign in to comment.