Skip to content

Commit

Permalink
Revert last PR
Browse files Browse the repository at this point in the history
  • Loading branch information
TucksonDev committed Sep 3, 2024
1 parent 4d77920 commit f63719d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
17 changes: 4 additions & 13 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
// Only run this as a WASM if the export-abi feature is not set.
#![cfg_attr(not(any(feature = "export-abi", test)), no_main)]
#![no_main]
extern crate alloc;

use alloc::vec::Vec;
use stylus_sdk::prelude::*;
use stylus_sdk::stylus_proc::entrypoint;


#[storage]
#[entrypoint]pub struct HelloWorldMinimal {
}

#[public]
impl HelloWorldMinimal {
#[entrypoint]
fn user_main(input: Vec<u8>) -> Result<Vec<u8>, Vec<u8>> {
Ok(input)
}
}

}
4 changes: 0 additions & 4 deletions src/main.rs

This file was deleted.

0 comments on commit f63719d

Please sign in to comment.