Sally MacFarlane
4adfb375ab
[MINOR] Fixed failing tests in account permissioning smart contract ( #956 )
...
* fixed tests that fail
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Co-authored-by: mark-terry <36909937+mark-terry@users.noreply.github.com>
5 years ago
mark-terry
f5883a8ac2
Fixed bug where a permissioned IBFT2 network starts in stalled state. ( #969 )
...
Signed-off-by: Mark Terry <mark.terry@consensys.net>
5 years ago
mark-terry
4174eb9229
Updated SimpleNodePermissioning smart contract to relax enodeURL matc… ( #945 )
...
Updated SimpleNodePermissioning smart contract in the acceptance tests to relax enodeURL matching to exclude the p2p port.
Signed-off-by: Mark Terry <mark.terry@consensys.net>
5 years ago
Stefan Pingel
46233966f5
Make sure that the onchain privacy group version is always different. ( #828 )
...
* Make sure that the onchain privacy group version is always different.
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Danno Ferrin
0bbde72f47
Gradle 6.3 upgrade ( #822 )
...
* Change gradle version to 6.3
* Enables Java 14
* clean up Gradle compatibility warnings
* fix stray dependency version
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Horacio Mijail Antón Quiles
823a0f2817
Store test logs in CI ( #781 )
...
* Capture test logs in CI
If test logs were saved, store them as CI artifacts
* Only keep logs for failed tests
* Catch tests who didn't define names into a generic filename
Signed-off-by: Horacio Mijail Anton Quiles <hmijail@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
5 years ago
Antoine Toulme
3f2811336e
Do not create the splunk appender if it's not selected. Add an acceptance test checking that --help exits with code 0 ( #790 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
5 years ago
Lucas Saldanha
6f05bdccfc
Added private filter acceptance tests ( #753 )
...
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
5 years ago
Stefan Pingel
04888f38a9
add AT for onchain privacy ( #729 )
...
* add AT for onchain privacy
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Lucas Saldanha
ba6f656e66
Implemented priv_getLogs ( #686 )
...
* Implemented priv_getLogs
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Stefan Pingel
36bdae457b
Fix priv_getPrivateTransaction return ( #703 )
...
* fix return for priv_getPrivateTransaction
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Horacio Mijail Antón Quiles
e917a35e80
Report memory/processes at end of test ( #421 )
...
Signed-off-by: Horacio Mijail Anton Quiles <hmijail@gmail.com>
Co-authored-by: CJ Hare <CjHare@users.noreply.github.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
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
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
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
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
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
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
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
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
bfc40be32e
Adds priv_getcode ( #428 )
...
* Adds priv_getcode
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
5 years ago
Lucas Saldanha
9fa9c858ea
Private state update metadata and migration ( #404 )
...
(backport from release-1.4)
Private state update metadata and migration
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
mark-terry
3773d255c8
[PIE-1798] Fail cases for multitenancy ATs ( #400 )
...
Signed-off-by: Mark Terry <mark.terry@consensys.net>
5 years ago
mark-terry
d25297443e
[PIE-1798] Priv RPC acceptance tests with stub enclave. ( #330 )
...
* [PIE-1798] Added some Privacy RPC ATs with a stub enclave.
Signed-off-by: Mark Terry <mark.terry@consensys.net>
5 years ago
pinges
a7390e611b
Make priv_call use the PrivacyController ( #325 )
...
* Make priv_call use the PrivacyController
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
* minor changes after review
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
pinges
6e67988951
Priv call ( #250 )
...
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Danno Ferrin
e493b91742
Restore "FieldCanBeFinal" errorprone check ( #287 )
...
This was turned off a number of months ago because of long build times.
However it appears either because of code structure changes or fixed
errorprone that this finishes in a reasonable time now.
Code that violated this check is also fixed.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Danno Ferrin
dfad8bff78
Update Dependencies ( #281 )
...
Update dependencies to most current version
- except picocli which is a major version update
Alphabetize dependencies
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Antoine Toulme
ccefada736
Move to Apache Tuweni Bytes library ( #215 )
...
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Jason Frame
a0e87148e9
Privacy rpcs to go through privacy controller instead directly through Enclave ( #243 )
...
Signed-off-by: Jason Frame <jasonwframe@gmail.com>
5 years ago
Trent Mohay
b0d6353aab
Move Enclave from OkHttp to Vertx ( #212 )
...
Signed-off-by: Trent Mohay <trent.mohay@consensys.net>
5 years ago
Josh Richardson
bb0ba9b781
[PAN-2984] Refactors transaction receipt to contain more members ( #85 )
...
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
5 years ago
Jason Frame
8951dd6cdb
Allow use a external JWT public key in authenticated APIs ( #183 )
...
Signed-off-by: Jason Frame <jasonwframe@gmail.com>
5 years ago
pinges
3c1768eef7
Multi-Tenancy: Do not specify a public key anymore when requesting a … ( #185 )
...
* Multi-Tenancy: Do not specify a public key anymore when requesting a payload from Orion, so all private keys are tried to decrypt the encrypted payload.
Signed-off-by: Stefan Pingel <stefan.pingel@consensys.net>
5 years ago
Ivaylo Kirilov
b4d0327dce
Fix state root mismatch when trying to modify public state from priv tx ( #118 )
...
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Danno Ferrin
48df8290de
[PAN-3242] Programatically enforce plugin CLI variable names ( #117 )
...
Enforce that plugin variable names are either `--plugin-<namespace>-`
or `--Xplugin-<namespace>-` when registered with the
PicoCLIOptionsService. If the names don't match a RuntimeException is
thrown, and unless that exception is caught the plugin will not have
start or stop lifecycle messages called.
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Danno Ferrin
e9b2dd24c9
Update dependencies ( #112 )
...
Upgrade dependencies except rocksdb (needs burn in testing),
picocli (reorders options), gradle (causes build server breakage), and
web3j (test failures).
* Awaitality removed a Duration object and instead uses java.time
* jackson stopped throwing a checked exception for one API
* spotless now enforces gradle formatting checks (yea!)
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
5 years ago
Ivaylo Kirilov
b4f1becc05
[PAN-3222] Fix private transactions breaking evm ( #96 )
...
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
mbaxter
06fd8f9340
Rework balance checks to use stronger types ( #89 )
...
Previously you could set an expectation for a balance with a decimal
string value, but not a hex string value. This was an error-prone
approach.
Signed-off-by: Meredith Baxter <meredith.baxter@consensys.net>
5 years ago
Ivaylo Kirilov
57a5005b96
add privDistributeTransaction AT ( #81 )
...
Signed-off-by: Ivaylo Kirilov <iikirilov@gmail.com>
Signed-off-by: Lucas Saldanha <lucas.saldanha@consensys.net>
5 years ago
Josh Richardson
1ca84871e4
[PAN-3122] Allow private contracts to access public state ( #9 )
...
* Allow private contracts to access public state
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
5 years ago
Josh Richardson
82eda12394
[PAN-3111] Renames eea_getTransactionReceipt to priv_getTransactionReceipt ( #10 )
...
Signed-off-by: Madeline Murray <madeline.taylor@gmail.com>
* Refactors eeaGetTransactionReceipt to PrivGetTransactionReceipt
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
* Fixes typo
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
* Bumps web3j version and finishes refactor from eea to priv
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
5 years ago
Joshua Fernandes
bac5c673d3
Adding a spdx license check gradle task ( #30 )
...
* adding in spdx-license-identifier & updated check for the same; removing license check from spotless
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
* Change CheckSpdxHeader to a task.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Nicolas MASSART
829d865f3d
update Cava library to Tuweni Library ( #18 )
...
Cava and Tuweni are the same thing but renamed when moved to Apache foundation
Signed-off-by: Nicolas <nicolas.massart@consensys.net>
5 years ago