Releases: Moonsong-Labs/moonwall
@moonwall/cli@0.5.16
Patch Changes
- 881b0e3: Added Viem as provider type
@moonwall/util@0.5.15
Patch Changes
- 7e3ed8c: Removed pointless logging spam
@moonwall/util@0.5.14
Patch Changes
-
be3aff0: Added custom RPC support
As described here we can now added custom RPC methods in the
moonwall.config.json
file.This can be done by adding the Module and Method details to the provider config as specified in connections:
"connections": [ { "name": "para", "type": "moon", "endpoints": ["ws://127.0.0.1:9944"], "rpc": { "moon": { "isTxFinalized": { "description": "Just a test method", "params": [ { "name": "txHash", "type": "Hash" } ], "type": "bool" } } } } ]
ℹ️ Whilst this allows you to send RPC commands via the API, it will not automatically decorate the API in typescript, and will give you errors. Use
// @typescript-expect-error
to stop in-editor errors until a proper api-augment package is developed for your project.
⚠️ Even if you define a custom method, it will only be callable if it is being returned in the list byapi.rpc.rpc.methods()
which is the list of known RPCs the node exposes. -
b872b17: Upgrades
Fixes for:
@moonwall/cli@0.5.15
@moonwall/cli@0.5.14
Patch Changes
-
be3aff0: Added custom RPC support
As described here we can now added custom RPC methods in the
moonwall.config.json
file.This can be done by adding the Module and Method details to the provider config as specified in connections:
"connections": [ { "name": "para", "type": "moon", "endpoints": ["ws://127.0.0.1:9944"], "rpc": { "moon": { "isTxFinalized": { "description": "Just a test method", "params": [ { "name": "txHash", "type": "Hash" } ], "type": "bool" } } } } ]
ℹ️ Whilst this allows you to send RPC commands via the API, it will not automatically decorate the API in typescript, and will give you errors. Use
// @typescript-expect-error
to stop in-editor errors until a proper api-augment package is developed for your project.
⚠️ Even if you define a custom method, it will only be callable if it is being returned in the list byapi.rpc.rpc.methods()
which is the list of known RPCs the node exposes. -
b872b17: Upgrades
Fixes for: -
Updated dependencies [be3aff0]
-
Updated dependencies [b872b17]
- @moonwall/util@0.5.14
@moonwall/util@0.5.13
Patch Changes
- 5f7d3b5: Types
@moonwall/cli@0.5.13
@moonwall/util@0.5.9
Patch Changes
- 0686a87: added blockCheck skip for zombie tests
@moonwall/util@0.5.8
Patch Changes
- bb2ff9e: Changed to peer deps
@moonwall/util@0.5.10
Patch Changes
- a9314cf: removed annoying logging lines