Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Feb 10, 2025
1 parent 0e0f5b0 commit 6c4588d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 32 deletions.
62 changes: 33 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.3"
edition = "2021"

[dependencies]
stylus-sdk = "0.7.0"
stylus-sdk = "0.8.0"

[features]
export-abi = ["stylus-sdk/export-abi"]
Expand Down
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
extern crate alloc;

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

#[entrypoint]
fn user_main(input: Vec<u8>) -> Result<Vec<u8>, Vec<u8>> {
fn user_main(input: Vec<u8>, _vm: stylus_sdk::host::VM) -> Result<Vec<u8>, Vec<u8>> {
Ok(input)
}
}

0 comments on commit 6c4588d

Please sign in to comment.