bnb-chain / bsc

A BNB Smart Chain client based on the go-ethereum fork
GNU Lesser General Public License v3.0
2.73k stars 1.56k forks source link

Title: Issue with tx.gasprice method on Binance Smart Chain (Testnet) #1779

Closed amit-supraoracles closed 1 year ago

amit-supraoracles commented 1 year ago

Hello Binance,

I need help with the tx.gasprice method in REMIX IDE on Binance Smart Chain. The gas price returned seems incorrect or unavailable when deploying and executing a verified contract: Contract Address.

Any insights or solutions would be appreciated.

Thank you, Amit Kumar SupraOracles

0xLyon commented 1 year ago

Hi there, I tested your mentioned contract and seems to be working fine when I raised the gas fee and limit for the "setGasPrice" function. You can see it set now, when checking your read function - https://testnet.bscscan.com/address/0xa7b0ca420be8933af4c02167bcdea18a5aafb3be#readContract#F1

amit-supraoracles commented 1 year ago

Thanks a lot! @0xLyon !!