We have been testing out the WS Provider in POlkadotJS and its working good with our custom pallets. However we just got substrate Connect working with our custom substrate based node. The assets pallet and the Nicks pallet are working with Connect, however when we are trying to query anything in our custom pallets we are getting no data returned when there is data returning from the saem query with the PolkadotJS WS Connect Provider
our query is like this
let res = await api.query.messages.messageHeaders.entries(address)
do those commands work on Connect?
Here is the code for connecting to SC
const customSpec = JSON.stringify(jsonCustomSpec);
const provider = new ScProvider(Sc, customSpec);
await provider.connect();
const api = await ApiPromise.create({provider});
this part works. and we can query the standard frame pallets just fine. Getting the account balance or assets works with Connect.