[add] implement PartialEq for Chain