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
Ivaylo Kirilov
52be1faf9c
remove-from-group-AT ( #447 )
...
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
Co-authored-by: pinges <16143240+pinges@users.noreply.github.com>
5 years ago
Danno Ferrin
83ee5fa3c7
Update Code of Conduct and Security ( #446 )
...
This brings our code of conduct and security file in line with automated
checks.
The changes to `SECURITY.md` are mostly formatting, adding newlines so
it line wraps at 80 lines and fixing a dead link.
The `CODE_OF_CONDUCT.md` is a more substantial change. Rather than the
being subject to both the contributor covenant and the Hyperledger CoC
this change makes the project only subject to the Hyperledger CoC.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Abdelhamid Bakhta
f03061d2b4
Database Migration acceptance testing - using pre-generated database archives ( #430 )
...
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
5 years ago
pinges
6b9a877f1d
refactor privacy precompiled contracts ( #444 )
...
* refactor privacy precompiled contracts
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
* make ATs pass
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Edward Mack
c955f67da6
Implement Phoenix EVM and Protocol Upgrades ( #434 )
...
* remove code related to aztlan fork.
Signed-off-by: Edward Mack <ed@edwardmack.com>
* added genesis config option for Phoenix block
Signed-off-by: Edward Mack <ed@edwardmack.com>
* implement phoenix protocol spec definition
Implement Phoenix EVM and protocol upgrades as per ECIP-1088
Signed-off-by: Edward Mack <ed@edwardmack.com>
* p2p/config: update mordor classic discovery nodes (#29 )
Signed-off-by: /raw PONG _GHMoaCXLT <58883403+q9f@users.noreply.github.com>
* remove unnecessary contractCreationProcessorBuilder
remove unnecessary contractCreationProcessorBuilder from Phoenix
ClassicProtocolSpec.
Signed-off-by: Edward Mack <ed@edwardmack.com>
Co-authored-by: /raw PONG _GHMoaCXLT <58883403+q9f@users.noreply.github.com>
5 years ago
Karim T
67a0c79287
[PIE-2284] Add trace transaction api ( #441 )
...
* init trace_transaction api
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* add test cases for trace_transaction api
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* resolve the tests by checking only the presence of the blockHash field and not its value because it is different each time generateTestBlockchain is called
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* clean code
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* to allow the tests to work, we must put back the blocks.bin and no longer generate it during the build. adding the nonce to the blocks.json file should solve this problem
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* clean code
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* refactor add additional transaction part
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
5 years ago
Lucas Saldanha
19b8f9d6eb
Refactoring some of the onchain privacy group ATs ( #443 )
...
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Ivaylo Kirilov
9701a92dc9
on-chain-privacy-groups ( #423 )
...
Introduce on-chain privacy groups with add and remove functionality.
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
5 years ago
Abdelhamid Bakhta
2a3d64e82e
New maintainer candidate: Antoine Toulme ( #422 )
...
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
5 years ago
CJ Hare
7bc8bb4d19
BESU-146 - return better gas estimate service error message if possible ( #436 )
...
Signed-off-by: Anthony Buckle <anthonybuckle@gmail.com>
5 years ago
Abdelhamid Bakhta
b9e0b3bb66
Xpruning-blocks-retained should accept an integer in the config. ( #440 )
...
Signed-off-by: Abdelhamid Bakhta <abdelhamid.bakhta@consensys.net>
5 years ago