Skip to content

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

Merged
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
retkatmun:fix/vault-duplicate-symbols
Jun 19, 2026
Merged

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

Conversation

@retkatmun

Copy link
Copy Markdown
Contributor

…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
@greatest0fallt1me

Copy link
Copy Markdown
Contributor

nice, this is the right fix. collapsing the duplicate DuplicateRequestId arm and the second SettlementClient is exactly what was breaking the vault build. quick heads up: the workspace is still red, but that's the separate revenue_pool PAUSED_KEY/ERR_PAUSED breakage (tracked in its own issue), not anything you did here. merging this one 🚀

@greatest0fallt1me greatest0fallt1me merged commit d22500f into CalloraOrg:main Jun 19, 2026
0 of 3 checks passed
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.

2 participants