Skip to content

Remove relayed v1 and v2 & other deprecated code#267

Merged
popenta merged 2 commits into
feat/nextfrom
remove-relayed-v1-and-v2
Jul 25, 2025
Merged

Remove relayed v1 and v2 & other deprecated code#267
popenta merged 2 commits into
feat/nextfrom
remove-relayed-v1-and-v2

Conversation

@popenta

@popenta popenta commented Jul 25, 2025

Copy link
Copy Markdown
Collaborator

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 Address class have also been removed:

  • from_bech32()
  • from_hex()
  • bech32()
  • hex()

@popenta popenta self-assigned this Jul 25, 2025
@github-actions

Copy link
Copy Markdown

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  multiversx_sdk
  __init__.py
  multiversx_sdk/core
  address.py
  message.py
  multiversx_sdk/entrypoints
  entrypoints.py
Project Total  

This report was generated by python-coverage-comment-action

@andreibancioiu
andreibancioiu requested a review from Copilot July 25, 2025 07:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

@popenta
popenta merged commit 6490818 into feat/next Jul 25, 2025
7 checks passed
@popenta
popenta deleted the remove-relayed-v1-and-v2 branch July 25, 2025 07:53
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.

4 participants