Skip to content

Commit

Permalink
test(pallet-market): unit tests publish_storage_deals
Browse files Browse the repository at this point in the history
  • Loading branch information
th7nder committed Jun 20, 2024
1 parent b87244f commit def51a1
Show file tree
Hide file tree
Showing 6 changed files with 322 additions and 113 deletions.
29 changes: 27 additions & 2 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async-channel = "2.3.1"
async-stream = "0.3.5"
base64 = "0.22.1"
bitflags = "2.5.0"
bs58 = { version = "0.5.1", default-features = false }
blake2b_simd = { version = "1.0.2" }
byteorder = "1.5.0"
bytes = "1.6.0"
chrono = "0.4.38"
Expand All @@ -53,6 +53,7 @@ ipld-dagpb = "0.2.1"
itertools = "0.13.0"
jsonrpsee = { version = "0.22.5" }
log = { version = "0.4.21", default-features = false }
multihash-codetable = { version = "0.1.1", default-features = false }
polkavm = "0.9.3"
polkavm-derive = "0.9.1"
polkavm-linker = "0.9.2"
Expand Down
4 changes: 3 additions & 1 deletion pallets/market/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
bs58 = { workspace = true, default-features = false }
cid = { workspace = true, default-features = false, features = ["scale-codec"] }
codec = { workspace = true, default-features = false, features = ["derive"] }
log = { workspace = true }
Expand All @@ -30,6 +29,9 @@ sp-arithmetic = { workspace = true, default-features = false }
sp-std = { workspace = true, default-features = false }

[dev-dependencies]
blake2b_simd = { workspace = true }
env_logger = { workspace = true }
multihash-codetable = { workspace = true, features = ["blake2b"] }
pallet-balances = { workspace = true, default-features = false }
sp-core = { workspace = true, default-features = false }
sp-io = { workspace = true }
Expand Down
Loading

0 comments on commit def51a1

Please sign in to comment.