Lucas Saldanha
82c89096bd
Storing private tx receipts indexed by PMT hashes ( #645 )
...
* Private tx receipt stored using pmt hash as key
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Lucas Saldanha
031c8cba5a
#628 Deprecating Private Transaction hash/getHash() ( #639 )
...
* #628 Deprecating Private Transaction hash/getHash()
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Antoine Toulme
7bb50d282d
Add CHANGELOG entry for eth65 addition ( #642 )
...
* Add CHANGELOG entry for eth65 addition
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* Update CHANGELOG.md
Co-Authored-By: Danno Ferrin <danno.ferrin@shemnon.com>
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Danno Ferrin <danno.ferrin@shemnon.com>
5 years ago
Antoine Toulme
2c77ffddb5
Update the vert.x version, fixes issue 508 ( #520 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
5 years ago
David Mechler
061e24a5f4
Added block add event. ( #637 )
...
Added block reorg event.
Added revert reason to both events.
Added TransactionReceipt.
Signed-off-by: David Mechler <david.mechler@consensys.net>
5 years ago
Danno Ferrin
31246f8937
Add eth_getBlockByHash to retesteth ( #638 )
...
Add eth_getBlockByHash to retesteth. Fixes #523 .
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Abdelhamid Bakhta
0e9add5ab6
[EIP-1559] Step 0 - Add CLI command line flag --Xeip1559-enabled. ( #641 )
...
* Added changelog entries for PR:
- https://github.com/hyperledger/besu/pull/430
- https://github.com/hyperledger/besu/pull/440
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
* Add ExperimentalEIPs class to hold static CLI guard flags preventing users from accidentally enabling unwanted EIPs.
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
* Remove unrelevant test
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
5 years ago
Danno Ferrin
865b10b99d
Measure Graphql complexity ( #623 )
...
Measure the complexity of GraphQL queries
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Antoine Toulme
b9c6c4b3cc
Add eth65 support ( #608 )
...
* Add eth65 support
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* Fix integration tests
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* Fix acceptance tests
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* add acceptance test that checks that transactions are gossiped between peers
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* Update ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/messages/LimitedNewPooledTransactionHashesMessages.java
Co-Authored-By: Danno Ferrin <danno.ferrin@shemnon.com>
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* code review comments
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* Code review changes
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* Reviewing diffs
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
* smaller synchronized blocks
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Danno Ferrin <danno.ferrin@shemnon.com>
5 years ago
Stefan Pingel
a93d06f182
Refactor EeaSendRawTransaction ( #594 )
...
* refactor EeaSendRawTransaction
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Horacio Mijail Antón Quiles
700c5e146b
Fix: ensure that node is displayed if recorded ( #574 )
...
Signed-off-by: Horacio Mijail Anton Quiles <hmijail@gmail.com>
Co-authored-by: CJ Hare <CjHare@users.noreply.github.com>
5 years ago
Stefan Pingel
ce031f1973
Fix the error retrurned when the PMT fails because the intrinsic gas exeeds the gas limit. ( #616 )
...
* Fix the error retrurned when the PMT cannot be added to the transaction pool because the intrinsic gas exeeds the gas limit.
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Danno Ferrin
a4143dc410
Check to see if vertx response is closed before responding ( #613 )
...
Occasionally the other side of an HTTP connection will drop the
connection before we are done processing. This results in a harmless
but annoying exception showing up in the log. If we check before we
write we won't get that exception.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
/raw PONG _GHMoaCXLT
4a1b5b0dbd
ethereum/p2p: update mordor and kotti bootnodes ( #590 )
...
Signed-off-by: /raw PONG _GHMoaCXLT <58883403+q9f@users.noreply.github.com>
5 years ago
MadelineMurray
8f49cc9e9d
Updated for privacy issue ( #610 )
...
Signed-off-by: Madeline <madeline.murray@consensys.net>
5 years ago
Danno Ferrin
04044fdeba
LogBloomCache - Do uncached query if EOF is detected ( #609 )
...
If we detect an EOF for the cache file switch over to an uncached query.
This is typically seen when filling a log filter and the new block has
not yet written out the log bloom cache to disk. Fixed #473
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Horacio Mijail Antón Quiles
4fa78d61a3
Wait for the service to start, not to stop ( #573 )
...
Signed-off-by: Horacio Mijail Anton Quiles <hmijail@gmail.com>
Co-authored-by: CJ Hare <CjHare@users.noreply.github.com>
5 years ago
Edward
1ca76eba4c
Prepare for version 1.4.3-SNAPSHOT ( #589 )
...
Signed-off-by: Edward Evans <edward.joshua.evans@gmail.com>
5 years ago
Edward
01c1559c1f
1.4.2 release ( #588 )
...
Signed-off-by: Edward Evans <edward.joshua.evans@gmail.com>
5 years ago
MadelineMurray
629f7fb8fb
Updated for 1.4.2 ( #570 )
...
* Updated for 1.4.2
Signed-off-by: Madeline <madeline.murray@consensys.net>
* added bug
Signed-off-by: Madeline <madeline.murray@consensys.net>
5 years ago
Horacio Mijail Antón Quiles
b29f6fc6e3
Upgrade junit to 4.13 ( #566 )
...
Signed-off-by: Horacio Mijail Anton Quiles <hmijail@gmail.com>
Co-authored-by: Antoine Toulme <atoulme@users.noreply.github.com>
5 years ago
Danno Ferrin
6d7d525c58
Add fast sync status to eth_syncing and EthQL query ( #565 )
...
The EthQL API spec specifies pulledStates and knownStates in the
`syncing` query. Previously we always returned null. This plumbs through
the needed data so that the synchronization states can report the
fast sync progress via EthQL, as well as the `eth_syncing` JSON-RPC.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Danno Ferrin
5e368dd7e6
Fix License Check ( #568 )
...
License reporting depends on the deprecated "compile" dependency in the
root project. Restore that so that license checking can work.
Also clean out old unused license types and one unneeded dependency.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Horacio Mijail Antón Quiles
56c60e03df
Kill correctly Besu node processes ( #420 )
...
Signed-off-by: Horacio Mijail Anton Quiles <hmijail@gmail.com>
5 years ago
Horacio Mijail Antón Quiles
93f54d0e37
Improving Acceptance Test logging ( #399 )
...
Signed-off-by: Horacio Mijail Anton Quiles <hmijail@gmail.com>
5 years ago
Usman Saleem
bc31c34078
Updating changelog for pull request #554 ( #563 )
...
Signed-off-by: Usman Saleem <usman@usmans.info>
5 years ago
Ivaylo Kirilov
3ea90ecbde
fix test name typo ( #521 )
...
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
Co-authored-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Stefan Pingel
0116d5f3bf
Allow future nonces for private transactions when validating before d… ( #557 )
...
* Allow future nonces for private transactions when validating before distribution
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Helder Pinto
c1b1460824
Fix typo ( #527 )
...
Signed-off-by: hp <hp_ctt@hotmail.com>
Co-authored-by: CJ Hare <CjHare@users.noreply.github.com>
5 years ago
Usman Saleem
98ec5777dd
Fix privacy enclave keystore password file reading eol issue ( #554 )
...
-- Read password from first line instead of reading whole file as bytes
-- Raise appropriate exceptions if file is empty or only contains eol as first line.
fixes #525
Signed-off-by: Usman Saleem <usman@usmans.info>
5 years ago
Felipe Faraggi
2701fe813f
fixed bad link on readme ( #526 )
...
Signed-off-by: Felipe Faraggi <felipefaraggi@gmail.com>
Co-authored-by: Abdelhamid Bakhta <45264458+abdelhamidbakhta@users.noreply.github.com>
5 years ago
Karim T
0a9ccc1ed8
[PIE-2267] Automated tests for handling ERC20 contract ( #529 )
...
* update changelog
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* Init test for ERC20 deployment and transfert
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* add automated tests for handling of ERC20 token contract.
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* remove useless change
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
5 years ago
Karim T
fff1f5e13f
[PIE-2333] Fix trace replay block transactions ( #522 )
...
* update changelog
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix trace_replayBlockTransactions and add missing tests
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* remove useless diff
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* rename method addContractCreationMethodTrace
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* update test and fix review issues
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix test after merge
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
5 years ago
Felipe Faraggi
bcdb1144b5
updated the contribtion docs: ( #448 )
...
updated Jira links and references to github issues tab
Signed-off-by: Felipe Faraggi <felipefaraggi@gmail.com>
Co-authored-by: MadelineMurray <43356962+MadelineMurray@users.noreply.github.com>
5 years ago
pinges
da75f9cba4
Now members of on chain privacy groups can be re-added after they hav… ( #471 )
...
* Now members of on chain privacy groups can be re-added after they have been removed
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Karim T
3902d00ec2
PIE-1961 - Add trace block api ( #449 )
...
* init trace_block api
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* add test for trace_block api
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix trace_block api issue
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix trace_block api block reward issue
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix trace_block api block reward issue order
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* add ommer reward to block reward
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* change to uncle inclusion reward
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* add reward without transaction
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix last issues and clean code
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* rename generate reward method
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix review issues
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix build
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* clean code
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* fix the tests to work with the new generation of blocks.bin
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
5 years ago
pinges
ba2f43cbd0
Add an acceptance test where 2 members are added to two different privacy groups in the same block ( #472 )
...
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
Co-authored-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Danno Ferrin
46e9d1dc83
Restore test generation of blocks.bin ( #467 )
...
* Restore test generation of blocks.bin
Restore the ability to generate our blocks.bin as part of the build.
(a) a fixed start time was added
(b) nonces for blocks imported for test are deterministically chosen.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
* more readable test files
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Ivaylo Kirilov
cf5307540a
[PRIV] tests for onchain privacy ( #465 )
...
* testing around privx_findOnChainPrivacyGroup
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
* test existence of on chain privacy precompile
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
* test rehydration occurs in privacy block processor
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
* fix compile
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
5 years ago
Edward
6770d67265
Prepare for version 1.4.2-SNAPSHOT ( #464 )
...
Signed-off-by: Edward Evans <edward.joshua.evans@gmail.com>
5 years ago
Edward
47d9c83270
1.4.1 release ( #463 )
...
Signed-off-by: Edward Evans <edward.joshua.evans@gmail.com>
5 years ago
MadelineMurray
0a34acafc5
Added onchain privacy groups to changelog ( #458 )
...
Signed-off-by: Madeline <madeline.murray@consensys.net>
5 years ago
Edward Mack
f0ae9fdd3e
added PR#434 to changelog ( #462 )
...
Signed-off-by: Edward Mack <ed@edwardmack.com>
5 years ago
Karim T
b59b4900ca
update changelog ( #461 )
...
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
5 years ago
Abdelhamid Bakhta
dfc7ece19b
Added changelog entries for PR: ( #459 )
...
- https://github.com/hyperledger/besu/pull/430
- https://github.com/hyperledger/besu/pull/440
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
5 years ago
Lucas Saldanha
0254556c6b
Adding onchain privacy groups flag ( #456 )
...
* Creating flag for onchain privacy groups
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
MadelineMurray
3968b3094d
Added private txns migration content ( #379 )
...
Signed-off-by: Madeline <madeline.murray@consensys.net>
5 years ago
Jason Frame
2a54209b72
changelog for bug where rpc authentication would be enabled even if a credentials file was specified ( #457 )
...
Signed-off-by: Jason Frame <jasonwframe@gmail.com>
5 years ago
Jason Frame
2245a6aecd
Fix bug where rpc authentication would be enabled even if it was disabled if a credentials file was specified ( #454 )
...
Signed-off-by: Jason Frame <jasonwframe@gmail.com>
5 years ago
Ivaylo Kirilov
ad5bfecd3f
[PRIV] Unit tests around json rpc ( #450 )
...
* fix eea_sendRawTransaction test
* add priv_getPrivateTransaction test
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
Co-authored-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago