Skip to content
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

πŸ™…πŸ»β€β™‚οΈ Add end block check on participations #424

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

JuaniRios
Copy link
Contributor

@JuaniRios JuaniRios commented Oct 18, 2024

What?

Disallow participations done after the round end, and before the project was transitioned to a new state

Why?

This was unintended behavior

How?

One more ensure in each function. Quite simple

Testing?

One new failure test for evaluate/bid/contribute

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JuaniRios and the rest of your teammates on Graphite Graphite

@JuaniRios JuaniRios changed the title Add end block check on participations πŸ™…πŸ»β€β™‚οΈ Add end block check on participations Oct 18, 2024
@JuaniRios JuaniRios self-assigned this Oct 18, 2024
@JuaniRios JuaniRios requested a review from lrazovic October 18, 2024 11:29
@JuaniRios JuaniRios marked this pull request as ready for review October 18, 2024 11:30
@lrazovic lrazovic force-pushed the 10-18-add_end_block_check_on_participations branch from dc0339a to 8f4df9f Compare October 21, 2024 11:24
Copy link
Member

@lrazovic lrazovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we can impl a new method in BlockNumberPair that is checking if started(now) && !ended(now), but it's just as a syntactic sugar

Copy link
Contributor Author

JuaniRios commented Oct 22, 2024

Merge activity

  • Oct 22, 3:48 AM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Oct 22, 3:48 AM EDT: A user merged this pull request with Graphite.

@JuaniRios JuaniRios merged commit 38af93a into main Oct 22, 2024
1 check passed
@JuaniRios JuaniRios deleted the 10-18-add_end_block_check_on_participations branch October 22, 2024 07:48
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.

2 participants