Commit 77eaac42 authored by Andrew Jones's avatar Andrew Jones

rustfmt

parent 0d765244
Pipeline #69615 failed with stages
in 15 minutes and 14 seconds
fn main() -> Result<(), std::io::Error> {
let abi = <contract::RuntimeStorage as ink_lang2::GenerateAbi>::generate_abi();
let contents = serde_json::to_string_pretty(&abi)?;
......
......@@ -17,14 +17,12 @@
#![feature(proc_macro_hygiene)]
#![cfg_attr(not(feature = "std"), no_std)]
use ink_core::memory::format;
use ink_lang2 as ink;
use scale::{
Encode as _,
KeyedVec as _,
};
use ink_core::{
memory::format,
};
use ink_lang2 as ink;
mod crypto {
/// Do a Blake2 256-bit hash and place result in `dest`.
......@@ -44,8 +42,7 @@ mod crypto {
mod runtime {
/// This simple contract reads a value from runtime storage
#[ink(storage)]
struct RuntimeStorage {
}
struct RuntimeStorage {}
impl RuntimeStorage {
#[ink(constructor)]
......
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