Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
typestate param refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
agryaznov committed Apr 25, 2023
1 parent 418aa50 commit 0dac6f6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions frame/contracts/src/storage/meter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,7 @@ pub trait State: private::Sealed {}

/// State parameter that constitutes a meter that is in its root state.
#[derive(Default, Debug)]
pub enum Root {
#[default]
Unit,
}
pub struct Root;

/// State parameter that constitutes a meter that is in its nested state.
/// Its value indicates whether the nested meter has its own limit.
Expand Down

0 comments on commit 0dac6f6

Please sign in to comment.