Skip to content

fix(vault): remove duplicate DuplicateRequestId variant and Settlemen…#409

Open
retkatmun wants to merge 1 commit into
CalloraOrg:mainfrom
retkatmun:fix/vault-duplicate-symbols
Open

fix(vault): remove duplicate DuplicateRequestId variant and Settlemen…#409
retkatmun wants to merge 1 commit into
CalloraOrg:mainfrom
retkatmun:fix/vault-duplicate-symbols

Conversation

@retkatmun

Copy link
Copy Markdown

…tClient

The VaultError enum declared DuplicateRequestId = 29 twice and two traits both generated a SettlementClient, breaking compilation (E0428/E0081/E0592/ E0034/E0004). Collapse to a single definition each; error code stays 29.

  • Remove first DuplicateRequestId arm (wrong doc comment 'code 23')
  • Fix surviving arm doc to correctly state 'code 29'
  • Delete SettlementTrait block; only trait Settlement remains
  • Add docs/interfaces/vault.json error code 29 entry
  • Add test pinning DuplicateRequestId discriminant to 29

…tClient

The VaultError enum declared DuplicateRequestId = 29 twice and two traits
both generated a SettlementClient, breaking compilation (E0428/E0081/E0592/
E0034/E0004). Collapse to a single definition each; error code stays 29.

- Remove first DuplicateRequestId arm (wrong doc comment 'code 23')
- Fix surviving arm doc to correctly state 'code 29'
- Delete SettlementTrait block; only trait Settlement remains
- Add docs/interfaces/vault.json error code 29 entry
- Add test pinning DuplicateRequestId discriminant to 29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant