Skip to content

Commit 7a5431c

Browse files
committed
wip
1 parent ec939b6 commit 7a5431c

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
ANCHOR_VERSION: 0.30.0
1111
NODE_VERSION : 20
1212
SOLANA_VERSION: 1.18.18
13-
TOOLCHAIN: 1.81.0
13+
TOOLCHAIN: 1.85.0
1414

1515
jobs:
1616
lint:

utils/solanaCli.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,13 @@ import {
99
import { VersionWithoutPatch } from './versionCore';
1010

1111
export async function patchSolanaDependencies(
12-
ctx: Pick<
13-
RenderContext,
14-
'solanaVersion' | 'targetDirectory' | 'programFramework'
15-
>
12+
ctx: Pick<RenderContext, 'solanaVersion' | 'targetDirectory'>
1613
): Promise<void> {
1714
const patchMap: Record<VersionWithoutPatch, string[]> = {
1815
'1.17': ['-p [email protected] --precise 0.8.6'],
1916
};
2017

2118
const patches = patchMap[ctx.solanaVersion.withoutPatch] ?? [];
22-
23-
if (ctx.programFramework === 'anchor') {
24-
patches.push('-p [email protected] --precise 1.7.3');
25-
}
26-
2719
await Promise.all(
2820
patches.map(async (patch) =>
2921
waitForCommand(

0 commit comments

Comments
 (0)