-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for Besu private transactions
Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
- Loading branch information
1 parent
5938426
commit c3a5701
Showing
12 changed files
with
426 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/caliper-tests-integration/besu_tests/config/orion/key/orion.key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"data":{"bytes":"uTJGpd4ZEEtDPFSZM0+GT11xn5NFIr2KGP2Q4SdVPRM="},"type":"unlocked"} |
1 change: 1 addition & 0 deletions
1
packages/caliper-tests-integration/besu_tests/config/orion/key/orion.pub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
GGilEkXLaQ9yhhtbpBT03Me9iYa7U/mWXxrJhnbl1XY= |
12 changes: 12 additions & 0 deletions
12
packages/caliper-tests-integration/besu_tests/config/orion/orion.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
nodeurl = "http://127.0.0.1:8080/" | ||
nodeport = 8080 | ||
nodenetworkinterface = "0.0.0.0" | ||
|
||
clienturl = "http://127.0.0.1:8888/" | ||
clientport = 8888 | ||
clientnetworkinterface = "0.0.0.0" | ||
|
||
tls = "off" | ||
|
||
publickeys = ["/keys/orion.pub"] | ||
privatekeys = ["/keys/orion.key"] |
11 changes: 11 additions & 0 deletions
11
packages/caliper-tests-integration/besu_tests/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "besu_tests", | ||
"version": "1.0.0", | ||
"description": "Caliper Besu Integration Tests", | ||
"keywords": [], | ||
"author": "", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"web3": "1.3.0" | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
packages/caliper-tests-integration/besu_tests/privatetxs/benchconfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
test: | ||
name: Simple Storage | ||
description: Test private transactions | ||
workers: | ||
type: local | ||
number: 1 | ||
rounds: | ||
- label: public store | ||
txNumber: 5 | ||
rateControl: | ||
type: fixed-rate | ||
opts: | ||
tps: 100 | ||
workload: | ||
module: ./../store.js | ||
arguments: | ||
contract: public_storage | ||
- label: private store | ||
txNumber: 5 | ||
rateControl: | ||
type: fixed-rate | ||
opts: | ||
tps: 100 | ||
workload: | ||
module: ./../store.js | ||
arguments: | ||
contract: private_storage | ||
private: group1 | ||
|
Oops, something went wrong.