In This Release
This is update is focused on better RIDE 4dApps developer experience.
- dApp's scripts can now be invoked through alias:
invokeScript({
dappAddress: "superweb3app",
call:{function:"gowaves",args:[]}, payment: []},
userSeed
)
- New
@Default
annotation function to dApp added. This allows client to invoke dApp's by its address/alias
invokeScript({
dappAddress: "superweb3app",
call:null,
userSeed
)
The way of defining default function in script is subjected to change in the future releases.
- Binary operations order during compilation changed to ones in Java
- Seriliazation of invokeScriptTransaction has been changed
- Various node & blockchain optimizations
- Bugfixes
RIDE API
Invocation
of@Callable
now containstransactionId
,fee
,feeAssetId
assetInfo(assetId: ByteVector) : AssetInfo | Unit
BlockInfo
structure with fieldsheight
,timestamp
andgenerationSignature
addedlastBlock
value now available in global scopeblockInfoByHeight(h: Int): BlockInfo | Unit
function added
More info available at https://docs.wavesplatform.com
Monitoring tools for ScriptInvocationTransaction
To debug results of ScriptInvocationTransactions (transfers and state changes) with your node through REST APIs:
- GET
/debug/stateChanges/info/{transactionId}
- GET
/debug/stateChanges/address/{address}/limit/{limit}
ensure the following flags are set to true:
waves {
db {
store-transactions-by-address = true
store-invoke-script-results = true
}
}
Tools:
- Fully functional IDE is currently available at https://testnet.ide.wavesplatform.com/
- JS library for creating and signing transactions: https://www.npmjs.com/package/@waves/waves-transactions
- Compatible version of WavesKeeper can be downloaded here:
Chrome, FireFox, Opera, Edge
Update Notes
When updating from any previous version, node owners need to perform one of these actions:
- rebuild from scratch
- import a blockchain snapshot or use
blockchain.dat
from http://blockchain.testnet.wavesnodes.com/
more on this in the docs
SHA256 Checksums
6e267fa7313285dcfe966879ec0260e369dcda17fbbd993053c97220899d359a waves-all-0.17.2.jar
7752896584f5641ea56c5c4585bb6bd64a27df8a3c60e6eb401756e09ea17c00 waves-testnet_0.17.2_all.deb