Infinite gas warning #6174
Replies: 2 comments 1 reply
-
Hello @DearRaj9922 Solution for what exactly? Those gas info in remix are not very helpful to be honest. It is best to use hardhat to analyze gas costs of functions or deployment. After calling your function you can see in tx details that cost was not infinite... Do not bother about things like that |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok,
and Thank you for your time and help.
…On Sat, Sep 30, 2023, 4:40 PM Patryk Wargacki ***@***.***> wrote:
Hello @DearRaj9922 <https://github.com/DearRaj9922>
Solution for what exactly? Those gas info in remix are not very helpful to
be honest. It is best to use hardhat to analyze gas costs of functions or
deployment. After calling your function you can see in tx details that cost
was not infinite...
[image: image]
<https://user-images.githubusercontent.com/110537615/271769683-5c3e42f8-0a6d-497f-a226-de020ab04df0.png>
Do not bother about things like that
—
Reply to this email directly, view it on GitHub
<#6174 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5CGLLKYLBEPYHFSBINB64DX4744BANCNFSM6AAAAAA5NBHJPA>
.
You are receiving this because you were mentioned.Message ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/6174/comments/7151092
@github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
contract SimpleStorage{
}

you can see the infinite gas message just next to addPerson function
please provide me a solution
Beta Was this translation helpful? Give feedback.
All reactions