Skip to content

Support multiple scoring chains#39

Merged
ma2bd merged 3 commits intolinera-io:mainfrom
ma2bd:multi_scoring_chains
Sep 23, 2025
Merged

Support multiple scoring chains#39
ma2bd merged 3 commits intolinera-io:mainfrom
ma2bd:multi_scoring_chains

Conversation

@ma2bd
Copy link
Contributor

@ma2bd ma2bd commented Sep 23, 2025

Motivation

Add flexibility in how we use scoring chain(s)

Proposal

  • Support several scoring chains
  • Let frontends pick the one their user should use (possibly none)

Test Plan

CI + manual tests

@ma2bd ma2bd force-pushed the multi_scoring_chains branch from f165583 to 225e99a Compare September 23, 2025 00:34
@ma2bd ma2bd force-pushed the multi_scoring_chains branch from 225e99a to d8d139a Compare September 23, 2025 00:38
@ma2bd ma2bd requested a review from deuszx September 23, 2025 00:38
@ma2bd ma2bd changed the title Multi scoring chains Support multiple scoring chains Sep 23, 2025
@ma2bd ma2bd merged commit 23cfb8a into linera-io:main Sep 23, 2025
2 checks passed
@ma2bd ma2bd deleted the multi_scoring_chains branch September 23, 2025 05:20
ma2bd added a commit that referenced this pull request Sep 23, 2025
## Motivation

Update the frontend to finish the work after #39

## Proposal

* Update the APP_ID and other constants to follow the new design
* Make the new app query the puzzles solved by the previous one
* Use 4 scoring chains

The description of the scoring chains and the mapping from user address
is in the web app itself. This means we can change it later.

CAVEAT: By allowing several scoring chains that can change, we're making
the tracking of scores in the portal more difficult in several ways.
* Old scoring chains must always be queried for some time because users
may still use the old app.
* When we change the set of chains, reports of solved puzzles may become
duplicated.

## Test Plan

Manually tested with test user (old app then new app)
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.

1 participant