Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Dapps interface RPC #3311

Merged
merged 5 commits into from
Nov 9, 2016
Merged

Dapps interface RPC #3311

merged 5 commits into from
Nov 9, 2016

Conversation

tomusdrw
Copy link
Collaborator

@tomusdrw tomusdrw commented Nov 9, 2016

Partly addresses #3301

NOTE:

  1. it may return 0.0.0.0 in such case we should fallback to window.location.hostname
  2. if window.location.hostname == 'home.parity' we should fallback to proxy address instead of using dappsInterface

@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Nov 9, 2016
dappsInterface () {
return this._transport
.execute('parity_dappsInterface')
.then(outNumber);
Copy link
Contributor

Choose a reason for hiding this comment

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

It returns a string/IP, so would remove this line. (Just the execute is fine without a formatter)

@tomusdrw tomusdrw added A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. and removed A0-pleasereview 🤓 Pull request needs code review. labels Nov 9, 2016
@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. and removed A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. labels Nov 9, 2016
@arkpar arkpar added A7-looksgoodtestsfail 🤖 Pull request is reviewed well, but cannot be merged due to tests failing. B0-patch and removed A0-pleasereview 🤓 Pull request needs code review. labels Nov 9, 2016
@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. and removed A7-looksgoodtestsfail 🤖 Pull request is reviewed well, but cannot be merged due to tests failing. labels Nov 9, 2016
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Nov 9, 2016
@arkpar arkpar merged commit 88c9cea into master Nov 9, 2016
@arkpar arkpar deleted the dapps-interface branch November 9, 2016 18:46
arkpar pushed a commit that referenced this pull request Nov 9, 2016
* Dapps Interface RPC

* Adding JS apis

* Support for signer interface in proxypac and embeds

* Fixing tests

* fixing tests again
arkpar pushed a commit that referenced this pull request Nov 9, 2016
* Dapps Interface RPC

* Adding JS apis

* Support for signer interface in proxypac and embeds

* Fixing tests

* fixing tests again
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants