Skip to content

Required schema for the MVP version #1

Description

@clearloop

1. General

1.1 block header

already exist in the current code, need to add more useful fields, will be used for the block history section, e.g. latest block in etherscan.io

1.2 the latest statistic

see migrate_service for how to getting this value, which uses storage key STATISTICS in the raw db

2. Advanced

2.1 service account data

similar to statistics , but need to extract from the hook, see the implementation of on_service_xxx

2.2 chain state snapshot (example)

we might not need this atm

there is a method in the Storage trait can extract it automatically

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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