Skip to content

Conversation

@td202
Copy link
Contributor

@td202 td202 commented Jul 29, 2025

Purpose

Merge in the PLT feature branch. Also create a 9.0.7 release.

Changes

  • Remove plt from CI
  • Bump version to 9.0.7
  • All changes from PLT branch

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.

td202 and others added 30 commits May 1, 2025 11:53
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>
td202 and others added 26 commits July 21, 2025 16:48
Co-authored-by: Allan Rasmussen <allanbrondum@gmail.com>
Co-authored-by: Allan Rasmussen <allanbrondum@gmail.com>
…token-module

Charge energy immediatly in token module (COR-1653)
* 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>
* 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>
@td202 td202 merged commit 03da5cb into main Jul 29, 2025
3 checks passed
@td202 td202 deleted the plt-merge branch July 29, 2025 14:44
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.

8 participants