@@ -14,14 +14,18 @@ import {
1414 createTree ,
1515 createTreeConfig ,
1616 fetchTreeConfigFromSeeds ,
17+ getCompressionProgramsForV1Ixs ,
1718 safeFetchTreeConfigFromSeeds ,
18- getMerkleTreeSize ,
19+ } from '../src' ;
20+ import { createUmi } from './_setup' ;
21+ import {
1922 SPL_ACCOUNT_COMPRESSION_PROGRAM_ID ,
20- getCompressionPrograms ,
23+ getMerkleTreeSize ,
24+ } from '@metaplex-foundation/spl-account-compression' ;
25+ import {
2126 MPL_NOOP_PROGRAM_ID ,
2227 MPL_ACCOUNT_COMPRESSION_PROGRAM_ID ,
23- } from '../src' ;
24- import { createUmi } from './_setup' ;
28+ } from '@metaplex-foundation/mpl-account-compression' ;
2529
2630const createTreeWithSpecificMerkleOwner = async (
2731 context : Parameters < typeof createAccount > [ 0 ] &
@@ -137,7 +141,8 @@ test('it can create a Bubblegum tree using mpl-account-compression and mpl-noop'
137141 const merkleTree = generateSigner ( umi ) ;
138142
139143 // For these tests, make sure `getCompressionPrograms` doesn't return spl programs.
140- const { logWrapper, compressionProgram } = await getCompressionPrograms ( umi ) ;
144+ const { logWrapper, compressionProgram } =
145+ await getCompressionProgramsForV1Ixs ( umi ) ;
141146 t . is ( logWrapper , MPL_NOOP_PROGRAM_ID ) ;
142147 t . is ( compressionProgram , MPL_ACCOUNT_COMPRESSION_PROGRAM_ID ) ;
143148
@@ -146,7 +151,7 @@ test('it can create a Bubblegum tree using mpl-account-compression and mpl-noop'
146151 merkleTree,
147152 maxDepth : 14 ,
148153 maxBufferSize : 64 ,
149- ...( await getCompressionPrograms ( umi ) ) ,
154+ ...( await getCompressionProgramsForV1Ixs ( umi ) ) ,
150155 } ) ;
151156 await builder . sendAndConfirm ( umi ) ;
152157
0 commit comments