Skip to content

Releases: Concordium/concordium-smart-contract-tools

vscode-smart-contracts 3.0.1

29 Oct 13:12
25d81c4
Compare
Choose a tag to compare

Summary

Fix build for MacOS distribution of the extension.

  • Contains cargo-concordium version 4.0.0
  • Contains @concordium/ccd-js-gen version 1.2.1

Changes

  • Build cargo-concordium for ARM-based MacOS .

vscode-smart-contracts 3.0.0

11 Sep 12:34
8db2e99
Compare
Choose a tag to compare

Summary

Update tools

Changes

  • Contains cargo-concordium version 4.0.0
  • Contains @concordium/ccd-js-gen version 1.2.1

cargo-concordium 4.0.0

11 Sep 12:30
8db2e99
Compare
Choose a tag to compare

Summary

Introduce default values for several arguments for better developer experience.
Change cost configuration for local smart contract simulation to match the cost changes in Concordium Protocol Version 7.

Changes

  • Use smart contract v1 cost configuration when simulating locally (the reduce execution cost introduced as part of Concordium Protocol Version 7)
  • Added a --tag <RELEASE-TAG> option to cargo concordium init to allow specifying the release tag of the templates.
    Defaults to releases/templates/latest.
  • When running integration tests the module output path is now exposed to the
    tests via the CARGO_CONCORDIUM_TEST_MODULE_OUTPUT_PATH environment variable.
  • Add the default build output (--out <PATH>) path concordium-out/module.wasm.v1.
  • Change --out flag being optional when using the --verifiable flag.
  • Change --verifiable flag to use the default output path if the --out flag is not set.
  • Embed the schema in the Wasm module by default and can be disabled using the --no-schema-embed flag.
    The --schema-embed flag (short -e) is now deprecated.
  • Fixed long error message when the wasm32-unknown-unknown target is not installed.

cargo-concordium 3.3.0

25 Mar 12:01
Compare
Choose a tag to compare

Summary

Support for running unit tests which access the state of the contract and P7 support.

Changes

  • Bump minimum Rust version to 1.73.
  • Support state-related host functions when running unit-tests with cargo concordium test. Each test-case is provided with an empty temporary key-value store.
  • Support interrupt events to be introduced in protocol version 7.

vscode-smart-contracts 2.2.0

24 Jan 06:41
6f1ba52
Compare
Choose a tag to compare
  • Contains cargo-concordium version 3.2.0

  • Contains @concordium/ccd-js-gen version 1.2.0

  • Add support for generating TypeScript/JavaScript clients for smart contract modules via the ccd-js-gen tool.

    • Adds two commands: one for generating ts/js clients, and one for getting the version of the ccd-js-gen executable.
    • Adds settings for using a custom ccd-js-gen executable and to provide additional arguments when running it.
    • Adds a task for running the ccd-js-gen tool.

cargo-concordium 3.2.0

22 Jan 20:27
Compare
Choose a tag to compare

Summary

The major feature of this release is support for debug output when compiling and testing smart contract locally.
To make use of this the smart contract must be built using concordium-std version 9 or higher.

Changes

  • Fix a bug so that a non-zero status code is now returned by cargo concordium test if tests fail.

  • Add support for running contracts while collecting debug output. Contracts can
    be built with debugging support enabled by using the --allow-debug flag that
    is supported both by cargo concordium build and cargo concordium test.

    When this flag is enabled in tests debug output is emitted at the end of the
    test. Additionally, when running tests cargo-concordium will set
    CARGO_CONCORDIUM_TEST_ALLOW_DEBUG environment variable for all the tests.

vscode-smart-contracts 2.1.0

31 Oct 12:58
120ee7a
Compare
Choose a tag to compare

Contains cargo-concordium version 3.1.4

cargo-concordium 3.1.4

27 Oct 13:18
Compare
Choose a tag to compare

Summary

Add support for verifiable builds.

See README for details.

vscode-smart-contracts 2.0.0

21 Aug 11:47
1968790
Compare
Choose a tag to compare

Contains cargo-concordium version 3.0.0

cargo-concordium 3.0.0

21 Aug 10:30
Compare
Choose a tag to compare

Summary

Add support for protocol 6 semantics, and better support for schema output.

Changes

  • Add support for --manifest-path flag.
  • Add schema-template command to print the template of a given schema to a file or the console.
  • Add --schema-template-out option to cargo concordium build to optionally output the schema template to a file or the console.
  • Make cargo-concordium compatible with protocol 6 semantics on the chain.
    In particular cargo-concordium now does validation according to protocol 6 rules, allowing sign extension instructions, disallowing globals in initializers of data and element segments, and allows host functions for checking account signatures, and retrieving account keys.