@acala-network/chopsticks-core • Docs
@acala-network/chopsticks-core / decodeBlockStorageDiff
Function: decodeBlockStorageDiff()
decodeBlockStorageDiff(
block
,diff
):Promise
<object
[]>
Decode block storage diff
Parameters
• block: Block
Block to compare storage diff
• diff: [`0x${string}`, null
| `0x${string}`][]
Storage diff
Returns
Promise
<object
[]>
decoded old state and new state