-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d77920
commit f63719d
Showing
2 changed files
with
4 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} | ||
} | ||
|
||
} |
This file was deleted.
Oops, something went wrong.