Skip to content

Commit

Permalink
Remove obsolete call_init_works
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Jan 20, 2021
1 parent bbea0a7 commit 1699dd6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/vm/src/ibc_calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,18 +243,6 @@ mod tests {
static CONTRACT: &[u8] = include_bytes!("../testdata/ibc_reflect.wasm");
const IBC_VERSION: &str = "ibc-reflect";

#[test]
fn call_init_works() {
let mut instance = mock_instance(&CONTRACT, &[]);

// init
let info = mock_info("creator", &[]);
let msg = br#"{"reflect_code_id":77}"#;
call_init::<_, _, _, Empty>(&mut instance, &mock_env(), &info, msg)
.unwrap()
.unwrap();
}

fn setup(
instance: &mut Instance<MockApi, MockStorage, MockQuerier>,
channel_id: &str,
Expand Down

0 comments on commit 1699dd6

Please sign in to comment.