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

Tari Script should use Varints instead of u64's #4108

Closed
stringhandler opened this issue May 17, 2022 · 0 comments
Closed

Tari Script should use Varints instead of u64's #4108

stringhandler opened this issue May 17, 2022 · 0 comments
Assignees

Comments

@stringhandler
Copy link
Collaborator

For example, CHECK_HEIGHT takes in a u64 which for the most part will be padded zeroes. It should use VarInt when serializing and deserializing

@Cifko Cifko self-assigned this Aug 12, 2022
aviator-app bot pushed a commit that referenced this issue Aug 17, 2022
Description
---
Use varint for op codes that use 64bit numbers but in general will be low.

Motivation and Context
---
#4108

How Has This Been Tested?
---
Unit tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants