Skip to content

Version 0.10.0

Choose a tag to compare

@turbolent turbolent released this 04 Nov 22:52
· 1838 commits to master since this release

SDK Compatibility

Flow Go SDK v0.6.0 Flow Go SDK v0.7.0 Flow Go SDK v0.7.1 Flow Go SDK v0.8.0 Flow Go SDK v0.9.0

🛠 Improvements

Adjust service key configuration logic

Previously it was difficult to determine how the service key flags were being parsed and applied to the emulator configuration. This release updates the logic to be more explicit.

  • If either service-priv-key or service-pub-key is passed, the service-sig-algo and service-hash-algo flags must also be set.
  • If neither service-priv-key or service-pub-key is passed, a new key is generated using the algorithms specified by service-sig-algo and service-hash-algo.

Remove hardcoded flags from Docker image

Previously the Docker image specified the following CMD entrypoint:

CMD ["emulator", "start", "--init", "--persist"]

This forced the Docker image to always use persistent storage. The --persist flag was removed to allow the user to specify persistence via an environment variable (FLOW_PERSIST=true), and --init was removed because it no longer has any effect now that the emulator is decoupled from the Flow CLI.