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

[4.0 -> 5.0] Fix non-working cleos set code and set abi commands, and add tests #1909

Merged
merged 10 commits into from
Nov 17, 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.

Merges fix from release/4.0 into release/5.0 including #1897.

In addition to the fix, tests are added in this PR for release/5.0 and main.

Resolves #1868.

tests/cleos_set_code_test.py Outdated Show resolved Hide resolved
tests/cleos_set_code_test.py Outdated Show resolved Hide resolved
tests/cleos_set_code_test.py Outdated Show resolved Hide resolved
@linh2931 linh2931 merged commit 1dba643 into release/5.0 Nov 17, 2023
29 checks passed
@linh2931 linh2931 deleted the merge_setcode_fix_to_5_0 branch November 17, 2023 13:15
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