-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move stylus-test to dev-dependencies This change avoids compiling the test and its dependencies on the wasm target. This was leading to a compile error because a nested dependency required to set a explicit feature for wasm. * Fix testing import in doctest This happends due to a limitation of doctest. See: rust-lang/rust#67295 * Update single call example * Fix transfer_eth doctest * Fix erc20 example * Add TopLevelStorage to prelude * Fix erc721 example
- Loading branch information
Showing
16 changed files
with
165 additions
and
96 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,4 +1,6 @@ | ||
#![cfg_attr(not(feature = "export-abi"), no_main)] | ||
|
||
#[cfg(feature = "export-abi")] | ||
fn main() { | ||
erc20::print_abi("MIT-OR-APACHE-2.0", "pragma solidity ^0.8.23;"); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.