-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: prxgr4mm3r <[email protected]>
- Loading branch information
1 parent
23549e4
commit 6701f42
Showing
5 changed files
with
200 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export interface CargoContractInkDependency { | ||
minCargoContractVersion: string; | ||
validInkVersionRange: string; | ||
} | ||
|
||
// Keep cargo-contract versions in descending order | ||
// Ranges are supported by semver | ||
export const CARGO_CONTRACT_INK_DEPS: CargoContractInkDependency[] = [ | ||
{ minCargoContractVersion: "4.0.0", validInkVersionRange: "<99.0.0" }, // Non-max version known yet: a very high version is used as fallback in the meantime | ||
{ minCargoContractVersion: "2.2.0", validInkVersionRange: "<5.0.0" }, | ||
{ minCargoContractVersion: "2.0.2", validInkVersionRange: "<4.2.0" }, | ||
{ minCargoContractVersion: "2.0.0", validInkVersionRange: "<4.0.1" }, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters