Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nonce revert on sendAsync error #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ckeenan
Copy link

@ckeenan ckeenan commented Oct 3, 2015

Keeps a copy of global_nonces in case of a transaction error so incremented nonces can be reverted

Removed rewritePayload & callback from synchronous send() method since they never get used

Also added truffle build command to package.json

@@ -5200,7 +5200,7 @@ var module = module || undefined;

var __provisioner = {
provision_contracts: function(scope) {
scope.__contracts = JSON.parse("{\n \"Example\": {\n \"source\": \"/Users/tim/Documents/workspace/Consensys/hooked-web3-provider/contracts/Example.sol\",\n \"binary\": \"0x60606040525b5b60888060136000396000f30060606040526000357c010000000000000000000000000000000000000000000000000000000090048063130d6dc514604157806360fe47b114606057603f565b005b604a6004506071565b6040518082815260200191505060405180910390f35b606f600480359060200150607a565b005b60006000505481565b806000600050819055505b5056\",\n \"abi\": [\n {\n \"inputs\": [],\n \"constant\": true,\n \"name\": \"test_value\",\n \"outputs\": [\n {\n \"type\": \"uint256\",\n \"name\": \"\"\n }\n ],\n \"type\": \"function\"\n },\n {\n \"inputs\": [\n {\n \"type\": \"uint256\",\n \"name\": \"new_value\"\n }\n ],\n \"constant\": false,\n \"name\": \"set\",\n \"outputs\": [],\n \"type\": \"function\"\n },\n {\n \"inputs\": [],\n \"type\": \"constructor\"\n }\n ]\n }\n}");
scope.__contracts = JSON.parse("{\n \"Example\": {\n \"source\": \"/Users/ck/consensys/noncense/persona-integration/myhooked/contracts/Example.sol\"\n }\n}");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @ckeenan. I don't think this change should have made it in. Can you tell me what version of Truffle you're using? Regardless, the build should be run using the latest version, as both the before and after have issues with the contract's source path.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tcoulter was using 0.1.0, rebuilding now w latest and removing truffle from package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants