Add support for automatic instruction accounts deduping, fix docs #43
Annotations
6 errors
|
build-lint-test
Process completed with exit code 1.
|
|
error: expect(received).toContain(expected):
packages/codama-renderers-markdown/dist/renderers/renderProgram.test.js#L62
Expected to contain: "- **invalidMint** (Code: 0 / `000` / `0x0`) -- Invalid mint"
Received: "# Token Program Program\n\n## Description\n\nSPL Token Program\n\n- Program ID: `TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA`\n\n## Table of Contents\n\n- [Accounts](#accounts)\n - [mint](#mint)\n- [Instructions](#instructions)\n - [initializeMint](#initializeMint)\n- [Errors](#errors)\n\n## Accounts\n\n### mint\n\n**Fields:**\n\n| Field | Type | Description |\n| -------- | ----- | ----------- |\n| `supply` | `u64` | |\n\n## Instructions\n\n### initializeMint\n\n**Accounts:**\n\n| Account | Type | Description |\n| ------- | -------- | ----------- |\n| `mint` | writable | |\n\n## Errors\n\n- **0 - InvalidMint**: Invalid mint _(Hex: `0x0`)_\n"
at <anonymous> (/home/runner/work/coda/coda/packages/codama-renderers-markdown/dist/renderers/renderProgram.test.js:62:27)
|
|
error: expect(received).toBe(expected):
packages/codama-renderers-markdown/dist/renderers/renderError.test.js#L14
Expected: "- **insufficientFunds** (Code: 1001 / `1001` / `0x3e9`) -- Insufficient funds for operation"
Received: "- **1001 - InsufficientFunds**: Insufficient funds for operation *(Hex: `0x3e9`)*"
at <anonymous> (/home/runner/work/coda/coda/packages/codama-renderers-markdown/dist/renderers/renderError.test.js:14:26)
|
|
error: expect(received).toContain(expected):
packages/codama-renderers-markdown/src/renderers/renderProgram.test.ts#L78
Expected to contain: "- **invalidMint** (Code: 0 / `000` / `0x0`) -- Invalid mint"
Received: "# Token Program Program\n\n## Description\n\nSPL Token Program\n\n- Program ID: `TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA`\n\n## Table of Contents\n\n- [Accounts](#accounts)\n - [mint](#mint)\n- [Instructions](#instructions)\n - [initializeMint](#initializeMint)\n- [Errors](#errors)\n\n## Accounts\n\n### mint\n\n**Fields:**\n\n| Field | Type | Description |\n| -------- | ----- | ----------- |\n| `supply` | `u64` | |\n\n## Instructions\n\n### initializeMint\n\n**Accounts:**\n\n| Account | Type | Description |\n| ------- | -------- | ----------- |\n| `mint` | writable | |\n\n## Errors\n\n- **0 - InvalidMint**: Invalid mint _(Hex: `0x0`)_\n"
at <anonymous> (/home/runner/work/coda/coda/packages/codama-renderers-markdown/src/renderers/renderProgram.test.ts:78:23)
|
|
error: expect(received).toBe(expected):
packages/codama-renderers-markdown/src/renderers/renderError.test.ts#L17
Expected: "- **insufficientFunds** (Code: 1001 / `1001` / `0x3e9`) -- Insufficient funds for operation"
Received: "- **1001 - InsufficientFunds**: Insufficient funds for operation *(Hex: `0x3e9`)*"
at <anonymous> (/home/runner/work/coda/coda/packages/codama-renderers-markdown/src/renderers/renderError.test.ts:17:22)
|
|
|