Skip to content

Commit

Permalink
names
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Oct 5, 2024
1 parent c35f9dc commit 68065b5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use crate::version_five::{
core_account_v5::AccountResourceV5, diem_account_v5::DiemAccountResourceV5,
language_v5::StructTagV5, legacy_address_v5::LegacyAddressV5,
language_storage_v5::StructTagV5, legacy_address_v5::LegacyAddressV5,
};
use anyhow::bail;
use anyhow::{Context, Result};
Expand Down
2 changes: 1 addition & 1 deletion compatibility/src/version_five/diem_account_v5.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0

use crate::version_five::language_v5::StructTagV5;
use crate::version_five::language_storage_v5::StructTagV5;
use crate::version_five::legacy_address_v5::LegacyAddressV5;
use crate::version_five::event_v5::EventHandleV5;

Expand Down
5 changes: 2 additions & 3 deletions compatibility/src/version_five/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ pub mod core_account_v5;
pub mod diem_account_v5;
pub mod legacy_address_v5;
pub mod state_snapshot_v5;
// pub mod struct_tag_v5;
mod account_blob;
mod account_blob_v5;
mod balance_v5;
mod event_v5;
mod freezing_v5;
mod hash_value_v5;
mod language_v5;
mod language_storage_v5;
mod safe_serialize_v5;
6 changes: 3 additions & 3 deletions compatibility/src/version_five/state_snapshot_v5.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! read-archive
use crate::version_five::{account_blob::AccountStateBlob, hash_value_v5::HashValue};
use crate::version_five::{account_blob_v5::AccountStateBlob, hash_value_v5::HashValue};

use anyhow::{anyhow, Context, Error, Result};
use diem_backup_cli::{
Expand Down Expand Up @@ -104,7 +104,7 @@ pub async fn v5_accounts_from_snapshot_backup(

#[test]
fn test_string() {
use super::account_blob::AccountStateV5;
use super::account_blob_v5::AccountStateV5;

use super::balance_v5::BalanceResource;
use super::freezing_v5::FreezingBit;
Expand Down Expand Up @@ -164,7 +164,7 @@ fn sanity_test() {

#[test]
fn decode_encode_struct_tag() {
use super::language_v5::StructTagV5;
use super::language_storage_v5::StructTagV5;
use super::legacy_address_v5::LEGACY_CORE_CODE_ADDRESS;
use move_core_types::ident_str;
let s = StructTagV5 {
Expand Down

0 comments on commit 68065b5

Please sign in to comment.