ChainSafe / ChainSafe/gossamer

polkadot.js/api error when calling childstate functions

Open
#2,537 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug

- When calling polkadot.js/api childstate functions:
- api.rpc.childstate.getKeys
- api.rpc.childstate.getStorage
- api.rpc.childstate.getStorageHash
- api.rpc.childstate.getStorageSize

Error is returned: `RpcError: -32600: illegal base64 data at input byte 0: ["0x00","0x","0x0000000000000000000000000000000000000000000000000000000000000000"]`

## Expected Behavior

- Should return results without error.

## Current Behavior

- Returns error: `RpcError: -32600: illegal base64 data at input byte 0: ["0x00","0x","0x0000000000000000000000000000000000000000000000000000000000000000"]`

## Specification

- gossamer version: runtime v0.9.19
- polkadot/api version: 8.3.1
-

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.