-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add eth_sendTransaction #835
Add eth_sendTransaction #835
Conversation
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
# Conflicts: # CHANGELOG.md # acceptance-tests/src/test/java/tech/pegasys/web3signer/dsl/signer/SignerConfigurationBuilder.java # core/src/integrationTest/java/tech/pegasys/web3signer/core/jsonrpcproxy/IntegrationTestBase.java # core/src/main/java/tech/pegasys/web3signer/core/Eth1Runner.java # core/src/main/java/tech/pegasys/web3signer/core/service/jsonrpc/EthSendTransactionJsonParameters.java # core/src/main/java/tech/pegasys/web3signer/core/service/jsonrpc/handlers/internalresponse/EthSignTransactionResultProvider.java # core/src/main/java/tech/pegasys/web3signer/core/service/jsonrpc/handlers/sendtransaction/NonceProvider.java # core/src/main/java/tech/pegasys/web3signer/core/service/jsonrpc/handlers/sendtransaction/transaction/EthTransaction.java # core/src/main/java/tech/pegasys/web3signer/core/service/jsonrpc/handlers/sendtransaction/transaction/Transaction.java # core/src/main/java/tech/pegasys/web3signer/core/service/jsonrpc/handlers/signing/ChainIdProvider.java # core/src/main/java/tech/pegasys/web3signer/core/service/jsonrpc/handlers/signing/ConfigurationChainId.java # core/src/main/java/tech/pegasys/web3signer/core/service/jsonrpc/handlers/signing/TransactionSerializer.java # core/src/test/java/tech/pegasys/web3signer/core/service/jsonrpc/EthSignTransactionResultProviderTest.java # core/src/test/java/tech/pegasys/web3signer/core/service/jsonrpc/handlers/transaction/EthTransactionTest.java
...ch/pegasys/web3signer/core/service/jsonrpc/sendtransaction/DownstreamPathCalculatorTest.java
Fixed
Show fixed
Hide fixed
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
…to add_eth_sendTransaction
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
.../pegasys/web3signer/core/service/jsonrpc/sendtransaction/transaction/EthTransactionTest.java
Outdated
Show resolved
Hide resolved
…endTransaction Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
"chainId": 2018, | ||
"homesteadBlock": 0, | ||
"daoForkBlock": 0, | ||
"eip150Block": 0, |
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.
We should a later fork for testing. London is the latest we support for EthHash I think
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.
My PR adds londonBlock to one of these files at least
"eip158Block": 0, | ||
"byzantiumBlock": 0, | ||
"constantinopleBlock": 0, | ||
"constantinopleFixBlock": 0, |
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.
Same as above, we should use at a later hard fork
core/src/main/java/tech/pegasys/web3signer/core/Eth1Runner.java
Outdated
Show resolved
Hide resolved
core/src/main/java/tech/pegasys/web3signer/core/Eth1Runner.java
Outdated
Show resolved
Hide resolved
core/src/main/java/tech/pegasys/web3signer/core/service/http/handlers/ReloadHandler.java
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/web3signer/signing/config/SecpArtifactSignerProviderAdpater.java
Outdated
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/web3signer/signing/config/SecpArtifactSignerProviderAdpater.java
Outdated
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/web3signer/signing/config/SecpArtifactSignerProviderAdpater.java
Outdated
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/web3signer/signing/config/SecpArtifactSignerProviderAdpater.java
Outdated
Show resolved
Hide resolved
signing/src/main/java/tech/pegasys/web3signer/signing/secp256k1/SingleSignerProvider.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
…ecpArtifactSignerProviderAdpater.java Co-authored-by: Jason Frame <jasonwframe@gmail.com>
.../src/main/java/tech/pegasys/web3signer/signing/config/SecpArtifactSignerProviderAdpater.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
...ntegrationTest/java/tech/pegasys/web3signer/keystore/hashicorp/HashicorpIntegrationTest.java
Outdated
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/web3signer/signing/config/SecpArtifactSignerProviderAdapter.java
Outdated
Show resolved
Hide resolved
...ntegrationTest/java/tech/pegasys/web3signer/keystore/hashicorp/HashicorpIntegrationTest.java
Outdated
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/web3signer/signing/config/SecpArtifactSignerProviderAdapter.java
Show resolved
Hide resolved
core/src/main/java/tech/pegasys/web3signer/core/service/http/handlers/ReloadHandler.java
Show resolved
Hide resolved
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
.../src/main/java/tech/pegasys/web3signer/signing/config/SecpArtifactSignerProviderAdapter.java
Outdated
Show resolved
Hide resolved
Can you also add a changelog entry for this |
.../src/main/java/tech/pegasys/web3signer/signing/config/SecpArtifactSignerProviderAdapter.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
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.
LGTM
PR Description
Add eth_sendTransaction RPC method under the eth1 subcommand.
Fixed Issue(s)
Fixes #764
Documentation
doc-change-required
label to this PR if updates are required.Changelog
Testing