-
Notifications
You must be signed in to change notification settings - Fork 119
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
Fix wrong contract account id for instantiate
#965
Conversation
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.
Assuming it works okay by passing the repro in #777. LGTM!
Oha, I somehow thought we had merged a hotfix for this issue. @ascjones We should issue a patch release with this one and the template fix. @lean-apple Is the PR still WIP? If not change the title please. Please also update the first sentence in the description to "Closes $link_to_issue.". When we merged the PR GitHub will then automatically close the issue. |
instantiate
instantiate
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.
Thank you, Lea!
Closes #777.
The last contract account id was used instead of the first one for the Instantiated Event.
A
find_last
method was added in the events_types of subxt to lighten the current code and for block_types, here.