Why after managing to deploy contract to POA Ethereum blockchain I can't interact with it?

by user3652172   Last Updated June 12, 2019 17:28 PM

We are using a private ETH proof of authority blockchain.

In order to deploy a contract I'm using 0 gas price and it deployed immediately.

Then, Tried to deploy many types of contracts with different functions. f.e:

pragma solidity 0.5.8;

contract graph{

    event CampaignCreated(uint256 relevantNumber, address owner, address moderator);
    event CampaignJoined(uint256 amount, address joinUser);
    event Number(uint256 general);

    function createCampaign(uint relevantNumber, address _moderator, address _owner) public{
        emit CampaignCreated(relevantNumber, _moderator, _owner);
    }

    function sendNumber(uint relevantNumber) public{
        emit Number(relevantNumber);
    }

    function joinCampaign(uint _amount, address _joinUser) public{
        emit CampaignJoined(_amount, _joinUser);
    }
}

but all of the tx are failing. before each call, I'm again setting the gas price to 0.



Related Questions


Updated October 18, 2018 12:28 PM

Updated November 09, 2017 17:28 PM

Updated April 12, 2018 09:28 AM

Updated October 15, 2017 17:28 PM

Updated June 24, 2017 20:28 PM