Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Cleanup Move warnings #88

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ module aptos_framework::atomic_bridge_store {
use aptos_std::aptos_hash::keccak256;
use aptos_std::smart_table;
use aptos_std::smart_table::SmartTable;
#[test_only]
use aptos_framework::atomic_bridge_configuration;
use aptos_framework::ethereum::EthereumAddress;
use aptos_framework::system_addresses;
Expand Down Expand Up @@ -828,24 +829,24 @@ module aptos_framework::atomic_bridge_store {
keccak256(combined_bytes)
}

#[view]
/// Gets initiator bridge transfer details given a bridge transfer ID
///
/// @param bridge_transfer_id A 32-byte vector of unsigned 8-bit integers.
/// @return A `BridgeTransferDetails` struct.
/// @abort If there is no transfer in the atomic bridge store.
#[view]
public fun get_bridge_transfer_details_initiator(
bridge_transfer_id: vector<u8>
): BridgeTransferDetails<address, EthereumAddress> acquires SmartTableWrapper {
get_bridge_transfer_details(bridge_transfer_id)
}

#[view]
/// Gets counterparty bridge transfer details given a bridge transfer ID
///
/// @param bridge_transfer_id A 32-byte vector of unsigned 8-bit integers.
/// @return A `BridgeTransferDetails` struct.
/// @abort If there is no transfer in the atomic bridge store.
#[view]
public fun get_bridge_transfer_details_counterparty(
bridge_transfer_id: vector<u8>
): BridgeTransferDetails<EthereumAddress, address> acquires SmartTableWrapper {
Expand Down