question

AshokPeddakotla-MSFT avatar image
1 Vote"
AshokPeddakotla-MSFT asked SatishBoddu-MSFT answered

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

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


azure-blockchain-workbench
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SatishBoddu-MSFT avatar image
1 Vote"
SatishBoddu-MSFT answered

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




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.