Skip to content

likecoin-migraiton: Retrying invalid eth signatures causes 500 error #287

Description

@williamchong

After #276 , invalid eth signatures are blocked from being sent as cosmos tx memo. This remove the need of manually refunding problematic cosmos tx that will fail the migration.

However, since no cosmos tx is sent, the existing migration would not fail. The user is able to retry in frontend by reconnecting to correct eth wallet, but proceeding with migration would yield a 500 error err like coin migration in progress, due to previous existing migration with problematic eth wallet is not failed/removed.

We should either

  1. (Hacky) Fail the exiting migration` by sending a invalid cosmos tx, if invalid eth signature is detected
  2. Allow frontend to proactively end or fail a existing migration if invalid data is detected after creating a migration.

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