Skip to content

[2.6][T4] Misleading error message when updating a bridgechain not registered by the same business #3123

@Lemii

Description

@Lemii

Summary
When a business tries to update an existing bridgechain / ID that has not been registered with the same account, the following error is returned:

[
  {
    "type": "ERR_APPLY",
    "message": "Failed to apply transaction, because bridgechain is not registered error."
  }
]

This message implies that the bridgechain is not registered at all (it returns the same message when that is the case), while the issue it actually that the user is not the owner of the bridgechain.

Expected Behavior
Return a more accurate error message, describing that the account is not the owner of the bridgechain.

Your Environment
Devnet 2.6

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions