Skip to content

WIP: Release/p11 - #956

Draft
soerenbf wants to merge 362 commits into
mainfrom
release/p11
Draft

soerenbf wants to merge 362 commits into
mainfrom
release/p11

Conversation

@soerenbf

Copy link
Copy Markdown
Contributor

Purpose

Collects changes for protocol version 11

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

limemloh and others added 30 commits March 23, 2026 12:55
…bor-token-authorizations-in-base

Add type TokenAuthorizations with CBOR encoding
…nodeconsensus-extend-grpc-queries-to-include-rbac

Define internal serialization for TokenAuthorizations
* Fail if we use musl platform target

* Remove musl build variant

* Remove musl build variant

* print toolchain
Add CborSerialize/CborDeserialize derive macros to TransactionTime with
#[cbor(transparent, tag = EPOCH_TIME_TAG)] to encode as #6.1(uint) per
RFC 8949. Needed for lock expiry in the PLT lock state model.
Create the protocol_level_locks module and implement LockId as a
named-field struct with manual CborSerialize/CborDeserialize for tagged
3-element array encoding. Add Hash derive to Nonce and AccountIndex.
Co-authored-by: Søren Bruus Zeppelin <sz@concordium.com>
Implement capability enum with Fund, Return, Send, Cancel variants.
Manual CBOR impl encodes as lowercase text strings matching the CDDL
schema. Serde support gated behind serde_deprecated feature flag.
Add grant struct with account and roles fields. Uses derive-based CBOR
map encoding. Serde support gated behind serde_deprecated feature flag.
Implement the SimpleV0 lock controller with grants, tokens, keepAlive,
and optional memo fields. Manual CBOR impl handles keepAlive defaulting
to false when omitted. Also add CBOR support for TokenId.
Implement top-level controller enum with SimpleV0 variant using
#[cbor(map)] derive for single-entry CBOR map encoding with
"simpleV0" as the discriminator key.
Implement top-level lock configuration composing recipients, expiry,
and controller. Uses derive-based CBOR map encoding. Completes the
lock type hierarchy.
Expand module-level doc comment to describe the purpose of the lock
types module and list all key types with their roles.
Change `operations` builder module to return operation input
…locks

Add lock unlock and destruction block special events
Add `SliceBuffer` type that allows consumers to handle overflows

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants