You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose we generate different solidity contracts that share common structs. In that case, these structs will be defined in every generated file, which is a bit inconvenient if we import this struct in a single file later.
Now we have to do something like that:
import { ContractA, CommonStruct, AnotherCommonStruct } from"./ContractA.sol";
import {
ContractB, CommonStruct as CommonStructB, AnotherCommonStruct as AnotherCommonStructB
} from"./ContractB.sol";
...
Is it possible to make evm-coder extract common structs into a separate file?
How it could be in that case:
Suppose we generate different solidity contracts that share common structs. In that case, these structs will be defined in every generated file, which is a bit inconvenient if we import this struct in a single file later.
Now we have to do something like that:
Is it possible to make evm-coder extract common structs into a separate file?
How it could be in that case:
The text was updated successfully, but these errors were encountered: