Skip to content

When deploying with too little gas Lab thinks contract still got deployed #431

@bashlund

Description

@bashlund

Environment/Browser

Chromium

Description

When deploying with too little gas, say the Cryptopizza contract with only 2 M in gas limit, Lab says correctly that the deployment failed, but then it still thinks the contract got deployed because it refuses to redeploy it (after raising gas limit).

Steps to reproduce

  1. Set gas limit to 2M
  2. Deploy CryptoPizza template to Browser network
  3. Wait the deployment fail
  4. Raise the gas limit to 3M
  5. Redeploy - watch it refuse
  6. Reload browser
  7. Redeploy and watch it work.

Expected result

Lab should know that it failed and allow a redeployment without having to clear the chain with a browser refresh.

Actual result

Lab refuses to redeploy.

Reproducible

100%

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions