Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions snippets/per-web3js-code/create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import {
Member,
createCreatePermissionInstruction,
TX_LOGS_FLAG,
AUTHORITY_FLAG,
} from "@magicblock-labs/ephemeral-rollups-sdk";

// Define members
Expand Down
2 changes: 1 addition & 1 deletion snippets/per-web3js-code/delegate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const delegatePermissionIx = createDelegatePermissionInstruction({
payer: payer.publicKey,
authority: [payer.publicKey, true], // defined as authority in permission members
permissionedAccount: [permissionedAccountKeypair.publicKey, false], // optional signer, since payer is defined as authority in permission members
ownerProgram: PERMISSION_PROGRAM_ID
ownerProgram: PERMISSION_PROGRAM_ID,
validator,
});

Expand Down