Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Implement the personal api #262

Closed
wants to merge 6 commits into from
Closed

Implement the personal api #262

wants to merge 6 commits into from

Conversation

axic
Copy link
Contributor

@axic axic commented Feb 14, 2017

@axic
Copy link
Contributor Author

axic commented Feb 14, 2017

This is enough to work with browser-solidity and soltest (of solidity).

@axic axic force-pushed the personal-api branch 2 times, most recently from 636454c to 3cc59d7 Compare February 14, 2017 19:03
@tcoulter
Copy link
Contributor

Any chance I can get some added tests for these methods?

});
});

describe("personal_unlockAccount", function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This test could use more code that ensures the locked state of this account actually changed, vs. simply checking the boolean (i.e., make a transaction on the locked account, assert it doesn't work, unlock, make a transaction on the now unlocked account, assert it worked). Would be great if you could add this, but I'll do so if I can get to it.

Copy link
Contributor Author

@axic axic Feb 17, 2017

Choose a reason for hiding this comment

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

@tcoulter I will not have time for a week at least, so please if you can, add those tests 😉

@tcoulter
Copy link
Contributor

@axic Sorry for such the long wait on this. I've added it to the release branch of trufflesuite/ganache-core. Will go out with the next release of the TestRPC.

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

Successfully merging this pull request may close these issues.

2 participants