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
4 changes: 3 additions & 1 deletion lib/consts/enjin/enjin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ String canaryLatest() {
}

String productionLatest() {
return p.v1032;
return p.v1050;
}

String metadata(network, specVersion) {
Expand Down Expand Up @@ -92,6 +92,8 @@ String productionSpec(specVersion) {
return p.v1026;
case 1032:
return p.v1032;
case 1050:
return p.v1050;
default:
return productionLatest();
}
Expand Down
5 changes: 3 additions & 2 deletions lib/consts/enjin/production/production.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
export 'v100.dart';
export 'v101.dart';
export 'v102.dart';
export 'v110.dart';
export 'v120.dart';
export 'v1021.dart';
export 'v1022.dart';
export 'v1023.dart';
export 'v1024.dart';
export 'v1025.dart';
export 'v1026.dart';
export 'v1032.dart';
export 'v1050.dart';
export 'v110.dart';
export 'v120.dart';
2 changes: 2 additions & 0 deletions lib/consts/enjin/production/v1050.dart

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/consts/matrix/canary/canary.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export 'v1011.dart';
export 'v1012.dart';
export 'v1013.dart';
export 'v1020.dart';
export 'v1021.dart';
export 'v1022.dart';
export 'v500.dart';
export 'v600.dart';
export 'v601.dart';
Expand Down
2 changes: 2 additions & 0 deletions lib/consts/matrix/canary/v1021.dart

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/consts/matrix/canary/v1022.dart

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion lib/consts/matrix/matrix.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.v1020;
return c.v1022;
}

String productionLatest() {
Expand Down Expand Up @@ -55,6 +55,10 @@ String canarySpec(specVersion) {
return c.v1013;
case 1020:
return c.v1020;
case 1021:
return c.v1021;
case 1022:
return c.v1022;
default:
return canaryLatest();
}
Expand Down
4 changes: 2 additions & 2 deletions lib/handler/general.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ final logger = Logger('Decoder');

int getLatestSpecVersion(network) {
if (network == 'enjin-relaychain') {
return 1032;
return 1050;
}
if (network == 'canary-relaychain') {
return 1050;
}
if (network == 'canary' || network == 'canary-matrixchain') {
return 1020;
return 1022;
}
return 1014;
}
Expand Down