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

Revert interface change of abi_serializer for tester #742

Merged
merged 2 commits into from
Feb 23, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Feb 23, 2023

The recent change to abi_serializer #696 Specifically the change 62903c0 caused existing test cases that use contract tester to not compile.

This PR reverts the changes to abi_serializer deprecated methods and changes abi_serializer constructor and set_abi to take abi_def by value instead of rvalue reference. This should allow existing users of contract tester to not have to update their test code.

Resolves #741

…rvalue reference to value so backward compatible for those using abi_serializer via tester.
@heifner heifner requested a review from spoonincode February 23, 2023 13:37
@heifner
Copy link
Member Author

heifner commented Feb 23, 2023

@heifner heifner requested a review from greg7mdp February 23, 2023 14:50
@greg7mdp
Copy link
Contributor

greg7mdp commented Feb 23, 2023

What was the compilation issue with the previous version? never mind just looked at the issue

Copy link
Member

@spoonincode spoonincode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@heifner heifner merged commit a3e0756 into main Feb 23, 2023
@heifner heifner deleted the GH-741-abi-serializer branch February 23, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

change on main's abi_def(?) causing native contract unit tests for system contracts to fail compile
3 participants