Azure Blockchain Workbench Error Exception gas required exceeds allowance or always failing transaction

Ashok Peddakotla 9,956 Reputation points Microsoft Employee
2020-05-08T16:31:26.547+00:00

I deployed azure blockchain workbench manually by adding active directory then finalized things After deployment of json and solidity file and creating a contract there is an error for taking contract actions. that error was then identified by app insight and it was regarding gas limit etc.

Error while estimating gas. Exception gas required exceeds allowance or always failing transaction.

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question] Source: MSDN

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
23,914 questions
No comments
1 vote

Accepted answer
  1. Satish 13,631 Reputation points Microsoft Employee
    2020-05-08T16:38:19.47+00:00

    Found information specific to your error. Please see the following: Common errors seen in logs.

    "Error while estimating gas. Exception Transaction execution error" 
    This error is usually seen when the function has hit a revert/assert given the current state and input parameters. Please check your contract logic.
    

    In your case, there is likely some contract logic that needs to be investigated.

    Source: MSDN

    No comments

0 additional answers

Sort by: Most helpful