Skip to content

Commit

Permalink
Merge pull request #1502 from ardriveapp/PE-5152
Browse files Browse the repository at this point in the history
PE-5152: fix U contract id typo
  • Loading branch information
thiagocarvalhodev authored Dec 1, 2023
2 parents fa3d56d + a9b278d commit 6e28007
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions packages/ardrive_uploader/lib/src/constants.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import 'package:ardrive_utils/ardrive_utils.dart';

final int maxSizeSupportedByGCMEncryption = MiB(100).size;

final uContractId =
TransactionID('KTzTXT_ANmF84fWEKHzWURD1LWd9QaFR9yfYUwH2Lxw');
3 changes: 2 additions & 1 deletion packages/ardrive_uploader/lib/src/metadata_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import 'package:arfs/arfs.dart';
import 'package:arweave/arweave.dart';
import 'package:equatable/equatable.dart';
import 'package:uuid/uuid.dart';
import 'package:ardrive_uploader/src/constants.dart';

/// this class will get an `IOFile` and generate the metadata for it
///
Expand Down Expand Up @@ -449,6 +450,6 @@ List<Tag> get _uTags {
Tag(EntityTag.appName, 'SmartWeaveAction'),
Tag(EntityTag.appVersion, '0.3.0'),
Tag(EntityTag.input, '{"function":"mint"}'),
Tag(EntityTag.contract, 'KTzTXT_ANmF84fWEK HzWURD1LWd9QaFR9yfYUwH2Lxw'),
Tag(EntityTag.contract, uContractId.toString()),
];
}
4 changes: 2 additions & 2 deletions packages/ardrive_uploader/test/metadata_generator_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void main() {
Tag(EntityTag.appVersion, '0.3.0'),
Tag(EntityTag.input, '{"function":"mint"}'),
Tag(EntityTag.contract,
'KTzTXT_ANmF84fWEK HzWURD1LWd9QaFR9yfYUwH2Lxw'),
'KTzTXT_ANmF84fWEKHzWURD1LWd9QaFR9yfYUwH2Lxw'),
],
entityId: 'entity123',
driveId: 'driveId',
Expand Down Expand Up @@ -175,7 +175,7 @@ void main() {
Tag(EntityTag.appVersion, '0.3.0'),
Tag(EntityTag.input, '{"function":"mint"}'),
Tag(EntityTag.contract,
'KTzTXT_ANmF84fWEK HzWURD1LWd9QaFR9yfYUwH2Lxw'),
'KTzTXT_ANmF84fWEKHzWURD1LWd9QaFR9yfYUwH2Lxw'),
],
entityId: 'entity123',
driveId: 'driveId',
Expand Down

0 comments on commit 6e28007

Please sign in to comment.