XRPL-Labs / xrpld-hooks

ISC License
94 stars 28 forks source link

wasm with missing .data section always fails SetHook checks #22

Closed RichardAH closed 1 year ago

RichardAH commented 2 years ago

Issue Description

wasm with missing .data section always fails SetHook checks

Steps to Reproduce

Set the following hook

0061736d0100000001130360017e017e60027f7f017f60037f7f7e017e02
170203656e7606616363657074000203656e76025f670001030302000005
03010000071803066d656d6f72790200046362616b000204686f6f6b0003
0a1c02040042010b150041004100420010001a410e41e40010011a42010b

Expected Result

SetHook should succeed

Actual Result

SetHook fails on short check

Environment

Supporting Files

RichardAH commented 1 year ago

this appears to be fixed