You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create the cross-contract-calls template, but name it differently
run the e2e tests
Output:
Finished `release` profile [optimized] target(s) in 37.08s
Running `target/ink/release/metadata-gen`
test e2e_tests::instantiate_v2_no_limits ... FAILED
test e2e_tests::flip_and_get ... FAILED
test e2e_tests::instantiate_v2_with_sufficient_limits ... FAILED
test e2e_tests::flip_and_get_v2 ... FAILED
test e2e_tests::instantiate_v2_with_insufficient_storage_deposit_limit ... FAILED
failures:
---- e2e_tests::instantiate_v2_no_limits stdout ----
thread 'e2e_tests::instantiate_v2_no_limits' panicked at /home/tomen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ink_e2e-5.0.0/src/client_utils.rs:62:17:
Unknown contract cross-contract-calls. Available contracts: ["other_contract", "t3_test"].
For a contract to be built, add it as a dependency to the `Cargo.toml`
---- e2e_tests::flip_and_get stdout ----
thread 'e2e_tests::flip_and_get' panicked at /home/tomen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ink_e2e-5.0.0/src/client_utils.rs:62:17:
Unknown contract cross-contract-calls. Available contracts: ["other_contract", "t3_test"].
For a contract to be built, add it as a dependency to the `Cargo.toml`
---- e2e_tests::instantiate_v2_with_sufficient_limits stdout ----
thread 'e2e_tests::instantiate_v2_with_sufficient_limits' panicked at /home/tomen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ink_e2e-5.0.0/src/client_utils.rs:62:17:
Unknown contract cross-contract-calls. Available contracts: ["other_contract", "t3_test"].
For a contract to be built, add it as a dependency to the `Cargo.toml`
---- e2e_tests::flip_and_get_v2 stdout ----
thread 'e2e_tests::flip_and_get_v2' panicked at /home/tomen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ink_e2e-5.0.0/src/client_utils.rs:62:17:
Unknown contract cross-contract-calls. Available contracts: ["other_contract", "t3_test"].
For a contract to be built, add it as a dependency to the `Cargo.toml`
---- e2e_tests::instantiate_v2_with_insufficient_storage_deposit_limit stdout ----
[==] Checking clippy linting rules
[==] Building cargo project
warning: the `name` field in the `[lib]` section of the `Cargo.toml`, is no longer used for the name of generated contract artifacts. The package name is used instead. Remove the `[lib] name` to stop this warning.
[==] Checking clippy linting rules
[==] Building cargo project
[==] Post processing code
[==] Generating metadata
[==] Generating bundle
thread 'e2e_tests::instantiate_v2_with_insufficient_storage_deposit_limit' panicked at /home/tomen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ink_e2e-5.0.0/src/client_utils.rs:62:17:
Unknown contract cross-contract-calls. Available contracts: ["other_contract", "t3_test"].
For a contract to be built, add it as a dependency to the `Cargo.toml`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
e2e_tests::flip_and_get
e2e_tests::flip_and_get_v2
e2e_tests::instantiate_v2_no_limits
e2e_tests::instantiate_v2_with_insufficient_storage_deposit_limit
e2e_tests::instantiate_v2_with_sufficient_limits
test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 96.24s
error: test failed, to rerun pass `--lib`
Error: Failed to execute test command: Cargo test command failed: command ["cargo", "test", "--features=e2e-tests"] exited with code 101
The text was updated successfully, but these errors were encountered:
Output:
The text was updated successfully, but these errors were encountered: