Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Aug 11, 2023
1 parent ba12e64 commit d9fe080
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ fn world() -> ScenarioWorld {
#[test]
fn payable_multi() {
let mut world = world();
let pf_code = world.code_expression(PF_PATH_EXPR);

world
.set_state_step(
SetStateStep::new()
.put_account("sc:payable-features", Account::new().code(PF_PATH_EXPR))
.put_account("sc:payable-features", Account::new().code(pf_code))
.put_account(
"address:an-account",
Account::new()
Expand Down
1 change: 1 addition & 0 deletions contracts/feature-tests/payable-features/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// Total number of exported functions: 17

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
Expand Down
1 change: 0 additions & 1 deletion framework/base/src/types/managed/wrapped/managed_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use crate::{
TopEncodeMultiOutput, TopEncodeOutput,
},
types::{
heap::{ArgBuffer, BoxedBytes},
ManagedBuffer, ManagedBufferNestedDecodeInput, ManagedType, ManagedVecItem, ManagedVecRef,
ManagedVecRefIterator, MultiValueEncoded, MultiValueManagedVec,
},
Expand Down

0 comments on commit d9fe080

Please sign in to comment.