-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
js_operation_serializer outdates #1701
Comments
Still missing: #947 |
It was my understanding that the sole purpose of If the output of
|
|
@sschiessl-bcp can you comment? Do you need the serializer? Which output format do you need / would you prefer? |
The serializer comes it handy for adjusting and should be maintained. I have not checked how it deviates, but I assume it is only in the formatting since we have introduced the prettifier hook. Best case would be if it matches of course, but it would also be accepable to run the prettifier hook manually once before comparing it. |
This pull request was mostly generated by the serializer in this PR: |
Should the serializer produce output identical to that file then? |
That would probably be the best, I only made changes so that the output is no longer in CoffeeScript but rather in ES/Javascript. Someone else would need to follow up on this. You can find a quick diff here: Ignore the stuff at the top. Down the file, lots of whitespace/wrapping differences that could potentially be resovled by jslint |
There is a document mentioned a step to convert generated coffee script to javascript: #1701 (comment) |
Edited OP to make this a user story. |
See #1133 for some steps in the right (I hope) direction. |
Mentioned in bitsharesjs: https://github.com/bitshares/bitsharesjs/blob/master/lib/serializer/src/operations.js#L59-L61
|
@abitmore thanks for the comment. Closing this pull request. |
As commented in #1702 I'd like to keep this open for a complete solution. |
i've been involved into adding htlc features to ui so this also affected adding this ops to bitsharesjs. From what i've seen - everything works perfect, except PS. now output of |
There are currently no extensions defined for HTLC operations. The In any case it would be great if someone from the UI team could take up this issue. You guys know best what you need. |
@pmconrad im talking not about htlc concretly here. serializer doesn't handle extensions at all. Now output of this program cannot be used directly in bitsharesjs |
As a UI developer I want to have https://github.com/bitshares/bitsharesjs/blob/master/lib/serializer/src/operations.js automatically generated by
js_operations_serializer
from core.Impacts
Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
JS client development
Cross references:
graphene::chain::extension
struct #947CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: