-
Notifications
You must be signed in to change notification settings - Fork 15
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
Enrich deploy method and contract's metadata with optional gas limit and gas price hint for free transactions #363
Conversation
3a1d0b1
to
6a68f92
Compare
6a68f92
to
ce772d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rkyv
should be avoided in the host-contract ABI, due to it being too Rust-specific
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ABI of ext::free_limit
and ext::free_price_hint
can solely be used to signal a None
as opposed to also using the first byte in the argument buffer. It feels like repetition to use both. Are you trying to include information about the existance of the contract in the ABI?
Also, the cast to usize
is unnecessary I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Enrich deploy method and contract's metadata with optional gas limit and gas price hint for free transactions,
Implements issue #357