Skip to content

Commit

Permalink
Allow custom (de)serialization logic for #[state] (#648)
Browse files Browse the repository at this point in the history
* Allow custom state encodings

* Use Default::default to build codecs

* Improve tests for sov-modules-macros

* Stricter type bounds for better error messages

* Don't reexport sov_state::codec

* t.pass test
  • Loading branch information
neysofu authored Aug 15, 2023
1 parent 5b634a1 commit 99e234e
Show file tree
Hide file tree
Showing 16 changed files with 736 additions and 303 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion module-system/sov-modules-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ path = "tests/all_tests.rs"

[dev-dependencies]
serde_json = "1"
jsonrpsee = { workspace = true, features = ["macros", "http-client", "server"]}
tempfile = "3"
jsonrpsee = { workspace = true, features = ["macros", "http-client", "server"] }
trybuild = "1.0"

sov-modules-api = { path = "../sov-modules-api", version = "0.1", default-features = false }
Expand Down
Loading

0 comments on commit 99e234e

Please sign in to comment.