Skip to content

Commit

Permalink
refactor: replace fungible token example sim tests with workspaces (#699
Browse files Browse the repository at this point in the history
)
  • Loading branch information
itegulov committed Jan 27, 2022
1 parent ea8c1f4 commit 5dee86c
Show file tree
Hide file tree
Showing 10 changed files with 1,496 additions and 2,359 deletions.
2,905 changes: 1,078 additions & 1,827 deletions examples/fungible-token/Cargo.lock

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions examples/fungible-token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ authors = ["Near Inc <hello@nearprotocol.com>"]
edition = "2018"

[dev-dependencies]
anyhow = "1.0"
near-primitives = "0.5.0"
near-sdk = { path = "../../near-sdk" }
near-sdk-sim = { path = "../../near-sdk-sim" }
near-units = "0.2.0"
serde_json = "1.0"
tokio = { version = "1.14", features = ["full"] }
workspaces = "0.1.1"

# remember to include a line for each contract
fungible-token = { path = "./ft" }
Expand All @@ -27,7 +32,3 @@ members = [
"ft",
"test-contract-defi",
]

[[example]]
name = "heavy"

103 changes: 0 additions & 103 deletions examples/fungible-token/examples/heavy.rs

This file was deleted.

Binary file modified examples/fungible-token/res/defi.wasm
Binary file not shown.
Binary file modified examples/fungible-token/res/fungible_token.wasm
Binary file not shown.
3 changes: 0 additions & 3 deletions examples/fungible-token/tests/sim/main.rs

This file was deleted.

62 changes: 0 additions & 62 deletions examples/fungible-token/tests/sim/no_macros.rs

This file was deleted.

95 changes: 0 additions & 95 deletions examples/fungible-token/tests/sim/utils.rs

This file was deleted.

Loading

0 comments on commit 5dee86c

Please sign in to comment.