vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
1. Is this really a bug? https://github.com/farcasterxyz/snapchain/issues/563 2. (After I know if it's a bug or not, I'll post it)
2 replies
0 recast
2 reactions

Sanjay pfp
Sanjay
@sanjay
You need to call GetShardChunks for shard id > 0, GetBlocks is only for shard 0. The blocks request shouldn't have a shard id in the params, I'll remove it.
1 reply
0 recast
0 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
Thank you, Sanjay. There are so many changes to the APIs since snapchain was introduced, and there's very little documentation. For example I wanted to do use Subscribe(), I noticed it does not exist any more. GetBlocks() looked like a replacement. Turns out I have to use GetShardChunks. There's constant friction every time I try to do something at the Snapchain level. :-(
2 replies
0 recast
1 reaction

Stephan pfp
Stephan
@stephancill
i was just trying to set up listening to blocks the other day ran into a bunch of very strange issues. eventually got something working, but resorted to polling for block height and getting missing shard chunks as subscribe didn't work for me
2 replies
0 recast
1 reaction

Sanjay pfp
Sanjay
@sanjay
Will DM
0 reply
0 recast
1 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
OK, so is Subscribe still working?
1 reply
0 recast
0 reaction