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

AshokPeddakotla-MSFT 35,926 Reputation points
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.
42,015 questions
0 comments No comments
{count} vote

Accepted answer
  1. QuantumCache 20,346 Reputation points
    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

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.