Skip to content

Feature/bills create input validation#350

Open
midenotch wants to merge 9 commits intoRemitwise-Org:mainfrom
midenotch:feature/bills-create-input-validation
Open

Feature/bills create input validation#350
midenotch wants to merge 9 commits intoRemitwise-Org:mainfrom
midenotch:feature/bills-create-input-validation

Conversation

@midenotch
Copy link
Copy Markdown

Closes: #267

What I did
Fixed multiple compile blockers in bill_payments/src/lib.rs that prevented any tests from running:
closed malformed event publish blocks
fixed malformed type declarations (BillEvent, StorageStats)
removed duplicate macro derives/const collisions
fixed moved-value usage in emitted events
fixed recurrence-related struct initializers missing external_ref
switched module test wiring to #[cfg(test)] mod test; (using bill_payments/src/test.rs)
Fixed bill_payments/src/test.rs helper typing/return handling for try_create_bill.
Test status
cargo test --manifest-path bill_payments/Cargo.toml -p bill_payments --lib ✅ passes
10 passed; 0 failed

@midenotch
Copy link
Copy Markdown
Author

Done, Close: #350

@Baskarayelu
Copy link
Copy Markdown
Contributor

Please resolve the conflicts

@Baskarayelu
Copy link
Copy Markdown
Contributor

@midenotch Please resolve the conflicts

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.

Add fail-fast validation for bill creation input constraints

3 participants