While attempting to create an AMM Pool using the 'ammCreatePool.ts' script from the raydium-sdk repository, I encountered the following error message. I executed the script directly with ts-node src/ammCreatePool.ts and made modifications so that it accepts all necessary variables as arguments (token_program_id, mint_address, name, symbol). Unfortunately, I couldn't find any information regarding this error other than the fact that the first program id is associated with openbook and the second with raydium. Here is the output:
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
(node:1282) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
/home/username/typescriptmakesmecry/Final/node_modules/@solana/web3.js/src/connection.ts:5921
throw new SendTransactionError(
^
SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1000078
at Connection.sendEncodedTransaction (/home/username/typescriptmakesmecry/Final/node_modules/@solana/web3.js/src/connection.ts:5921:13)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Connection.sendRawTransaction (/home/username/typescriptmakesmecry/Final/node_modules/@solana/web3.js/src/connection.ts:5880:20)
at async Connection.sendTransaction (/home/username/typescriptmakesmecry/Final/node_modules/@solana/web3.js/src/connection.ts:5829:14)
at async sendTx (/home/username/typescriptmakesmecry/Final/src/util.ts:36:18)
at async buildAndSendTx (/home/username/typescriptmakesmecry/Final/src/util.ts:64:10)
at async ammCreatePool (/home/username/typescriptmakesmecry/Final/src/ammCreatePool.ts:91:19) {
logs: [
'Program 11111111111111111111111111111111 invoke [1]',
'Program 11111111111111111111111111111111 success',
'Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]',
'Program log: Instruction: InitializeAccount',
'Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 3443 of 799850 compute units',
...
]
}