Skip to content

Commit

Permalink
cumulus_parachain_system is accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
al3mart committed Mar 2, 2024
1 parent c842b90 commit c15be1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/extensions/ext_impl/read_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ where
let key: ParachainSystemKeys = env.read_as_unbounded(len)?;

match key {
LastRelayChainBlockNumber => {
ParachainSystemKeys::LastRelayChainBlockNumber => {
let relay_block_num: BlockNumber =
cumulus_pallet_parachain_system::LastRelayChainBlockNumber::get();
crate::ParachainSystem::last_relay_block_number();
log::debug!(
target:LOG_TARGET,
"Last Relay Chain Block Number is: {:?}.", relay_block_num
Expand Down

0 comments on commit c15be1b

Please sign in to comment.