Skip to content

Version 0.20.2

Compare
Choose a tag to compare
@sideninja sideninja released this 11 May 20:57
· 4385 commits to master since this release

⬆️ Install or Upgrade

Follow the Flow CLI installation guide for instructions on how to install or upgrade the CLI.

⭐ Features

New Gas Limit Flag

Gas limit flag --gas-limit was added to flow transactions send and flow transactions build. You can now use this flag to specify a non-default value for transaction gas.

🐞 Bug Fixes

JSON output format

Fixes invalid JSON outputs for Cadence values. Cadence values are now being serialized using Cadence serializer and results look like this:

{
   "type":"Array",
   "value":[
      {
         "type":"Struct",
         "value":{
            "id":"s.1cdf99881a58658ba683b6a52fee13cfdfddf61b9ff1d25d2109a5c7628642e4.SomeStruct",
            "fields":[{
                  "name":"value",
                  "value":{
                     "type":"Int",
                     "value":"2"
                  }
               },{
                  "name":"name",
                  "value":{
                     "type":"String",
                     "value":"Foo"
                  }
               },{
                  "name":"owner",
                  "value":{
                     "type":"Address",
                     "value":"0x0000000000000001"
                  }
               }
            ]
         }
      }
   ]
}

or for simple case:

{"type":"Address","value":"0x0000000000000001"}

CLI Library bugfix

CLI library "send with address and code" function was fixed.

Documentation Updates

Minor documentation fixes.

🛠 Improvements

  • Update cadence/languageserver to v0.15.2
  • Update to Go SDK v0.19.0
  • Increase grpc max message size to 16MB