diff --git a/packages/ripple-binary-codec/src/enums/definitions.json b/packages/ripple-binary-codec/src/enums/definitions.json index df014bcd..3b626778 100644 --- a/packages/ripple-binary-codec/src/enums/definitions.json +++ b/packages/ripple-binary-codec/src/enums/definitions.json @@ -1457,6 +1457,16 @@ "isSigningField": true, "type": "Hash256" } + ], + [ + "TickSize", + { + "nth": 16, + "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, + "type": "UInt8" + } ] ], "TRANSACTION_RESULTS": { @@ -1551,7 +1561,8 @@ "temINVALID": -277, "tecINSUF_RESERVE_OFFER": 123, "tecNO_LINE_INSUF_RESERVE": 126, - "terNO_AUTH": -95 + "terNO_AUTH": -95, + "temBAD_TICK_SIZE": -270 }, "TRANSACTION_TYPES": { "OfferCancel": 8, diff --git a/packages/ripple-binary-codec/test/fixtures/data-driven-tests.json b/packages/ripple-binary-codec/test/fixtures/data-driven-tests.json index a5f34405..10b31c0b 100644 --- a/packages/ripple-binary-codec/test/fixtures/data-driven-tests.json +++ b/packages/ripple-binary-codec/test/fixtures/data-driven-tests.json @@ -937,6 +937,13 @@ "nth_of_type": 3, "type": 19, "expected_hex": "0313" + }, + { + "type_name": "UInt8", + "name": "TickSize", + "nth_of_type": 16, + "type": 16, + "expected_hex": "01010" } ], "whole_objects": [