Remove relayed v1 and v2 & other deprecated code#267
Merged
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Pull Request Overview
This PR removes deprecated relayed transaction functionality (v1 and v2) and other deprecated code from the MultiversX SDK. The changes align with the deprecation of relayed transactions v1 and v2 in favor of v3, and also clean up other deprecated methods.
- Completely removes relayed transactions v1 and v2 related code and tests
- Updates deprecated Address method calls to use the new preferred methods
- Removes deprecated Address methods from the API
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| multiversx_sdk/relayed/ | Complete removal of relayed transactions v1/v2 factory, controller, tests, and error classes |
| multiversx_sdk/entrypoints/entrypoints.py | Removes relayed controller and factory creation methods |
| multiversx_sdk/core/address.py | Removes deprecated from_bech32(), from_hex(), hex(), and bech32() methods |
| multiversx_sdk/core/message.py | Updates deprecated from_bech32() call to use new_from_bech32() |
| multiversx_sdk/abi/abi_test.py | Updates deprecated from_bech32() calls to use new_from_bech32() |
| multiversx_sdk/smart_contracts/smart_contract_transaction_factory_test.py | Updates deprecated from_bech32() call to use new_from_bech32() |
| multiversx_sdk/init.py | Removes imports and exports for deprecated relayed functionality |
andreibancioiu
approved these changes
Jul 25, 2025
danielailie
approved these changes
Jul 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relayed v1 and v2 have been deprecated for a while, and because they'll be disabled from the protocol, we've removed them completely. Relayed V3 should be used instead.
The deprecated methods from the
Addressclass have also been removed:from_bech32()from_hex()bech32()hex()