Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.6 KB

CHANGELOG.md

File metadata and controls

35 lines (24 loc) · 1.6 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

vNext

v0.2.0 (2019-07-16)

  • Added: Decoding of an account state and resource into proper objects (issue #1)
    • New struct libra.AccountState contains the blob (raw bytes) as well as a decoded AccountResource
    • New struct libra.AccountResource contains the account's balance, auth key, sent and received events, as well as sequence number
    • New function: libra.FromAccountStateBlob(accountStateBlob []byte) (AccountState, error) decodes an account state blob into a libra.AccountState
    • New function: libra.FromAccountResourceBlob(accountResourceBlob []byte) (AccountResource, error) decodes an account resource blob into a libra.AccountResource
  • Added: Support for Go modules
  • Improved: Client.GetAccountState(accountAddr string) now returns an object of the newly added libra.AccountState
  • Improved: Updated gRPC definition files and generated Go code to Libra commit 4e27604264bd0a5d6c64427f738cbc84d9258a61

Breaking Changes

  • The return type of Client.GetAccountState(accountAddr string) was changed from ([]byte, error) to (AccountState, error) (for issue #1)

v0.1.0 (2019-06-23)

Initial release.

Features:

  • Get account state as slice of bytes
  • Send raw transaction