Skip to content

Releases: Concordium/concordium-base

concordium_base 3.0.0

21 Aug 09:41
90c37d4
Compare
Choose a tag to compare

Summary

Add support for protocol 6 and Web3ID. This release is a major release that also removes some deprecated functionality

Changes

  • Remove the constant MAX_ALLOWED_INVOKE_ENERGY since it was no longer
    relevant with the way the node currently handles the invoke API.
  • Add ED25519_SIGNATURE_LENGTH constant for the size of an ed25519 signature.
  • Add concordium_contracts_common::{Serial,Deserial} implementations to
    CredentialPublicKeys and AccountAccessStructure.
  • Add sign_data and generate methods to AccountKeys to sign arbitrary
    data, and to generate a fresh set of keys.
  • Add From<&AccountKeys> instance for AccountAccessStructure.
  • Add verify_data_signature function to verify a signature with account keys
    on arbitrary data.
  • Update notation of sigma protocols to better match the literature and the bluepaper.
  • Move all sigma protocols to a common sigma-protocol crate.
  • Move all range proof helper functions to range_proofs.
  • Add a new module web3id that defines types related to Web3ID and implements
    proving and verification functions.
  • Add a new module cis4_types that defines the interface types for CIS4
    compatible contracts.

concordium-wasm 3.0.0

21 Aug 09:23
f01c617
Compare
Choose a tag to compare

Summary

Add support for protocol 6.

Changes

  • validate_module is now parameterized by ValidationConfig which determines
    which Wasm features should be allowed. The currently supported configurable features are
    • allow access to globals (defined in the current module) in data and element
      initialization sections.
    • allow instructions defined in the sign extension operators
      Wasm proposal.
  • instantiate and instantiate_with_metering's return type is changed from
    Artifact to InstantiatedModule which adds metadata on top of the artifact.

concordium-smart-contract-engine 3.0.0

21 Aug 09:26
f01c617
Compare
Choose a tag to compare

Summary

Add support for protocol 6.

Changes

  • Functions that process V1 smart contract modules
    (invoke_receive_*_from_source and invoke_init_*_from_source) are now
    parameterized by a ValidationConfig which determines which Wasm features are
    allowed.
  • ReceiveParams is extended with support_account_signature_checks flag, that
    enables or disables two new operations that can be invoked. Querying account
    public keys and checking account signatures.
  • InvokeFailure is extended with two new variants
    SignatureDataMalformed and SignatureCheckFailed that can be triggered as a
    result of checking a signature.

concordium_base 2.0.0

16 Jun 13:32
Compare
Choose a tag to compare

Summary

  • Extend types UpdatePayload and UpdateType with variants introduced in protocol version 6.
  • Implement Serial and Deserial for num::rational::Ratio<u64> and Duration.
  • Introduce types for protocol version 6: Ratio, ChainParameterVersion2, GASRewardsCPV1, TimeoutParameters and FinalizationCommitteeParameters.
  • Bump concordium-contracts-common to version 7.

concordium-wasm 2.0.0

16 Jun 13:30
Compare
Choose a tag to compare

Summary

Bump concordium-contracts-common to version 7.

concordium-smart-contract-engine 2.0.0

16 Jun 13:31
Compare
Choose a tag to compare

Summary

Bump concordium-contracts-common to version 7.

concordium_base 1.2.0

08 May 06:49
d2663e5
Compare
Choose a tag to compare

Summary

This release brings a number of improved APIs and a bug fix for serialization in update instructions.
The concordium-contracts-common dependency is bumped to version 6, and no longer has the sdk feature. Using derive macros from that crate means that use concordium_base::contracts_common as concordium_std must be added to the modules where the derive macros are used.

Changes

  • Add helpers to extract policy from credentials.
  • Add helpers to TransactionTime to construct future timestamps relative to
    current time, and from a unix timestamp.
  • Add new_ helpers to cis2::TokenId to simplify the common case of token id
    construction from integral types.
  • Add new sigma protocol VecComEq for linking a vector commitment with individual commitments.
  • Add VecCommitmentKey for generating vector commitments.
  • Fix a serialization bug for UpdatePayload. The serialization did not match
    that of the node for AddIdentityProvider and AddAnonymityRevoker payloads.

concordium-wasm 1.1.0

08 May 06:40
d2663e5
Compare
Choose a tag to compare

Summary

Bump concordium-contracts-common to version 6.

concordium-smart-contract-engine 1.2.0

08 May 06:44
d2663e5
Compare
Choose a tag to compare

Summary

  • Bump concordium-contracts-common to version 6.

concordium base 1.1.1

13 Apr 12:24
Compare
Choose a tag to compare

This is a minor release that adds convenience functionality.

  • Add Serialize instances to Proof and Statement types, and its constituent
    parts (AtomicProof and AtomicStatement).
  • Deserial for BTreeMap and BTreeSet no longer requires Copy constraint.