Skip to content

Commit bdc632f

Browse files
committed
fmt
1 parent f8bb1d5 commit bdc632f

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

app/lib/service/substrate_api/encointer/encointer_api.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ import 'package:ew_encointer_utils/ew_encointer_utils.dart' as ew_utils;
2626
import 'package:ew_http/ew_http.dart';
2727
import 'package:ew_keyring/ew_keyring.dart';
2828
import 'package:ew_polkadart/encointer_types.dart' show ProofOfAttendance;
29-
import 'package:ew_polkadart/ew_polkadart.dart' show BlockHash, Tuple2, StorageChangeSet, SequenceCodec, EncointerKusama, ByteInput;
29+
import 'package:ew_polkadart/ew_polkadart.dart'
30+
show BlockHash, Tuple2, StorageChangeSet, SequenceCodec, EncointerKusama, ByteInput;
3031
import 'package:ew_polkadart/generated/encointer_kusama/types/sp_core/crypto/account_id32.dart';
3132
import 'package:ew_primitives/ew_primitives.dart';
3233
import 'package:ew_substrate_fixed/substrate_fixed.dart';

app/test/service/tx/lib/send_tx_dart_test.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ignore_for_file: avoid_print
22

3-
// @Skip('Skip these tests as they need a specific setup.')
3+
@Skip('Skip these tests as they need a specific setup.')
44

55
import 'dart:async';
66
import 'dart:convert';
@@ -34,7 +34,7 @@ void main() {
3434
final txBuilder = TxBuilder(provider);
3535

3636
// mediterranean test community
37-
final paymentAsset = CommunityIdentifier(geohash: utf8.encode('sqm1v'),digest: hex.decode('f08c911c'));
37+
final paymentAsset = CommunityIdentifier(geohash: utf8.encode('sqm1v'), digest: hex.decode('f08c911c'));
3838
print('payment asset: ${paymentAsset.toJson()}');
3939
final testCid = ew.CommunityIdentifier.fromPolkadart(paymentAsset);
4040
print('payment asset fmt: ${testCid.toFmtString()}');

packages/ew_polkadart/lib/encointer_types.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/// Re-export well defined-types.
22
33
// export primitive types
4-
export 'generated/encointer_kusama/types/sp_runtime/multiaddress/multi_address.dart' show MultiAddress, Index, Id, Raw, Address32;
4+
export 'generated/encointer_kusama/types/sp_runtime/multiaddress/multi_address.dart'
5+
show MultiAddress, Index, Id, Raw, Address32;
56
export 'generated/encointer_kusama/types/sp_runtime/multi_signature.dart' show MultiSignature, Sr25519;
67

78
// export types from balances

packages/ew_polkadart/lib/generated/encointer_kusama/types/encointer_primitives/communities/community_identifier.dart

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// Todo: polkadart is not generic yet over the asset id. So we hardcoded our community identifier there.
32
// Here we have to re-export that one for now.
43
export 'package:polkadart/primitives/primitives.dart' show CommunityIdentifier;

packages/ew_primitives/lib/src/type_extensions.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import 'package:ew_substrate_fixed/substrate_fixed.dart';
99

1010
extension KeyringAccountMultiAddressExt on KeyringAccount {
1111
MultiAddress multiAddress() {
12-
return MultiAddress.values.id(pubKey);
12+
return MultiAddress.values.id(pubKey);
1313
}
1414
}
1515

0 commit comments

Comments
 (0)