Skip to content

Commit

Permalink
Switch test to create contract from valid wasm (invalid can never be …
Browse files Browse the repository at this point in the history
…uploaded)
  • Loading branch information
graydon committed Sep 16, 2024
1 parent ebc64e8 commit 81f61e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soroban-env-host/src/test/e2e_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use rand::SeedableRng;
use sha2::{Digest, Sha256};
use soroban_env_common::TryIntoVal;
use soroban_test_wasms::{
ADD_F32, ADD_I32, AUTH_TEST_CONTRACT, CONTRACT_STORAGE, DEPLOYER_TEST_CONTRACT, LINEAR_MEMORY,
ADD_I32, AUTH_TEST_CONTRACT, CONTRACT_STORAGE, DEPLOYER_TEST_CONTRACT, LINEAR_MEMORY,
NO_ARGUMENT_CONSTRUCTOR_TEST_CONTRACT_P22, SIMPLE_ACCOUNT_CONTRACT, SUM_I32,
UPDATEABLE_CONTRACT,
};
Expand Down Expand Up @@ -1238,7 +1238,7 @@ fn test_create_contract_success_using_simulation() {
#[test]
fn test_create_contract_success_with_extra_footprint_entries() {
let cd = CreateContractData::new([111; 32], ADD_I32);
let cd2 = CreateContractData::new([222; 32], ADD_F32);
let cd2 = CreateContractData::new([222; 32], CONTRACT_STORAGE);
let ledger_info = default_ledger_info();
let res = invoke_host_function_helper(
true,
Expand Down

0 comments on commit 81f61e5

Please sign in to comment.