()
| 81 | }; |
| 82 | |
| 83 | export const configProject = async () => { |
| 84 | // Create a dummy config object to pass as argument. |
| 85 | const newConfig = { |
| 86 | admin: payer.publicKey, |
| 87 | totalPoolCount: new BN(0), |
| 88 | |
| 89 | }; |
| 90 | |
| 91 | const tx = await createConfigTx( |
| 92 | payer.publicKey, |
| 93 | newConfig, |
| 94 | solConnection, |
| 95 | program |
| 96 | ); |
| 97 | |
| 98 | await execTx(tx, solConnection, payer); |
| 99 | }; |
| 100 | |
| 101 | export const createPool = async () => { |
| 102 | const tx = await createPoolTx( |
no test coverage detected