Skip to content

Web of trust - Gas Cost  #4

@davinci26

Description

@davinci26

Make sure that the function that calculates costs 0 gas. In principle, it does not alter the state of the contract so it should be 0 cost.

My concern is that a struct(mapping) with a storage keyword is used. I am not sure if Solidity compilers /EVM are smart enough to understand that this is not altering the state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions