This repository was archived by the owner on Nov 5, 2024. It is now read-only.
Major Update - Return Value
Interaction Return Value
sendTransaction and executeScript functions now return a tuple of [result, error]. As do the following functions:
-
updateContract
-
setBlockOffset
-
registerContract
-
mintTokens
-
initManager
-
deployContract
-
createAccount
-
setBlockOffset
-
mintFlow
-
getManagerAddress
-
getContractAddress
-
getBlockOffset
-
getBalance
-
getAccountAddress
-
checkManager
-
getBlockOffset
-
getFlowBalance
Any code that relies upon checking the result of any of these functions and expects only the result returned will need to be refactored.
Jest asserts were updated accordingly, but if you were writing your own you will need to update them.
For examples of new usage see the script, transaction and api documentation.