Content
@
0 reply
20 recasts
20 reactions
nikolaii.eth π
@nikolaii.eth
@sanjay @neynar It looks like the snapchain does not respect pageSize, startTimestamp, stopTimestamp parameters for the castsByFid. I switched my miniapps to use it yesterday and was surprised by the credit usage on @neynar snapchain api (attached) and also by slowdown of the miniapp. Looks like whatever parameters I am giving I get the whole list of all the casts by the user. Also launched my own snapchain server and getting the same results from it. Please check! Other Devs - can you please check and confirm?
4 replies
2 recasts
47 reactions
Sanjay
@sanjay
Will investigate. Is this http api or grpc or both?
2 replies
0 recast
1 reaction
nikolaii.eth π
@nikolaii.eth
looking at the code it seems that all the parameter names are changed: pageSize is now page_size and it works like this. Will it be changed back to old (hubble-like) naming?
1 reply
0 recast
0 reaction
Sanjay
@sanjay
Ah. Hubble was using a mix of camel and snake case. We converted everything to snake case for consistency in snapchain. We shouldβve preserved backwards compatibility. Sorry about that. Please switch to snake case. Let me know if itβs not possible, we can patch to respect both.
2 replies
0 recast
1 reaction