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

Integrate session pallet into validator-sets pallet #440

Merged
merged 11 commits into from
Nov 22, 2023

Conversation

akildemir
Copy link
Contributor

  • Integrates pallet-session functionality from validator sets pallet.
  • Removes pallet-session and pallet-authority-discovery pallets completely from runtime.

Copy link
Member

@kayabaNerve kayabaNerve left a comment

Choose a reason for hiding this comment

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

CI failure is related. Many of my comments may just require an explanation on my end. Seems overall straightforward though :)

CI logs:

2023-11-20T10:29:33.1158090Z thread 'tokio-runtime-worker' panicked at coordinator/src/substrate/mod.rs:81:12:
2023-11-20T10:29:33.1159310Z validator selected for set yet didn't have an allocation
2023-11-20T10:29:33.1160256Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2023-11-20T10:29:33.1161558Z [2023-11-20T10:19:25Z ERROR serai_coordinator] exiting the process due to a task panicking

substrate/validator-sets/pallet/src/lib.rs Outdated Show resolved Hide resolved
substrate/validator-sets/pallet/src/lib.rs Show resolved Hide resolved
substrate/validator-sets/pallet/src/lib.rs Outdated Show resolved Hide resolved
substrate/validator-sets/pallet/src/lib.rs Outdated Show resolved Hide resolved
substrate/validator-sets/pallet/src/lib.rs Show resolved Hide resolved
substrate/validator-sets/pallet/src/lib.rs Show resolved Hide resolved
substrate/validator-sets/pallet/src/lib.rs Show resolved Hide resolved
@kayabaNerve kayabaNerve merged commit fcfdadc into serai-dex:develop Nov 22, 2023
10 checks passed
@akildemir akildemir deleted the session-pallet branch November 22, 2023 14:00
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