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
13 changes: 7 additions & 6 deletions lib/consts/matrix/canary/canary.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
export 'v500.dart';
export 'v600.dart';
export 'v601.dart';
export 'v602.dart';
export 'v604.dart';
export 'v605.dart';
export 'v1000.dart';
export 'v1001.dart';
export 'v1002.dart';
Expand All @@ -15,3 +9,10 @@ export 'v1010.dart';
export 'v1011.dart';
export 'v1012.dart';
export 'v1013.dart';
export 'v1020.dart';
export 'v500.dart';
export 'v600.dart';
export 'v601.dart';
export 'v602.dart';
export 'v604.dart';
export 'v605.dart';
2 changes: 2 additions & 0 deletions lib/consts/matrix/canary/v1020.dart

Large diffs are not rendered by default.

4 changes: 3 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.v1013;
return c.v1020;
}

String productionLatest() {
Expand Down Expand Up @@ -53,6 +53,8 @@ String canarySpec(specVersion) {
return c.v1012;
case 1013:
return c.v1013;
case 1020:
return c.v1020;
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 @@ -16,7 +16,7 @@ int getLatestSpecVersion(network) {
return 1050;
}
if (network == 'canary' || network == 'canary-matrixchain') {
return 1013;
return 1020;
}
return 1014;
}
Expand Down