-
Notifications
You must be signed in to change notification settings - Fork 43
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
hooks definition #818
hooks definition #818
Conversation
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.
I think the arguments should belong to Hook
structure. At each call you are passing the same arguments.
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, I store the "Hook" in storage, so it needs to be as small as possible.
Contract comparison - from 59b5cf6 to 0139977
|
First draft of hooks.