Skip to content

Commit

Permalink
Fix migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksuss committed Jan 26, 2023
1 parent 19f3a12 commit 4021045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/tests/state-migration-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
extern crate alloc;

use alloc::vec::Vec;
use aurora_engine::engine::{self, EngineState};
use aurora_engine::state::{self, EngineState};
use aurora_engine_sdk::near_runtime::Runtime;
use aurora_engine_sdk::io::{IO, StorageIntermediate};
use aurora_engine_types::storage;
Expand All @@ -18,7 +18,7 @@ struct NewFancyState {
#[no_mangle]
pub extern "C" fn state_migration() {
let mut io = Runtime;
let old_state = match engine::get_state(&io) {
let old_state = match state::get_state(&io) {
Ok(state) => state,
Err(e) => aurora_engine_sdk::panic_utf8(e.as_ref()),
};
Expand Down

0 comments on commit 4021045

Please sign in to comment.