Truffle deployment problem


#1

Hi,

trying to deploy complex project on POA Network (both Sokol and Core) I’ve encountered issue similar to following:


Is it possible that You have similar problems?


#2

When I’ve added pauses between all operations it deployed correctly on core, but still hangs on sokol

I suess it might be related to nonce, looks like there are pending transactions with too high nonce and it hangs waiting for the one with lower nonce

https://poaexplorer.com/address/0x7f4c99919b40ca2f142e34d9015de385d6988ec4

Here is my project

theree are two branches
master - with original script
delayedDeployment - with 10 sec delay added after every operation

Can anyone download and check?


#3

Original script (main branch)
works just fine on ropsten
https://ropsten.etherscan.io/address/0x7f4c99919b40ca2f142e34d9015de385d6988ec4

so there is no error in script itself


#4

Hi, which version of Truffle are you using to deploy?


#5

Hi,
thank You for replay
versions below

adam@adam-VirtualBox:~/Desktop/Projekty/GovernanceContracts$ truffle version
Truffle v4.1.11 (core: 4.1.11)
Solidity v0.4.24 (solc-js)
adam@adam-VirtualBox:~/Desktop/Projekty/GovernanceContracts$ node -v
v10.2.1
adam@adam-VirtualBox:~/Desktop/Projekty/GovernanceContracts$ npm -v
6.1.0


#6

Also I’ve managed to deploy it on POA CORE (after migration script simplification)

Still do not work on Sokol.

I guess it might have something in common with cloudflare threading truffic as spam attack and blocking it

https://poaexplorer.com/address/0x23ec78ff92b5386af3d735f73858103225eeeb41