-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[smoke-test] Removing clean state dependency of some tests (#2143)
Refines #2140 to fix flakiness. Co-authored-by: Wolfgang Grieskamp <[email protected]>
- Loading branch information
Showing
7 changed files
with
43 additions
and
9 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
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
File renamed without changes.
19 changes: 19 additions & 0 deletions
19
testsuite/smoke-test/src/aptos/module_publish_modules/sources/hello.move
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module 0xA550C18::HelloWorldForModulePublish { | ||
use aptos_framework::coin; | ||
use aptos_framework::aptos_coin::AptosCoin; | ||
|
||
struct ModuleData has key, store { | ||
global_counter: u64, | ||
} | ||
|
||
fun init_module(sender: &signer) { | ||
move_to( | ||
sender, | ||
ModuleData { global_counter: 0 } | ||
); | ||
} | ||
|
||
public fun foo(addr: address): u64 { | ||
coin::balance<AptosCoin>(addr) | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "hello" | ||
version = "0.0.0" | ||
|
||
[dependencies] | ||
AptosFramework = { local = "../../../../../aptos-move/framework/aptos-framework" } |
2 changes: 1 addition & 1 deletion
2
...src/aptos/move_modules/sources/hello.move → ...os/string_args_modules/sources/hello.move
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