Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions rust-src/concordium_base/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
## Unreleased
- `cbor::cbor_encode` is now infallible and returns `Vec<u8>` instead of `CborSerializationResult<Vec<u8>>`
- Removed the module `upward`. This will be added to Rust SDK crate instead.
- Changes to `protocol_level_tokens` module:
- Removed the usage of `Upward` in `TokenOperations` type. To CBOR decode and allow unknown variants,
the new function `TokenOperationsPayload::decode_operations_maybe_known` can be used instead.
- Removed the types `TokenModuleRejectReason`, `TokenEvent`, `TokenEventDetails`, `TokenModuleEvent`. These types
will be moved to the Rust SDK crate.
- Renamed the existing type `TokenModuleEventType` that contains full token module events to `TokenModuleEventEnum` and
created a new `TokenModuleEventType` that is only the type of event. The new methods
`TokenModuleEventEnum::encode_event` and `TokenModuleEventEnum::decode_event` allows CBOR encoding from and CBOR decoding
to `TokenModuleEventEnum`. The new methods `TokenModuleEventType::to_type_discriminator` and
`TokenModuleEventType::try_from_type_discriminator` allows converting between `TokenModuleEventType`
and `TokenModuleCborTypeDiscriminator`.
- Renamed the existing type `TokenModuleRejectReasonType` that contains full token module reject reasons to `TokenModuleRejectReasonEnum` and
created a new `TokenModuleRejectReasonType` that is only the type of reject reason. The new methods
`TokenModuleRejectReasonEnum::encode_reject_reason` and `TokenModuleRejectReasonEnum::decode_reject_reason` allows CBOR encoding from and CBOR decoding
to `TokenModuleRejectReasonEnum`. The new methods `TokenModuleRejectReasonType::to_type_discriminator` and
`TokenModuleRejectReasonType::try_from_type_discriminator` allows converting between `TokenModuleRejectReasonType`
and `TokenModuleCborTypeDiscriminator`.

## 10.0.0 (2026-01-09)

Expand Down
1 change: 0 additions & 1 deletion rust-src/concordium_base/src/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ pub type size_t = usize;
/// Module that provides a simple API for symmetric encryption in the output
/// formats used by Concordium.
pub mod encryption;
pub mod upward;
334 changes: 0 additions & 334 deletions rust-src/concordium_base/src/common/upward.rs

This file was deleted.

Loading
Loading