-
Notifications
You must be signed in to change notification settings - Fork 25
Merge the PLT feature branch #1447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
transfer/mint/burn implementations
Plt module account queries
Implement GetTokenInfo.
PLT DevNet release 9.0.0
Basic support for token governance transactions in scheduler
Make token state table nullable
`GetAccountInfo` returns state from the token module.
…ence (#1386) Co-authored-by: drsk <rsk@concordium.com>
Update to LTS 24.0, GHC 9.10.2
Co-authored-by: Allan Rasmussen <allanbrondum@gmail.com>
Co-authored-by: Allan Rasmussen <allanbrondum@gmail.com>
mac Jira-Id: COR-1669
Fix mac build
…token-module Charge energy immediatly in token module (COR-1653)
Set the P8->P9 update hash.
Token id should be normalized (COR-1670)
* implementation of `touch` Adds definitions and implementation of the `touchTokenAccount` operation in the token kernel and the block state operations. The interface in the kernel is ``` touch :: PLTAccount m -> m Bool ``` The return value indicates whether the account already had a token balance associated (False) or if a zero account balance was newly created (True). * `touch` account before `setAccountState` * extend trace tests * added changelog entry * address review Added a new function `updateTokenAccountState` to Persistent/Account.hs that deals with updating the token account state table. The function is then used in Persistent/BlockState.hs abstractions for the persistent account versions. * format * Update concordium-consensus/src/Concordium/GlobalState/Persistent/Account.hs Co-authored-by: Thomas Dinsdale-Young <td202@users.noreply.github.com> * move updateTokenAccountState to Account.ProtocolLevelTokens --------- Co-authored-by: drsk <rsk@concordium.com> Co-authored-by: Thomas Dinsdale-Young <td202@users.noreply.github.com>
Update P8->P9 specification hash
* COR-1345: verify tx for CreatePLT in TransactionVerifier We add an additional check in the verifyChainUpdate function for txs with payloads of type CreatePLTUpdatePayload and assert that the effective time of the transaction is zero in this case. * update changelog * address review comments * new unit tests for transaction verification At this point this only tests the new verification for CreatePLT. * Update concordium-consensus/tests/consensus/ConcordiumTests/KonsensusV1/TransactionProcessingTest.hs Co-authored-by: Thomas Dinsdale-Young <td202@users.noreply.github.com> * add guard for spv >= P9 * add P7 back in tests --------- Co-authored-by: drsk <rsk@concordium.com> Co-authored-by: Thomas Dinsdale-Young <td202@users.noreply.github.com>
DOBEN
approved these changes
Jul 29, 2025
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
Merge in the PLT feature branch. Also create a 9.0.7 release.
Changes
pltfrom CIChecklist
hard-to-understand areas.