Skip to content

Possible issue in preimage integration and statistics #48

Open
@kianenigma

Description

@kianenigma

The preimage integration chapter states a few rules around which of the preimage extrinsics are integrated into the service's state, such as it being requested and it not being already provided and so on.

https://graypaper.fluffylabs.dev/#/cc517d7/181e02187802?v=0.6.5

The service preimage statistics section, however, seems to indicate that for any preimage extrinsic, designated for a service, we note the statistics for that.

https://graypaper.fluffylabs.dev/#/cc517d7/19be0319e303?v=0.6.5

The test vectors recently merged in #28 seem to follow the rule that a preimage's statistics are only noted if it is integrated. For example, the preimage-not-needed files.

My guess is that I am misinterpreting the statistics, and the test vectors are doing the right thing: A preimage should only be noted in the statistics if it is integrated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions