Skip to content

breaking change in the latest implementation of ripple-binary-codec 2.4.0 #3011

@ihomp

Description

@ihomp

We found a breaking change in the latest implementation of ripple-binary-codec 2.4.0
after Permission Delegation implementation
new FIELDS were added to the definitions file

    [
      "PermissionValue",
      {
        "isSerialized": true,
        "isSigningField": true,
        "isVLEncoded": false,
        "nth": 52,
        "type": "UInt32"
      }
    ],

And without this field, no previous versions of the definitions files are going to be loaded, or working with the latest version of ripple-binary-codec
this.field['PermissionValue'].associatedType = this.delegatablePermissions

#2981

It would be nice to check if PermissionValue exists before adding it.

@ildaruz

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions