Closed andiflabs closed 1 week ago
This was introduced here, https://github.com/iron-fish/ironfish/pull/1155/files#diff-37121b9a047d787288b096b47cdc558dfc452d21e069ef2045b87a49e13394a8L113
It looks like it might have been a copy paste error that prevented this from getting plumbed through and handled here. https://github.com/iron-fish/ironfish/pull/1155/files#diff-37121b9a047d787288b096b47cdc558dfc452d21e069ef2045b87a49e13394a8R147 It worked fine in the JSON messages because we never validated the incoming message types.
Summary
Job.abort()
sends aJobAborted
request to the worker.Worker.onMessageFromParent()
is able to handle such requests, butWorker.parseRequest()
rejects them. FixedWorker.parseRequest()
so that such requests are no longer rejected.Also fixed
JobAbortedMessage.deserializePayload()
to return the correct type.Testing Plan
Documentation
N/A
Breaking Change
N/A