Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unnecessary steps
  • Loading branch information
blockiosaurus committed Sep 16, 2025
commit 9136aaad1c71abb721fbac896d3501b98fe9d33f
18 changes: 0 additions & 18 deletions clients/js/test/plugins/collection/permanentFreezeExecute.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,15 +440,6 @@ test('collection PermanentFreezeExecute persists through asset transfer and stil

await t.throwsAsync(execResult1, { name: 'InvalidAuthority' });

// Temporarily unfreeze the collection plugin so we can transfer the asset
await updateCollectionPluginV1(umi, {
collection: collection.publicKey,
plugin: createPlugin({
type: 'PermanentFreezeExecute',
data: { frozen: false },
}),
}).sendAndConfirm(umi);

// Transfer the asset to a new owner
await transferV1(umi, {
asset: asset.publicKey,
Expand All @@ -466,15 +457,6 @@ test('collection PermanentFreezeExecute persists through asset transfer and stil
permanentFreezeExecute: undefined, // No asset-level plugin
});

// Re-freeze the collection plugin
await updateCollectionPluginV1(umi, {
collection: collection.publicKey,
plugin: createPlugin({
type: 'PermanentFreezeExecute',
data: { frozen: true },
}),
}).sendAndConfirm(umi);

// Execute should still be blocked for the new owner due to inherited collection plugin
const recipient2 = generateSigner(umi);
const execResult2 = execute(umi, {
Expand Down