DEV Community

Latricia Nickelberry
Latricia Nickelberry

Posted on

Solidity Error Resolved

I was working on this error for a few days and could not seem to figure out.
truffle_pet
I attempted to reconfigure the truffle.config.js file.
truffle_config_04
That did not fix the error, so I kept trying to mess around with the file and nothing was working.
Here is example of the code.
Take a look at it very closely and see if you can see what the error is.
solidity_contract

If you are like me. You missed seeing that I closed off the whole contract right after adopters.
Inkedsolidity_contract_LI

Sometimes we over look the smallest of details. I hope this was helpful.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (1)

Collapse
 
thorstenhirsch profile image
Thorsten Hirsch

But it's obvious when you look at the indentation! Well... except that you did not indent line 4 at all. Indentation cannot help you If you don't indent your lines. ;-)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay