Comments (10)
@namanyayg check this out:
def tweak_chain(project, deployment_name):
with project.get_chain(deployment_name) as chain:
chain.wait.timeout = 9999
# in deploy contracts.py -> def main(deployment_file, deployment_name, address):
project = Project()
tweak_chain(project, deployment_name) # <-- here we go!
from smart-contracts.
I'm facing the same issue guys. Token Market team, can you give us a hint or something?
from smart-contracts.
@AlexanderC Thanks! Looks like this would work -- I managed to deploy all my contracts soon after Byzantium when my timeouts stopped coming (due to faster mining times perhaps?)
Would appreciate an official update from TokenMarketNet team, but I think we can close this.
from smart-contracts.
i get these timeouts all the time.. do i really need to patch the code in this way as a workaround?
from smart-contracts.
The problem is that the current Populus version does not support setting timeout when deploying linked contracts (contracts having libraries in them that need to be deployed). So far we have fixed this by just hardcoding a different timeout in Populus. Last time I checked @petri and @voith might have a patch coming in.
from smart-contracts.
Yes, I'll be working on this today!
from smart-contracts.
I have opened ethereum/populus#464 to fix this issue.
from smart-contracts.
Need #134 merged to fix this issue as the fix submitted upstream needs populus from the master branch. Once #134 is merged I'll submit a PR to increase the timeout in project.json
.
from smart-contracts.
@AlexanderC mate this proposed solution does not solve the issue either, what else can be tried in the interim or is a solution released for it ? thanks
also note this will only even execute if the deployment_name is same as the chain name
def tweak_chain(project, deployment_name):
with project.get_chain(deployment_name) as chain:
chain.wait.timeout = 9999
in deploy contracts.py -> def main(deployment_file, deployment_name, address):
project = Project()
tweak_chain(project, deployment_name) # <-- here we go!
from smart-contracts.
in the interim the workaround was to change the timeout values in the following files
/usr/local/lib/python3.5/dist-packages/populus/wait.py
/usr/local/lib/python3.5/dist-packages/populus/utils/wait.py
from smart-contracts.
Related Issues (20)
- is there any example for crowdsale via transfer function? HOT 1
- eth_utils throws "force_text" Error HOT 2
- SafeMathLib overlaps with SafeMath in OpenZeppelin HOT 1
- ImportError: No module named ico.cmd.deploycontracts HOT 2
- WaveX (wvx)
- Parametrize docker installation for different KGSes
- Solc contract type error while deploying contract HOT 3
- populus.utils.compat.compat_stdlib.Timeout: 120 seconds HOT 10
- requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) HOT 1
- Hard coded dated seems to be outdated and `PreICOProxyBuyer` State enums doesn't match with `Crowdsale` enums HOT 5
- UpgradeAgent Contract issue HOT 5
- using tokenmarket tools with infura HOT 6
- Quick token sale walkthrough HOT 1
- Error on sending ETH to the network HOT 2
- Withdraw tokens functionality
- Change price functionality
- Start ICO by calling function functionality
- Add Ethereum address to FUNDING.yml
- SSmart
- vate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smart-contracts.