SIGN IN SIGN UP

graph, runtime, core: introduce VidGenerator for shared VID sequences

Replace the per-EntityCache vid_seq and seq fields with a shared
VidGenerator backed by Arc<AtomicU32>. Created once per block and
cheaply cloned across all EntityCache instances, this eliminates VID
collisions in ipfs.map() callbacks and offchain triggers without
manual sequence threading.
D
David Lutterkort committed
69ddb1b77fc6e36c87ee61b618b4ff36e3f3f86e
Parent: 4db386b