[examples] adjust lang2/Flipper to new contract params

We enable dynamic_allocations for now since disabling it causes other errors.
parent 9f7ff688
Pipeline #55006 failed with stages
in 24 seconds
......@@ -17,17 +17,10 @@
#![feature(proc_macro_hygiene)]
#![cfg_attr(not(feature = "std"), no_std)]
use ink_core::{
env2::DefaultSrmlTypes,
memory::format,
storage,
};
use ink_core::storage;
use ink_lang2 as ink;
#[ink::contract(
env = DefaultSrmlTypes,
version = "0.1.0",
)]
#[ink::contract(version = "0.1.0", dynamic_allocations = true)]
mod flipper {
#[ink(storage)]
struct Flipper {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment