The get_all_plays script in the nba-smart-contracts returns an error. Is this because the amount of data returned is too large for the script (ie there are too many plays for the script to work as originally intended)?
script:
import TopShot from 0x0b2a3299cc857e29
pub fun main(): [TopShot.Play] {
return TopShot.getAllPlays()
}
error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (5966328 vs. 4194304)