Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constants #179

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Constants #179

merged 2 commits into from
Jan 3, 2024

Conversation

mootz12
Copy link
Contributor

@mootz12 mootz12 commented Jan 2, 2024

Fixes: #167

Opted to keep the interface using a u32 for the request object. Forcing the contractType to be an enum increased the contract size a non-negligible amount, and made the interface harder to interact with for consumers in other languages.

Creating an issue for the JS-SDK to expose an enum as well to help alleviate this.

Copy link
Contributor

@Ryang-21 Ryang-21 left a comment

Choose a reason for hiding this comment

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

lgtm

@mootz12 mootz12 merged commit a0ec8f1 into main Jan 3, 2024
3 checks passed
@mootz12 mootz12 deleted the constants branch January 3, 2024 19:11
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.

BLRC-001 and BLRC-003 - Inconsistent use of scalar and enum constants
2 participants