resynchronize

Replaces local state with the current on-chain sequence number.