Implement hive-internal protobuf support
New features
Added new functions to the main wax interface:
hive
hbd
vests
general_asset
cpp_validate_proto_operation
cpp_validate_proto_transaction
Added new structures to the main wax interface:
json_asset
JSON asset-related functions in wax were created to unify NAI-type JSON Asset creation in other languages (like Python and JavaScript/TypeScript). @kmochocki Please review and implement required functions on the python-side of the project
Added new npm versioning system (Done in pipelines)
Suggested naming conventions:
- master:
${LATEST_GIT_TAG}
, e.g.:1.27.5
- develop:
${LATEST_GIT_TAG}-stable.${GIT_HEAD_HASH}
, e.g.:1.27.5-stable.abcdef
- (any other branch):
${LATEST_GIT_TAG}-dev.${GIT_HEAD_HASH}
, e.g.:1.27.5-dev.abcdef
New CI script parses the LATEST_GIT_TAG
from the latest tag on the remote using the following RegEx to match the semver version: [0-9]+\.[0-9]+\.[0-9]+(-.+)?
(e.g. 1.27.5 -> 1.27.5
, v1.27.5 -> 1.27.5
, 1.27.5-rc0 -> 1.27.5-rc0
, 1.27.5a4-rc0 -> 1.27.5
)
Implemented google-protobuf operations and transactions validation
See: hb/protobuf-ts
Fixes
- Fixed Low and High bytes generation for integers in wax Node.js tests
Things to do before merge
- Add replacers for other static_variants like:
extensions
,pow2_work
etc. - (optionally) Add transcriptor for fc -> proto
- (optionally) integrate working protobuf types generation
Edited by Mateusz Tyszczak