sui
sui copied to clipboard
doc: fixed test_sword_transactions arguments error
I'm not very sure is correct, but I got the error and try to remove the first argument.
error[E04017]: too many arguments
┌─ ./sources/my_module.move:97:9
│
97 │ 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
pass test.
Are you sure you rebased on the latest main? I see your PR touches a lot of (sensitive) code in the authority's core
@madeinfree is attempting to deploy a commit to the Mysten Labs Team on Vercel.
A member of the Team first needs to authorize it.
@asonnino thank you for your reply, that is my fault. I rebased on master branch and force to push branch again.