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

Fix/Tranches to approve fixup #1582

Merged
merged 18 commits into from
May 11, 2023
Merged

Fix/Tranches to approve fixup #1582

merged 18 commits into from
May 11, 2023

Conversation

iceseer
Copy link
Contributor

@iceseer iceseer commented Apr 25, 2023

Description of the Change

  1. Approval submodule moved to independent thread
  2. Validation executed in thread pool
  3. Tranche schedule delay fixup
  4. minor

iceseer and others added 15 commits April 5, 2023 17:40
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
fixup validator index check

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
…rove_fixup

Signed-off-by: iceseer <iceseer@gmail.com>

# Conflicts:
#	core/parachain/approval/approval_distribution.cpp
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>

# Conflicts:
#	core/parachain/approval/approval_distribution.cpp
@iceseer iceseer force-pushed the fix/tranches_to_approve_fixup branch from a14ab83 to c528aa6 Compare April 25, 2023 07:24
Signed-off-by: iceseer <iceseer@gmail.com>
@iceseer iceseer force-pushed the fix/tranches_to_approve_fixup branch from c528aa6 to 9ed82f4 Compare April 25, 2023 07:26
@iceseer iceseer requested review from xDimon and turuslan May 4, 2023 08:34
Signed-off-by: iceseer <iceseer@gmail.com>

# Conflicts:
#	core/parachain/approval/approval_distribution.cpp
std::chrono::system_clock::now().time_since_epoch())
.count()
/ kTickDurationMs;
return msNow() / kTickDurationMs;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe instead use existing clock->nowUint64() ?

@iceseer iceseer enabled auto-merge (squash) May 11, 2023 09:51
@iceseer iceseer merged commit 71f19e8 into master May 11, 2023
@iceseer iceseer deleted the fix/tranches_to_approve_fixup branch May 11, 2023 11:19
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.

3 participants