Skip to content

Commit

Permalink
Contracts: add test builders (#3796)
Browse files Browse the repository at this point in the history
Cleanup tests (-2.7k lines !) using some builder patterns to build
pallet_contracts api calls
  • Loading branch information
pgherveou authored Mar 28, 2024
1 parent 60846a0 commit 78b1cab
Show file tree
Hide file tree
Showing 4 changed files with 733 additions and 2,217 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.

1 change: 1 addition & 0 deletions substrate/frame/contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
paste = { version = "1.0", default-features = false }
bitflags = "1.3"
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
"derive",
Expand Down
Loading

0 comments on commit 78b1cab

Please sign in to comment.