Skip to content

Commit-Reveal 2.0#864

Merged
JohnReedV merged 20 commits intodevnet-readyfrom
commit-reveal-2
Oct 25, 2024
Merged

Commit-Reveal 2.0#864
JohnReedV merged 20 commits intodevnet-readyfrom
commit-reveal-2

Conversation

@JohnReedV
Copy link
Contributor

@JohnReedV JohnReedV commented Oct 16, 2024

Description

  • Subnet tempo based intervals
  • Multiple commits per tempo.
  • Order enforcement / Clean expired commits
  • Improved error handling and messages
  • Added many unit tests
  • Migration for modified storage items

Related Issue(s)

@JohnReedV JohnReedV marked this pull request as ready for review October 17, 2024 16:34
@JohnReedV JohnReedV requested a review from unconst as a code owner October 17, 2024 16:34
@JohnReedV JohnReedV requested a review from a team October 21, 2024 17:09
sam0x17
sam0x17 previously approved these changes Oct 21, 2024
Copy link
Contributor

@sam0x17 sam0x17 left a comment

Choose a reason for hiding this comment

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

looks good to me, one possible edge case to consider is testing reveals in highly concurrent environments or simultaneous commits from multiple hotkeys

also consider documenting the rationale for enforcing specific batch reveal orders just to make it clearer for users

@sam0x17 sam0x17 requested a review from a team October 21, 2024 20:04
@JohnReedV JohnReedV requested a review from a team October 23, 2024 21:45
@JohnReedV JohnReedV requested a review from sam0x17 October 24, 2024 16:13
0
}
#[pallet::type_value]
/// Default minimum stake for weights.
Copy link
Contributor

Choose a reason for hiding this comment

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

wrong doc

@JohnReedV JohnReedV merged commit cae4366 into devnet-ready Oct 25, 2024
@sam0x17 sam0x17 mentioned this pull request Oct 25, 2024
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.

5 participants