You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a part of neo-project/neo#3463, we need to implement util upload-state CLI command (similar to util upload-bin introduced in https://github.com/nspcc-dev/neo-go/pull/3582`): this command should fetch MPT state at the given height via RPC and upload it to the NeoFS block storage.
The format of state dump should be suitable to reuse it by StateSync module: raw MPT nodes dump starting from stateroot traversed in the same direction as StateSync module exects. State dump object should have at least the following attributes (suggestions are welcomed):
identifier:height (something like State:123)
stateroot at the given height
timestamp of the block at the given height
timestamp of the object creation
I'd suggest to use a separate container for now (not the same container as for BlockFetcher) in order to avoid accidental data corruption in existing block storage containers. However, after implementation is finalized and tested, we may consider migration to BlockFetcher containers.
As a part of neo-project/neo#3463, we need to implement
util upload-state
CLI command (similar toutil upload-bin
introduced in https://github.com/nspcc-dev/neo-go/pull/3582`): this command should fetch MPT state at the given height via RPC and upload it to the NeoFS block storage.The format of state dump should be suitable to reuse it by StateSync module: raw MPT nodes dump starting from stateroot traversed in the same direction as StateSync module exects. State dump object should have at least the following attributes (suggestions are welcomed):
State:123
)I'd suggest to use a separate container for now (not the same container as for BlockFetcher) in order to avoid accidental data corruption in existing block storage containers. However, after implementation is finalized and tested, we may consider migration to BlockFetcher containers.
Ref. #3519 (043e9f0 already contains suitable traversal code).
The text was updated successfully, but these errors were encountered: