Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Fix invalid schema - Closes #4077 #4082

Merged
merged 5 commits into from
Aug 14, 2019
Merged

Conversation

shuse2
Copy link
Collaborator

@shuse2 shuse2 commented Aug 14, 2019

What was the problem?

Transaction response was validated against wrong schema

How did I solve it?

Change the schema to validate

How to manually test it?

Start a node and connect to a network which has transaction inside

Review checklist

} catch (err) {
error = err;
}
expect(error).toBe(undefined);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not to use chai's to.not.throw ? something like this expect(function () {}).to.not.throw();

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with await, it doesn't work well

@shuse2 shuse2 merged commit 3eaff05 into release/2.3.0 Aug 14, 2019
@shuse2 shuse2 deleted the 4077-fix_invalid_schema_usage branch August 14, 2019 20:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants