diff --git a/Cargo.toml b/Cargo.toml index f9e98a5..d5404aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,10 +20,10 @@ diem-crypto = { git = "https://github.com/0LNetworkCommunity/diem.git", branch = env_logger = "^0.11" flate2 = "^1.0" glob = "^0.3" -libra-backwards-compatibility = { git = "https://github.com/0o-de-lally/libra-framework.git", branch = "legacy-compat" } -libra-cached-packages = { git = "https://github.com/0o-de-lally/libra-framework.git", branch = "legacy-compat" } -libra-storage = { git = "https://github.com/0o-de-lally/libra-framework.git", branch = "legacy-compat" } -libra-types = { git = "https://github.com/0o-de-lally/libra-framework.git", branch = "legacy-compat" } +libra-backwards-compatibility = { git = "https://github.com/0LNetworkCommunity/libra-framework.git", branch = "patch-compat-5.2.0" } +libra-cached-packages = { git = "https://github.com/0LNetworkCommunity/libra-framework.git", branch = "patch-compat-5.2.0" } +libra-storage = { git = "https://github.com/0LNetworkCommunity/libra-framework.git", branch = "patch-compat-5.2.0" } +libra-types = { git = "https://github.com/0LNetworkCommunity/libra-framework.git", branch = "patch-compat-5.2.0" } log = "^0.4" neo4rs = "0.8.0" once_cell = "^1.2" diff --git a/src/json_rescue_v5_extract.rs b/src/json_rescue_v5_extract.rs index 9042bb2..78866c2 100644 --- a/src/json_rescue_v5_extract.rs +++ b/src/json_rescue_v5_extract.rs @@ -166,6 +166,12 @@ pub fn decode_transaction_args(wtx: &mut WarehouseTxMaster, tx_bytes: &[u8]) -> wtx.entry_function = Some(EntryFunctionArgs::V520(sf.to_owned())); match sf { + ScriptFunctionCallV520::BalanceTransfer { destination, .. } => { + wtx.relation_label = + RelationLabel::Transfer(cast_legacy_account(destination)?); + + wtx.entry_function = Some(EntryFunctionArgs::V520(sf.to_owned())); + } ScriptFunctionCallV520::CreateAccUser { .. } => { wtx.relation_label = RelationLabel::Onboarding(wtx.sender); }