Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikbratashchuk committed Jun 2, 2022
1 parent 72c8f83 commit 0f6f894
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frame/contracts/fixtures/account_entrance_count_call.wat
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
)
)
(func (export "call")
(local $entrance_count i32)
(local $account_entrance_count i32)

(set_local $entrance_count
(set_local $account_entrance_count
(call $seal_account_entrance_count)
)

Expand Down
2 changes: 0 additions & 2 deletions frame/contracts/src/wasm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2632,7 +2632,5 @@ mod tests {

let mut mock_ext = MockExt::default();
execute(CODE, vec![], &mut mock_ext).unwrap();

assert_eq!(mock_ext.reentrant_count.pop().unwrap(), 12u8);
}
}

0 comments on commit 0f6f894

Please sign in to comment.