[go: up one dir, main page]

Proto/Client: restrict commands to originated contracts

Context

Some commands make sense for originated contracts only. This MR unexhaustively restricts some of them.

A bit more work outside the client is needed to update more of them. Note that some of the dumb wrapping in Contract.Originated will disappear when the same thing will be applied on the protocol RPCs.

This MR is based on !5224 (merged)

Manually testing the MR

CI should pass

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Mehdi Bouaziz

Merge request reports

Loading