-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from near-examples/fix-tests
fix tests
- Loading branch information
Showing
9 changed files
with
59 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,27 @@ | ||
[package] | ||
name = "auction" | ||
description = "Hello Near Example" | ||
name = "auction-contract" | ||
description = "Auction Example Part 2" | ||
version = "0.1.0" | ||
edition = "2021" | ||
# TODO: Fill out the repository field to help NEAR ecosystem tools to discover your project. | ||
# NEP-0330 is automatically implemented for all contracts built with https://github.com/near/cargo-near. | ||
# Link to the repository will be available via `contract_source_metadata` view-function. | ||
repository = "https://github.com/near-examples/auction-examples" | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[dependencies] | ||
near-sdk = { version = "5.1.0", features = ["legacy"] } | ||
chrono = "0.4.38" | ||
tracing = "0.1" | ||
tracing-subscriber = "0.3" | ||
near-sdk = "5.5.0" | ||
|
||
[dev-dependencies] | ||
near-sdk = { version = "5.1.0", features = ["unit-testing"] } | ||
near-workspaces = { version = "0.10.0", features = ["unstable"] } | ||
near-sdk = { version = "5.5.0", features = ["unit-testing"] } | ||
near-workspaces = { version = "0.14.0", features = ["unstable"] } | ||
tokio = { version = "1.12.0", features = ["full"] } | ||
serde_json = "1.0.117" | ||
serde_json = "1" | ||
chrono = "0.4.38" | ||
|
||
[profile.release] | ||
codegen-units = 1 | ||
# Tell `rustc` to optimize for small code size. | ||
opt-level = "z" | ||
lto = true | ||
debug = false | ||
panic = "abort" | ||
# Opt into extra safety checks on arithmetic operations https://stackoverflow.com/a/64136471/249801 | ||
overflow-checks = true | ||
overflow-checks = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,27 @@ | ||
[package] | ||
name = "auction" | ||
description = "Hello Near Example" | ||
name = "auction-contract" | ||
description = "Auction Example Part 3" | ||
version = "0.1.0" | ||
edition = "2021" | ||
# TODO: Fill out the repository field to help NEAR ecosystem tools to discover your project. | ||
# NEP-0330 is automatically implemented for all contracts built with https://github.com/near/cargo-near. | ||
# Link to the repository will be available via `contract_source_metadata` view-function. | ||
repository = "https://github.com/near-examples/auction-examples" | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[dependencies] | ||
near-sdk = { version = "5.1.0", features = ["legacy"] } | ||
chrono = "0.4.38" | ||
tracing = "0.1" | ||
tracing-subscriber = "0.3" | ||
near-sdk = "5.5.0" | ||
|
||
[dev-dependencies] | ||
near-sdk = { version = "5.1.0", features = ["unit-testing"] } | ||
near-workspaces = { version = "0.10.0", features = ["unstable"] } | ||
near-sdk = { version = "5.5.0", features = ["unit-testing"] } | ||
near-workspaces = { version = "0.14.0", features = ["unstable"] } | ||
tokio = { version = "1.12.0", features = ["full"] } | ||
serde_json = "1.0.117" | ||
serde_json = "1" | ||
chrono = "0.4.38" | ||
|
||
[profile.release] | ||
codegen-units = 1 | ||
# Tell `rustc` to optimize for small code size. | ||
opt-level = "z" | ||
lto = true | ||
debug = false | ||
panic = "abort" | ||
# Opt into extra safety checks on arithmetic operations https://stackoverflow.com/a/64136471/249801 | ||
overflow-checks = true | ||
overflow-checks = true |
Binary file modified
BIN
-1.44 MB
(17%)
contract-rs/03-owner-claims-winner-gets-nft/tests/non_fungible_token.wasm
100644 → 100755
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,27 @@ | ||
[package] | ||
name = "auction" | ||
description = "Hello Near Example" | ||
name = "auction-contract" | ||
description = "Auction Example Part 4" | ||
version = "0.1.0" | ||
edition = "2021" | ||
# TODO: Fill out the repository field to help NEAR ecosystem tools to discover your project. | ||
# NEP-0330 is automatically implemented for all contracts built with https://github.com/near/cargo-near. | ||
# Link to the repository will be available via `contract_source_metadata` view-function. | ||
repository = "https://github.com/near-examples/auction-examples" | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[dependencies] | ||
near-sdk = { version = "5.1.0", features = ["legacy"] } | ||
chrono = "0.4.38" | ||
tracing = "0.1" | ||
tracing-subscriber = "0.3" | ||
near-sdk = "5.5.0" | ||
|
||
[dev-dependencies] | ||
near-sdk = { version = "5.1.0", features = ["unit-testing"] } | ||
near-workspaces = { version = "0.10.0", features = ["unstable"] } | ||
near-sdk = { version = "5.5.0", features = ["unit-testing"] } | ||
near-workspaces = { version = "0.14.0", features = ["unstable"] } | ||
tokio = { version = "1.12.0", features = ["full"] } | ||
serde_json = "1.0.117" | ||
serde_json = "1" | ||
chrono = "0.4.38" | ||
|
||
[profile.release] | ||
codegen-units = 1 | ||
# Tell `rustc` to optimize for small code size. | ||
opt-level = "z" | ||
lto = true | ||
debug = false | ||
panic = "abort" | ||
# Opt into extra safety checks on arithmetic operations https://stackoverflow.com/a/64136471/249801 | ||
overflow-checks = true | ||
overflow-checks = true |
Binary file modified
BIN
-1.44 MB
(17%)
contract-rs/04-ft-owner-claims-winner-gets-nft/tests/non_fungible_token.wasm
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters