From 81f61e57e75e0851258c12e486e066ee75cf8fb0 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 16 Sep 2024 15:41:43 -0700 Subject: [PATCH] Switch test to create contract from valid wasm (invalid can never be uploaded) --- soroban-env-host/src/test/e2e_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soroban-env-host/src/test/e2e_tests.rs b/soroban-env-host/src/test/e2e_tests.rs index 1802477a8..352946ee2 100644 --- a/soroban-env-host/src/test/e2e_tests.rs +++ b/soroban-env-host/src/test/e2e_tests.rs @@ -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, }; @@ -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,