Skip to content

Commit

Permalink
refactor: 💡 bump min sq version to encourage upgrade
Browse files Browse the repository at this point in the history
provide warning for SubQuery less than v18.0.2
  • Loading branch information
polymath-eric committed Dec 3, 2024
1 parent b326c42 commit aec1b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/__tests__/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ describe('warnUnexpectedSqVersion', () => {
subqueryVersions: {
nodes: [
{
version: '16.2.0-alpha.2',
version: '18.0.2',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const DEFAULT_CDD_ID = '0x00000000000000000000000000000000000000000000000
/**
* Minimum version of Middleware V2 GraphQL Service (SubQuery) that is compatible with this version of the SDK
*/
export const MINIMUM_SQ_VERSION = '16.1.0';
export const MINIMUM_SQ_VERSION = '18.0.2';

/**
* The first version of Subquery that pads IDs for proper lexical order
Expand Down

0 comments on commit aec1b87

Please sign in to comment.