Repository navigation
WIP: Release/p11 - #956
Draft
soerenbf wants to merge 362 commits into
Draft
WIP: Release/p11#956soerenbf wants to merge 362 commits into
soerenbf wants to merge 362 commits into
Conversation
…bor-token-authorizations-in-base Add type TokenAuthorizations with CBOR encoding
…nodeconsensus-extend-grpc-queries-to-include-rbac Define internal serialization for TokenAuthorizations
…tadataEventDetails
* 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.
Fix UpdateMetadata
…bility, and CborMemo
P11 merge main
Lock operation costs
Merge p11 main
Lock discoverability
Change `operations` builder module to return operation input
…locks Add lock unlock and destruction block special events
Lock cancel base cost
Add `Buffer` impl for byte slice
Add `SliceBuffer` type that allows consumers to handle overflows
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Collects changes for protocol version 11
Checklist
hard-to-understand areas.