artwook / ledger

Permissioned Ledger
MIT License
0 stars 0 forks source link

JS serialization check and develop for new objects and operations. #30

Closed hackfisher closed 7 years ago

hackfisher commented 7 years ago
  1. Asset manger objects and operations.
  2. Asset options new force_buyback flag.
  3. Asset force buyback operation and objects.
hackfisher commented 7 years ago

https://github.com/artwook/ledger/issues/14

https://github.com/artwook/ledger/issues/9

hackfisher commented 7 years ago

Related committed: From: https://github.com/artwook/ledger/commit/ebbe5e26a4aed066d2af77d8cc72e4c9c167da0f To: https://github.com/artwook/ledger/commit/961f015e8f7fc6d0a6d27dae2fb1bcea431c8218

AlexChien commented 7 years ago

@HackFisher programs/js_operation_serializer/js_operation_serializer should export operations / types in coffee script. But when I run it, nothing about the newly added operations / types are included. Can you take a look at the files in the directory and see if you need to include them?

hackfisher commented 7 years ago

wired, the newly added op/objects is in the output of js_operation_serializer, the required header files were included.

@AlexChien

...
    asset_manager_create: 45
    asset_manager_update: 46
    asset_manager_force_buyback_asset: 47
...
asset_manager_create_operation_fee_parameters = new Serializer(
    "asset_manager_create_operation_fee_parameters"
    fee: uint64
)

asset_manager_update_operation_fee_parameters = new Serializer(
    "asset_manager_update_operation_fee_parameters"
    fee: uint64
)

asset_manager_force_buyback_asset_operation_fee_parameters = new Serializer(
    "asset_manager_force_buyback_asset_operation_fee_parameters"
    fee: uint64
)
...
etc.