Changelog
July 16, 2019 ยท View on GitHub
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.AccountStatecontains the blob (raw bytes) as well as a decodedAccountResource - New struct
libra.AccountResourcecontains 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 alibra.AccountState - New function:
libra.FromAccountResourceBlob(accountResourceBlob []byte) (AccountResource, error)decodes an account resource blob into alibra.AccountResource
- New struct
- Added: Support for Go modules
- Improved:
Client.GetAccountState(accountAddr string)now returns an object of the newly addedlibra.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