my mist is not syncing in private network and it did not show the ethers. so I need to uninstall Mist permanently and again I want to install .But when I install the mist it shows the older mist .
CRYPTO NEWS
how to uninstall mist permanently for Mac
How to set variable of contract from another contract constructor? Solidity [duplicate]
I have a contract // SPDX-License-Identifier: MIT pragma solidity ^ 0.8.15; contract MomContract { bool public failed =false; constructor(){ new Son(address(this)); } function SetFailed(bool _failed) public{ failed=_failed; } } contract Son{ constructor(address _mom){ MomContract mom=MomContract(_mom); mom.SetFailed(true); } } When I try to deploy it with remix, it fails with revert The transaction has been reverted::Listen
I have a contract
// SPDX-License-Identifier: MIT pragma solidity ^ 0.8.15; contract MomContract { bool public failed =false; constructor(){ new Son(address(this)); } function SetFailed(bool _failed) public{ failed=_failed; } } contract Son{ constructor(address _mom){ MomContract mom=MomContract(_mom); mom.SetFailed(true); } }
When I try to deploy it with remix, it fails with revert
The transaction has been reverted to the initial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance. Debug the transaction to get more information.
I see no error in it, but how do I communicate from contract to contract?
Showing 1–8 of 312 results
-
Electroneum ETN Unisex Twill Crypto Hat
USD$25.30 Select options -
Pearl Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
Insight Chain INB Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
DASH Unisex Twill Crypto Hat
USD$25.30 Select options -
Naga NGC Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
Paypex PAYX Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
Poet POE Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
Cardano ADA Unisex Twill Crypto Hat
USD$25.30 Select options
