TheAlgorithms / Solidity

Algorithms and data structures implemented in Solidity
GNU Lesser General Public License v2.1
326 stars 88 forks source link

Added new contracts and tests #18

Closed Perelyn-sama closed 2 years ago

Perelyn-sama commented 2 years ago

Hey Guys, I'm sorry I have not made a PR in a while I've been busy with some stuff. Anyways I'm back and hopefully this week I'll make more contributions.

@mkubdev @Panquesito7 I know we've talked about this before but please let's revisit it, there needs to be a src folder in the project so foundry can work properly. For example, I believe this issue #15 comes from the fact that the contracts are in the root folder.

If you look at the rust repo, you'll notice there's a src folder there too meaning it's allowed.

I know this is pretty unorthodox but solidity is a unique language. Thanks.

mkubdev commented 2 years ago

If you look at the rust repo, you'll notice there's a src folder there too meaning it's allowed.

Yes, i'm not against keeping the src folder, since it's allow Foundry to work properly. Rust repos is a good exemple.