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

Remove tight coupling to parachain system #43

Merged
merged 15 commits into from
Sep 14, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use old storage location so we don't need a migration
  • Loading branch information
JoshOrndorff committed Sep 2, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 2b348a032898b6c137e5032d9c8d1a7023bc6ab3
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -597,11 +597,13 @@ pub mod pallet {
pub type Initialized<T: Config> = StorageValue<_, bool, ValueQuery, T::Initialized>;

#[pallet::storage]
#[pallet::storage_prefix = "InitRelayBlock"]
#[pallet::getter(fn init_relay_block)]
/// Relay block height at the initialization of the pallet
type InitVestingBlock<T: Config> = StorageValue<_, T::VestingBlockNumber, ValueQuery>;

#[pallet::storage]
#[pallet::storage_prefix = "EndRelayBlock"]
#[pallet::getter(fn end_relay_block)]
/// Relay block height at the initialization of the pallet
type EndVestingBlock<T: Config> = StorageValue<_, T::VestingBlockNumber, ValueQuery>;