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

[3.2 -> 4.0] Fix non-working cleos set code and set abi commands #1900

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

linh2931
Copy link
Member

Cleos set code and set abi have not worked since release/3.2. The root cause is the common code set_code_callback for set contract and set code assumes contract-dir argument which is only applicable to set contract; and the common code set_code_callback for set abi and set code assumes contract-dir argument too.

This PR fixes the problem.

The fix has been tested manually. CI tests will be added to release/5.0 to minimize changes to 4.0.

Merges release/3.2 into release/4.0 including #1897

Resolves #1868.

@linh2931 linh2931 merged commit 9109365 into release/4.0 Nov 14, 2023
16 checks passed
@linh2931 linh2931 deleted the merge_set_code_abi_fix_to_4_0 branch November 14, 2023 16:22
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.

3 participants