Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

PAN-2741: Added error msg for calling eth_sendTransaction #1681

Merged
merged 5 commits into from
Jul 13, 2019

Conversation

lucassaldanha
Copy link
Contributor

No description provided.

// eth_sendTransaction specific error message
ETH_SEND_TX_NOT_AVAILABLE(
-32604,
"The method eth_sendTransaction is not supported. Use eth_sendRawTransaction with a supported signer, e.g. ethsigner."),
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this is quite right. Your options are:

  • Use eth_sendRawTransaction with Pantheon
  • Use eth_sendTransaction with a supported signer (eg, EthSigner)

You can send eth_sendRawTransaction through EthSigner but there's no benefit because the transaction would already be signed.

@lucassaldanha
Copy link
Contributor Author

lucassaldanha commented Jul 12, 2019 via email

@lucassaldanha lucassaldanha merged commit 50d052b into PegaSysEng:master Jul 13, 2019
@lucassaldanha lucassaldanha deleted the pan-2741 branch July 13, 2019 03:02
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.

3 participants