Loris Leiva 4 mēneši atpakaļ
vecāks
revīzija
7a5431c3cc
2 mainītis faili ar 2 papildinājumiem un 10 dzēšanām
  1. 1 1
      .github/workflows/main.yml
  2. 1 9
      utils/solanaCli.ts

+ 1 - 1
.github/workflows/main.yml

@@ -10,7 +10,7 @@ env:
   ANCHOR_VERSION: 0.30.0
   NODE_VERSION : 20
   SOLANA_VERSION: 1.18.18
-  TOOLCHAIN: 1.81.0
+  TOOLCHAIN: 1.85.0
 
 jobs:
   lint:

+ 1 - 9
utils/solanaCli.ts

@@ -9,21 +9,13 @@ import {
 import { VersionWithoutPatch } from './versionCore';
 
 export async function patchSolanaDependencies(
-  ctx: Pick<
-    RenderContext,
-    'solanaVersion' | 'targetDirectory' | 'programFramework'
-  >
+  ctx: Pick<RenderContext, 'solanaVersion' | 'targetDirectory'>
 ): Promise<void> {
   const patchMap: Record<VersionWithoutPatch, string[]> = {
     '1.17': ['-p ahash@0.8.12 --precise 0.8.6'],
   };
 
   const patches = patchMap[ctx.solanaVersion.withoutPatch] ?? [];
-
-  if (ctx.programFramework === 'anchor') {
-    patches.push('-p base64ct@1.8.0 --precise 1.7.3');
-  }
-
   await Promise.all(
     patches.map(async (patch) =>
       waitForCommand(