Deploying to the Sokol Network


#1

Hello POA community!

I’m, Mason and I’m working part time for POA on the mana client.

I’m trying to deploy a simple contract to the Sokol network through Remix:

pragma solidity ^0.4.23;

contract NumberSetter {
    uint public number;
    
    function setNumber(uint _number) public {
        number=_number;
    }
}

I clicked Deploy and set the gas price to 5000 GWEI but the transaction never gets mined.

Here’s a link to the pending transaction: https://sokol-explorer.poa.network/tx/0xc914abc1468cd2de59a5ed86668602b05d86cc851d7930a337994f272fefadfc

Any ideas?

Thanks!

-Mason


#2

Hey, Mason!

Probably it’s because the first tx in a row https://sokol-explorer.poa.network/tx/0x816152fc2a58e23f48667f6276d5b84d00828ac3e179744a41c71b9e871d9a21 has 0 gasprice, so it can’t be mined. Our min accepted value is 1Gwei.

Try resubmitting it with the same nonce and higher gasprice.


#3

ah, makes sense.

Thanks @phahulin! :smiley: