-
Notifications
You must be signed in to change notification settings - Fork 46
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
pair hooks again #825
pair hooks again #825
Conversation
Contract comparison - from e227609 to 04890fe
|
hook.dest_address, | ||
hook.endpoint_name, | ||
) | ||
.with_raw_arguments(call_args.clone()) |
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.
Is this wanted behavior? The only parameter to be the Pair?
Is there any case where a hook would need personalized parameters?
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.
Yes, plenty of endpoints have their own parameters.
.execute_on_dest_context_with_back_transfers::<MultiValueEncoded<ManagedBuffer>>(); | ||
|
||
require!( | ||
back_transfers.esdt_payments.len() == payments_len, |
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 egld value is ignored. Is there any case where EGLD would be used?
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.
Nope, only ESDT.
No description provided.