Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions lib/consts/enjin/canary/canary.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export 'v1030.dart';
export 'v1031.dart';
export 'v1032.dart';
export 'v1033.dart';
export 'v1050.dart';
export 'v104.dart';
export 'v105.dart';
export 'v106.dart';
Expand Down
2 changes: 2 additions & 0 deletions lib/consts/enjin/canary/v1050.dart

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion lib/consts/enjin/enjin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'canary/canary.dart' as c;
import 'production/production.dart' as p;

String canaryLatest() {
return c.v1033;
return c.v1050;
}

String productionLatest() {
Expand Down Expand Up @@ -59,6 +59,8 @@ String canarySpec(specVersion) {
return c.v1032;
case 1033:
return c.v1033;
case 1050:
return c.v1050;
default:
return canaryLatest();
}
Expand Down
2 changes: 1 addition & 1 deletion lib/handler/general.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ int getLatestSpecVersion(network) {
return 1032;
}
if (network == 'canary-relaychain') {
return 1033;
return 1050;
}
if (network == 'canary' || network == 'canary-matrixchain') {
return 1013;
Expand Down
15 changes: 7 additions & 8 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
name: platform_decoder
description: Enjin Platform Decoder
version: 2.2.0
version: 2.3.0
publish_to: none

environment:
sdk: ">=3.3.0 <4.0.0"

dependencies:
shelf: ^1.4.1
shelf: ^1.4.2
shelf_plus: ^1.9.2
polkadart: ^0.4.7
substrate_metadata: ^1.2.2
polkadart_scale_codec: ^1.2.1
polkadart: ^0.5.0
substrate_metadata: ^1.3.0
polkadart_scale_codec: ^1.3.0
compute: ^1.0.2
lru_memory_cache: ^1.0.3
dotenv: ^4.2.0
logging: ^1.2.0
logging: ^1.3.0

dev_dependencies:
lints: ^4.0.0
test: ^1.25.8
lints: ^5.1.1

assets:
- .env
Loading