ApeWorX / ApeWorX/py-tokenlists

bump version function doesn't work

Open Beginner friendly
#46 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
33
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### What went wrong?

Since `TokenListVersion` is a frozen model, `TokenList.bump_version` fails

### How can it be fixed?

Make it not frozen, no reason for it to be

Contributor guide

Open the contributing guide

Research direction

Start at the TokenListVersion model and the TokenList.bump_version function named in the issue. Confirm how the frozen model causes bump_version to fail, then verify that bump_version succeeds after the model is made mutable and that existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.