code-423n4 / 2024-07-traitforge-findings

2 stars 1 forks source link

Upgraded Q -> 2 from #1023 [1724081645126] #1041

Closed c4-judge closed 3 months ago

c4-judge commented 3 months ago

Judge has assessed an item in Issue #1023 as 2 risk. The relevant finding follows:

[L-02] Lack max generation check The generation of Entity can be over preset 10.

function _incrementGeneration() private {
    require(
        generationMintCounts[currentGeneration] >= maxTokensPerGen,
        'Generation limit not yet reached'
    );
    currentGeneration++;
c4-judge commented 3 months ago

koolexcrypto marked the issue as duplicate of #217