-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
would have been nicer if the UI integration could have been reviewed in the same PR as the code behind it. instead we just get to "review" some anonymous hashes. |
fn check_transaction(&self, _: Params) -> Result<Value, Error>; | ||
|
||
/// Should be used to convert object to io delegate. | ||
fn to_delegate(self) -> IoDelegate<Self> { | ||
let mut delegate = IoDelegate::new(Arc::new(self)); | ||
delegate.add_method("eth_sign", EthSigning::sign); | ||
delegate.add_method("eth_postSign", EthSigning::post_sign); | ||
delegate.add_method("eth_sendTransaction", EthSigning::send_transaction); | ||
delegate.add_method("eth_postTransaction", EthSigning::post_transaction); | ||
delegate.add_method("eth_checkTransaction", EthSigning::check_transaction); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checkRequest
instead of checkTransaction
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, I wasn't sure if it's ok to break backward compatibility (and I suppose one of your dapps was using this method).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fair enough (though another reason to have these parity/ethcore JS extensions in the same repo).
Closes #1419
Closes #1310
Yet to do:
eth_postSign
(?) - support async queries for sign (similar toeth_postTransaction
)