forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build-test.md (MystenLabs#7235)
correct test with filter no change is required to the imports bug running code --> simplify code ``` sword_create(&mut forge, 42, 7, initial_owner, test_scenario::ctx(scenario)); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ │ │ │ Found 5 argument(s) here │ Invalid call of '(my_first_package=0x0)::my_module::sword_create'. The call expected 4 argument(s) but got 5 ``` Why is the forge object required? This can't be passed to sword_create... Already got my answer by continuing with the tutorial. Code simplification is desired here though. So the code actually runs at this stage in the tutorial.
- Loading branch information
1 parent
06944ab
commit 52d2454
Showing
1 changed file
with
20 additions
and
28 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