hirosystems / stacks-subnets

Stacks Subnets: a layer-2 scaling solution for Stacks, intended for high-throughput, low-latency workloads
http://docs.hiro.so
GNU General Public License v3.0
51 stars 13 forks source link

Use microblock state in read-only calls #298

Closed obycode closed 1 year ago

obycode commented 1 year ago

Read-only calls in a subnet should report state from unconfirmed microblocks, since they are considered reliable.

obycode commented 1 year ago

This also includes map and data var lookups.

jbencin commented 1 year ago

It's already possible to get microblock state for any API call if you include latest in the query string, but I can change this to be the default

obycode commented 1 year ago

Oh, that's awesome! Yeah, making that the default sounds good. Thanks

blockstack-devops commented 1 year ago

:tada: This issue has been resolved in version 0.8.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: