Skip to content

Commit e9a14bc

Browse files
authored
aptos: expose minimal public api (#3860)
2 parents 8915fb0 + b9dbb23 commit e9a14bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+719
-2599
lines changed

Cargo.lock

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aptos/ibc/sources/acknowledge_packet.move

+7-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
// Parameters
55

66
// Licensor: Union.fi, Labs Inc.
7-
// Licensed Work: All files under https://github.com/unionlabs/union's aptos subdirectory
7+
// Licensed Work: All files under https://github.com/unionlabs/union's aptos subdirectory
88
// The Licensed Work is (c) 2024 Union.fi, Labs Inc.
99
// Change Date: Four years from the date the Licensed Work is published.
1010
// Change License: Apache-2.0
11-
//
11+
//
1212

1313
// For information about alternative licensing arrangements for the Licensed Work,
1414
// please contact [email protected].
@@ -119,7 +119,9 @@ module ibc::acknowledge_packet {
119119
destination_channel_id,
120120
commitment::commit_packet(&first_packet)
121121
);
122-
commitment_value = commitment::commit_ack(*vector::borrow(&acknowledgements, 0));
122+
commitment_value = commitment::commit_ack(
123+
*vector::borrow(&acknowledgements, 0)
124+
);
123125
} else {
124126
commitment_key = commitment::batch_receipts_commitment_key(
125127
destination_channel_id,
@@ -153,7 +155,8 @@ module ibc::acknowledge_packet {
153155
let acknowledgement = *vector::borrow(&acknowledgements, i);
154156
// onAcknowledgementPacket(...)
155157

156-
let param = helpers::pack_acknowledge_packet_params(packet, acknowledgement, @ibc);
158+
let param =
159+
helpers::pack_acknowledge_packet_params(packet, acknowledgement, @ibc);
157160
engine::dispatch<T>(param);
158161

159162
dispatcher::delete_storage<T>();
@@ -164,4 +167,3 @@ module ibc::acknowledge_packet {
164167
}
165168
}
166169
}
167-

aptos/ibc/sources/bcs_utils.move

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
// Parameters
55

66
// Licensor: Union.fi, Labs Inc.
7-
// Licensed Work: All files under https://github.com/unionlabs/union's aptos subdirectory
7+
// Licensed Work: All files under https://github.com/unionlabs/union's aptos subdirectory
88
// The Licensed Work is (c) 2024 Union.fi, Labs Inc.
99
// Change Date: Four years from the date the Licensed Work is published.
1010
// Change License: Apache-2.0
11-
//
11+
//
1212

1313
// For information about alternative licensing arrangements for the Licensed Work,
1414
// please contact [email protected].

aptos/ibc/sources/channel_end.move

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
// Parameters
55

66
// Licensor: Union.fi, Labs Inc.
7-
// Licensed Work: All files under https://github.com/unionlabs/union's aptos subdirectory
7+
// Licensed Work: All files under https://github.com/unionlabs/union's aptos subdirectory
88
// The Licensed Work is (c) 2024 Union.fi, Labs Inc.
99
// Change Date: Four years from the date the Licensed Work is published.
1010
// Change License: Apache-2.0
11-
//
11+
//
1212

1313
// For information about alternative licensing arrangements for the Licensed Work,
1414
// please contact [email protected].

aptos/ibc/sources/channel_handshake.move

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
// Parameters
55

66
// Licensor: Union.fi, Labs Inc.
7-
// Licensed Work: All files under https://github.com/unionlabs/union's aptos subdirectory
7+
// Licensed Work: All files under https://github.com/unionlabs/union's aptos subdirectory
88
// The Licensed Work is (c) 2024 Union.fi, Labs Inc.
99
// Change Date: Four years from the date the Licensed Work is published.
1010
// Change License: Apache-2.0
11-
//
11+
//
1212

1313
// For information about alternative licensing arrangements for the Licensed Work,
1414
// please contact [email protected].

0 commit comments

Comments
 (0)