Skip to content

Commit

Permalink
Update decoder (#589)
Browse files Browse the repository at this point in the history
* compiling

* use visitor of decoder

* its compiling

* fix test

* taplo fmt

* fix no-std build

* remove unused stuff

* update scale decode license

* remove bit-sequence file

* fix file headers

* clean up

* add print

* remove self impl scale-decode

* remove extra prinlt

* taplo fmt

* remove smallvec

* remove outdated comment

* fix no-std
  • Loading branch information
haerdib authored Jun 20, 2023
1 parent 319c94a commit b884bf3
Show file tree
Hide file tree
Showing 13 changed files with 1,057 additions and 1,557 deletions.
43 changes: 41 additions & 2 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions node-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ scale-info = { version = "2.0.1", features = ["derive", "decode", "bitvec"], def
serde = { version = "1.0.136", features = ["derive"], default-features = false }
serde_json = { version = "1.0.79", default-features = false, features = ["alloc"] }

# scale
scale-bits = { default-features = false, features = ["scale-info", "serde"], git = "https://github.com/haerdib/scale-bits.git", branch = "bh/no-std" }
scale-decode = { default-features = false, features = ["primitive-types"], git = "https://github.com/scs/scale-decode.git", branch = "no-std" }
scale-encode = { default-features = false, features = ["bits", "primitive-types"], git = "https://github.com/scs/scale-encode.git", branch = "no-std" }

# substrate
sp-core = { default-features = false, features = ["full_crypto", "serde"], git = "https://github.com/paritytech/substrate.git", branch = "master" }
sp-runtime = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/substrate.git", branch = "master" }
Expand Down
83 changes: 0 additions & 83 deletions node-api/src/decoder/bit_sequence.rs

This file was deleted.

Loading

0 comments on commit b884bf3

Please sign in to comment.