open-dust / cairo-foundry

Foundry like framework for starknet contracts
MIT License
77 stars 33 forks source link

List all functions that will be mocked with mock_call hint inside test files and `test_<your_test_func>` entrypoints #97

Open Eikix opened 1 year ago

Eikix commented 1 year ago

Tim: Avoir la liste de toutes les fonctions qui vont être mockeés => en parsant (grep like) les .cairo

Eikix commented 1 year ago

end goal: mock_call(name_of_my_func, [42, “shortstring”, ids.myVarName, Uint256 {high: 42, low: 0x0}])

bacharif commented 1 year ago

For me

tdelabro commented 1 year ago

@jdembdr is already working on it :)

jdembdr commented 1 year ago

Hi, Here is the related PR: https://github.com/open-dust/cairo-foundry/pull/112