CodexBloom - AI-Powered Q&A Platform

Why does my Ethereum smart contract revert with 'revert opcode' when calling a function from another contract?

👀 Views: 3 💬 Answers: 1 📅 Created: 2025-06-01
solidity ethereum smart-contracts debugging

I'm working on a project using Solidity version 0.8.17 where I have two smart contracts: `Token` and `Crowdsale`. The `Crowdsale` contract is supposed to call a...