Phala-Network / phat-offchain-rollup

Phat Contract Offchain Rollup implementation
Apache License 2.0
18 stars 13 forks source link

Fix sub rollup storage key calculation #20

Closed tolak closed 1 year ago

tolak commented 1 year ago

This PR is going to fix the storage key hash function we use to fetch off-chain pallet storage data, e.g. change Blake2_128 to Blake2_128Concat. As we fixed the storage key calculation on pink-subrpc 0.4.2, if hash function we use is not correct, the data query will fail.