ethereum-studio icon indicating copy to clipboard operation
ethereum-studio copied to clipboard

Interact won't list all contracts in build directory

Open filippsen opened this issue 5 years ago • 0 comments

Environment/Browser

Live.

Description

Interact won't list all contracts listed in build/contracts directory.

Steps to reproduce

Edit Project

or, manually start from Empty Project, then Compile and Deploy. Rename MyContract to Test, then Compile and Deploy.

Expected result

Expected a list of all contracts to be available for inspection from Interact. Or at least the currently available and recently deployed one. In this case, that would be Test, not MyContract.

Actual result

Only the first alphabetically sorted entry is shown in Interact. In this case, only MyContract is available.

Other notes

Renaming Test.sol to ATest.sol and contract Test to contract ATest, changes the list of available contracts in Interact from MyContract to ATest. The build/contracts directory currently keeps old builds.

ps: It appears there is a case where Interact pushes items from the second contract and on to the very bottom of the panel. Is it taking into account the expanded item space ? Are the collapsed items being overlapped ?

filippsen avatar Nov 13 '19 13:11 filippsen