Skip to content

Commit

Permalink
redo pass test
Browse files Browse the repository at this point in the history
  • Loading branch information
gui1117 committed Jul 23, 2024
1 parent acef975 commit 514e714
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,18 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#[deny(warnings)]

#[frame_support::pallet]
mod pallet {
use frame_support::pallet_prelude::*;

#[pallet::config(with_default)]
pub trait Config: frame_system::Config {
#[pallet::constant]
type MyGetParam2: Get<Self::AccountId>;
}
pub trait Config: frame_system::Config {}

#[pallet::pallet]
pub struct Pallet<T>(_);

#[pallet::storage]
pub type MyStorage = StorageValue<u32>;
pub type MyStorage<T> = StorageValue<_, u32>;
}

fn main() {}

0 comments on commit 514e714

Please sign in to comment.