Proto/validate: add 1M check for host operation
Context
Part of milestone Protocol: Sponsored Operations · Milestones · Tezos / tezos · GitLab
Adding 1M check of Host
operations to validate.ml
and mempool_validate.ml
Change of rules of conflict resolution are as follows below:
a@[operation] <-> sponsored@[operation with guest@a] => we pick sponsored, remove operation of a
as needed.
sponsored@[operation with guest@a] <-> sponsored@[operation with guest@a] => we accept both.
in case where there are many manager conflicts between one sponsored operation and guests that it contains we remove original operations from guests from mempool.
Manually testing the MR
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