Skip to content

v1.10.0

Compare
Choose a tag to compare
@colindickson colindickson released this 28 Aug 14:49

Server

  • Add sf.substreams.rpc.v2.EndpointInfo/Info endpoint (if the infoserver is given as a module, i.e. from firehose-core)
  • Add an execution timeout of 3 minutes per block by default (can be overriden in tier1/tier2 Configs) -- this is useful when an external (eth_call) is stuck on a forked block hash.
  • Revert 'initialBlocks' changes from v1.9.1 because a 'changing module hash' causes more trouble.
  • Wazero: bump v1.8.0 and activate caching of precompiled wasm modules in /tmp/wazero to decrease compilation time
  • Metering update: more detailed metering with addition of new metrics (live_uncompressed_read_bytes, live_uncompressed_read_forked_bytes, file_uncompressed_read_bytes, file_uncompressed_read_forked_bytes, file_compressed_read_forked_bytes, file_compressed_read_bytes, file_uncompressed_write_bytes, file_compressed_write_bytes). DEPRECATION WARNING: bytes_read and bytes_written metrics will be removed in the future, please use the new metrics for metering instead.
  • Manifest reader: increase timeout of remote spkg fetch to 5 minutes, up from 30 seconds

Client

  • Add substreams auth command, to authenticate via thegraph.market and to get a dev API Key.
  • Rename --discovery-endpoint into codegen-endpoint in substreams init command.
  • Add substreams codegen subgraph command that takes a substreams module and an spkg and that generates a simple subgraph from the module output.
  • On substreams init command, if flag --state-file is provided, the state file is used by default for project generation.
  • In substreams init command, the state file is named using a Date format and not using Unix anymore.
  • Tools->prometheus: added the possibility to override the start-block on an endpoint