new snapshots export
command should fail early if exporting historical height
#9600
Labels
snapshots export
command should fail early if exporting historical height
#9600
Describe the bug
#9563 replaced the cosmos
snapshots export
command to support it (#9100), but it too closely copied the height logic. Since the swing-store is not able to export a historical height, it should remove theheight
flags or error early if the height specified is not the latest height. Currently the export process will start and only error after the length cosmos side of the export completes.To Reproduce
agd snapsnhots export --height $someHistoricalHeight
Expected behavior
Early error preventing historical exports
The text was updated successfully, but these errors were encountered: