Skip to content

Commit

Permalink
Update aptos_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnetwork committed Feb 18, 2025
1 parent 2b77322 commit 6258bdd
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/address/aptos/aptos_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ void main() {
_testMultiEdAccount4();
_testMultiEdAccount();
_testMultiEdAccount2();
_testMultiEdAccount3();
_testSignleKeyEd25519();
_testSignleKeySecp256k1();
}
Expand Down Expand Up @@ -80,21 +79,6 @@ void _testMultiEdAccount4() {
});
}

void _testMultiEdAccount3() {
test("Multi Ed25519 account", () {
final privateKey1 = Ed25519PrivateKey.fromBytes(List<int>.filled(32, 12));
final privateKey2 = Ed25519PrivateKey.fromBytes(List<int>.filled(32, 12));
final privateKey3 = Ed25519PrivateKey.fromBytes(List<int>.filled(32, 12));
final account = AptosAddrEncoder().encodeMultiEd25519Key(publicKeys: [
privateKey1.publicKey,
privateKey2.publicKey,
privateKey3.publicKey
], threshold: 2);
expect(account,
"0x46b83ee243d37f8754a0bd90505b58bb19a098840e90ec11934192f04267fc41");
});
}

void _testMultiEdAccount2() {
test("Multi Ed25519 account 3", () {
final privateKey1 = Ed25519PrivateKey.fromBytes(List<int>.filled(32, 12));
Expand Down

0 comments on commit 6258bdd

Please sign in to comment.