flow-cli icon indicating copy to clipboard operation
flow-cli copied to clipboard

Remove contract name for add and update contract command

Open sukantoraymond opened this issue 2 years ago • 2 comments

Closes #231

This PR enables users to add and update contract without using contract name. It will extract contract name from contract source code.


For contributor use:

  • [x] Targeted PR against master branch
  • [x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • [x] Code follows the standards mentioned here
  • [x] Updated relevant documentation
  • [x] Re-reviewed Files changed in the Github PR explorer
  • [x] Added appropriate labels

sukantoraymond avatar Aug 24 '22 15:08 sukantoraymond

I don't think its necessary to make contract name optional in the add / update contract command? We can just remove it altogether @sideninja

sukantoraymond avatar Aug 24 '22 15:08 sukantoraymond

@sukantoraymond we need to keep it due to backward compatibility.

devbugging avatar Aug 24 '22 15:08 devbugging