Skip to content

Releases: Concordium/concordium-rust-smart-contracts

Release concordium-std-derive 5.1.0

14 Dec 08:16
Compare
Choose a tag to compare

concordium-std-derive 5.1.0 (2022-12-14)

  • Add a #[concordium_quickcheck] macro that re-exports a customized QuickCheck function
    test_infrastructure::concordium_qc as a #[concordium_test] function.
    It is enabled by the concordium-quickcheck feature.

Release concordium-std 5.0.0

21 Nov 09:27
66a9728
Compare
Choose a tag to compare

concordium-std 5.0.0 (2022-11-21)

  • Add upgrade method to HasHost for upgrading a smart contract instance to use a new smart contract module.
  • Support mocking upgrade calls in TestHost. An upgrade is mocked by specifying a module reference and a UpgradeResult as the outcome of upgrading to this module.
  • Add the chain queries account_balance, contract_balance and exchange_rates to HasHost for querying balances and the current exchange rates.
  • Support mocking chain queries account_balance, contract_balance and exchange_rates in TestHost. For each parameter a corresponding response can be setup.

Release concordium-std-derive 5.0.0

21 Nov 09:25
66a9728
Compare
Choose a tag to compare

concordium-std-derive 5.0.0 (2022-11-21)

  • Add support for event schemas (V3 schemas) in the schema derivation macro.

Release concordium-cis2 2.0.0

21 Nov 09:29
66a9728
Compare
Choose a tag to compare

concordium-cis2 2.0.0 (2022-11-21)

  • Update concordium-std to version 5.
  • Add From implementation from types implementing From<UpgradeError>, From<QueryAccountBalanceError> or From<QueryContractBalanceError> to Cis2Error.
  • Add SchemaType for Cis2Event<T, A>

Release concordium-std-derive 4.1.0

03 Nov 08:21
Compare
Choose a tag to compare

concordium-std-derive 4.1.0 (2022-10-31)

  • Allow #[concordium(state_parameter)]'s value be not just identifier but any type path
    for derive(DeserialWithState) and derive(Deletable) to generate implementations.

Release concordium-cis2 1.2.0

01 Sep 16:47
Compare
Choose a tag to compare

concordium-cis2 1.2.0

  • Add TokenAmountU256
  • Fix overflow during deserialization of amounts.

Release concordium-cis2 1.1.0

01 Sep 13:43
Compare
Choose a tag to compare

concordium-cis2 (2022-08-22)

  • Update concordium-std to version 4.
  • Support schemas for error types defined in the library.

Release concordium-cis2 1.0.0

12 Aug 13:40
Compare
Choose a tag to compare

Release concordium-std 3.1.0

08 Aug 09:56
Compare
Choose a tag to compare

concordium-std 3.1.0 (2022-08-04)

  • Change SchemaType implementation for cryptographic primitives to ByteArray, meaning that the primitives(e.g., hashes and signatures) are now supplied as hex strings in JSON.
  • Add Seek requirement for HasParameter.
  • Implement Seek for ExternParameter.
  • Add wrapper type TestParameterCursor instead of exposing Cursor directly, when using TestContext. This is changing the type returned by parameter_cursor for TestContext, but provides the same interface.

Release concordium-std-derive 3.1.0

08 Aug 09:55
Compare
Choose a tag to compare

concordium-std-derive 3.1.0 (2022-08-04)

  • Removed derive(Serial) and derive(Deserial) (moved to concordium-contracts-common-derive).