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
Karim T
9c576ccdc6
[PIE-2322] Create file if logBloom-current.cache is missing ( #438 )
...
* create file if logBloom-current.cache is missing
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* update populateLatestSegment in order to resolve the missing logs issue
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
* add lock for populateLatestSegment
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
5 years ago
Lucas Saldanha
634404c626
Fix log level setup during startup ( #439 )
...
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Danno Ferrin
d1fa4b78a4
Copy logs query to null-tolerant collections ( #435 )
...
LogsQuery may get passed in addresses in lists and topics in lists that do
not tolerate being checked for null members. This is an unexpected and
subtle situation hence the long comment.
This new test covers this case as it passes in null-intolerant lists.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
David Mechler
4d198eb909
Updates made to send notifications for new fork headers when the chai… ( #403 )
...
Signed-off-by: David Mechler <david.mechler@consensys.net>
5 years ago
Lucas Saldanha
84056febd9
Fix priv_getCode on multi-tenancy ( #432 )
...
* Refactoring priv_getCode to use PrivacyController
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Lucas Saldanha
30181a4052
New maintainer proposal: Stefan Pingel ( #405 )
...
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Karim T
8ced45c05d
[BESU-194] Remove max pivot block resets during fast sync ( #427 )
...
* remove max pivot block resets during fast sync
* increase max retry number and fix test
* change logs in the handleFailure method
* change logs related to suspicious number of retries
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
5 years ago
Joshua Fernandes
2f6c58e63b
updating the changelog with 1.4.0 details ( #431 )
...
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
5 years ago
Felipe Faraggi
28205875c5
roll back on ALL-CAPS.md files for TSC proposal ( #376 )
...
Signed-off-by: Felipe Faraggi <felipefaraggi@gmail.com>
5 years ago
Sally MacFarlane
9a088f7b2d
fixed typos ( #429 )
...
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Co-authored-by: CJ Hare <CjHare@users.noreply.github.com>
5 years ago
anthonybuckle
30fa565dca
BESU-146 - check if success and return errorResponse otherwise ( #424 )
...
Signed-off-by: Anthony Buckle <anthonybuckle@gmail.com>
Co-authored-by: CJ Hare <CjHare@users.noreply.github.com>
5 years ago
Lucas Saldanha
bfc40be32e
Adds priv_getcode ( #428 )
...
* Adds priv_getcode
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
5 years ago
Danno Ferrin
7fe1d4796e
Implement Eth/64 ( #425 )
...
Wire in the fork identifier into the status messages as Eth64.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago