change gasLimit parameter into the genesis.json file on azure priavte blockchain

258 Views Asked by At

I am trying to deploy a smart contract to an azure blockchain. The contract is deployed without errors but i can't submit transaction to the blockchain through this contract. I guess this is an issue with gasLimit, because when I use my private geth blockhain where I can set my gasLimit in the genesis.json file, my Dapp works perfectly and I can run my transaction. The gasLimit on azure is set up by microsoft on the genesis.json file and I would like to find a way to change it. How can I do this?

1

There are 1 best solutions below

0
On

Simple you cannot do that easily. Before deploying your ethereum network on Azure you have the option to select a custom genesis file, or go by the default one that they provide.. whenever you spin off the service, you will still have access to that file called genesis.json but unfortunately I've contacted microsoft several times for this exact issue and they were not able to help. I'll update you whenever I get anything new.