i need to check if the call (sig of the calldata in the current call) is part of a specific contract, i know all the contract sigs, i can hardcode all it's sigs then loop through them to check , but the question was what is the most gas efficient way to do that ,
Aug 13, 2023, 2:45 PM
Don't loop, use mappings
Depends on how many sigs you have
Aug 13, 2023, 2:54 PM
exactly i'll run a coverage , thank's niccolo
Aug 13, 2023, 2:56 PM