Skip to content

Commit

Permalink
update fulfill linear
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Vanderwaal committed Jan 26, 2024
1 parent fb3573e commit dc26c1f
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 89 deletions.
21 changes: 4 additions & 17 deletions tests/mmm-fulfill-exp.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as anchor from '@project-serum/anchor';
import {
getAssociatedTokenAddress,
getAccount as getTokenAccount,
ASSOCIATED_TOKEN_PROGRAM_ID,
TOKEN_PROGRAM_ID,
TOKEN_2022_PROGRAM_ID,
Expand All @@ -12,11 +11,7 @@ import {
SystemProgram,
SYSVAR_RENT_PUBKEY,
} from '@solana/web3.js';
import {
generateSigner,
publicKey,
Program as UmiProgram,
} from '@metaplex-foundation/umi';
import { publicKey, Program as UmiProgram } from '@metaplex-foundation/umi';
import { assert } from 'chai';
import {
Mmm,
Expand All @@ -31,9 +26,7 @@ import {
airdrop,
assertIsBetween,
assertTx,
createPoolWithExampleDeposits,
createPoolWithExampleDepositsUmi,
getMetaplexInstance,
getSellStatePDARent,
getTokenAccount2022,
getTokenAccountRent,
Expand All @@ -43,17 +36,11 @@ import {
sendAndAssertTx,
SIGNATURE_FEE_LAMPORTS,
} from './utils';
import {
fromWeb3JsPublicKey,
toWeb3JsPublicKey,
} from '@metaplex-foundation/umi-web3js-adapters';
import {
findMasterEditionPda,
mplTokenMetadata,
} from '@metaplex-foundation/mpl-token-metadata';
import { toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters';
import { mplTokenMetadata } from '@metaplex-foundation/mpl-token-metadata';
import { createUmi } from '@metaplex-foundation/umi-bundle-tests';

describe.only('mmm-fulfill-exp', () => {
describe('mmm-fulfill-exp', () => {
const TOKEN_PROGRAM_IDS = [TOKEN_PROGRAM_ID, TOKEN_2022_PROGRAM_ID];

const { connection } = anchor.AnchorProvider.env();
Expand Down
Loading

0 comments on commit dc26c1f

Please sign in to comment.