This is the file I'm trying to compile.
I've been using truffle for a few years and I remember that we used to be able to compile files with different names than the contracts inside.
I'm using truffle 5.0.35. Is this no longer the case?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityThis is the file I'm trying to compile.
I've been using truffle for a few years and I remember that we used to be able to compile files with different names than the contracts inside.
I'm using truffle 5.0.35. Is this no longer the case?
Nevermind, the issue was that I had a missing bracket at the end of the contract. It is possible to compile files with different contract names with truffle (not possible with sol-compiler though).