Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Hide Functions? #98

Open
blueto01h opened this issue Aug 16, 2018 · 3 comments
Open

Hide Functions? #98

blueto01h opened this issue Aug 16, 2018 · 3 comments

Comments

@blueto01h
Copy link

Very nice module, thank you!
One minor feature request, how can one hide certain functions quickly?
I know about "onlyCalledMethods" but I would like to have them all shown except for a few, which are specific to a test contract which interfaces the contract I actually want to test.

@cgewecke
Copy link
Owner

Hi @blueto01h Yes this is a good idea.

It might be slightly complicated from a user standpoint because they'd have to specify the contract and the function signatures of the items they want to hide. Something like this:

hideFunctions: [ 
  { 
    contractName: 'Token', 
    methods: ['sendToken(address,uint256)', 'transferToken(address,uint256)']
  },
  { 
    contractName: 'OtherToken',
    methods: [..]
  }
]

@blueto01h
Copy link
Author

cool, something like that would work very well i think.

@ilanDoron
Copy link

Nice module.
@blueto01h
only just found it.
Can I also ignore runs for some contracts.
My repository has many mock contracts used for testing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants