ethereum / ethereum/populus

Testing: Create contract as user other than web3.eth.coinbase

Open
#448 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
319
Forks
110
PR merge metrics
No merged PRs in 30d

Description

* Populus Version: 2.2.0
* OS: osx

### What was wrong?

When writing tests to validate my code I want to create a contract instance with an account other than web3.eth.coinbase. How do I specify the creating account?

I currently create contracts with chain.provider.get_or_deploy_contract

Alternatively, where can I find complete documentation for what chain provides? So I can figure it out on my own. I've been searching but haven't found a good resource.

#### Cute Animal Picture

![image](https://user-images.githubusercontent.com/62378/36948332-49b20498-1fd1-11e8-8d28-03198fce8b64.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.