Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create flexible privacy group with Besu version >= 22.10.0 #6192

Closed
ghost opened this issue Nov 21, 2023 · 4 comments
Closed

Unable to create flexible privacy group with Besu version >= 22.10.0 #6192

ghost opened this issue Nov 21, 2023 · 4 comments
Assignees
Labels
non mainnet (private networks) not related to mainnet features - covers privacy, permissioning, IBFT2, QBFT privacy private transactions

Comments

@ghost
Copy link

ghost commented Nov 21, 2023

Description

We were trying to create flexible privacy group between two parties. While creating privacy group, we observed an error "Returned error: Flexible Privacy group does not exist".

This behavior is only observed for Besu's version >= 22.10.0 (including latest).

Note: It is working fine with Besu's version 22.7.7.

Steps to Reproduce (Bug)

  1. Create a flexible privacy group between two parties using web3js-quorum method: web3.eth.flexiblePrivacyGroup.create

Logs (if a bug)

  1. Error observed from client: Flexible Privacy group does not exist.

Versions (Add all that apply)

  • Software version: Besu >= 22.10.0
  • Added Configuration: --privacy-flexible-groups-enabled=true
@macfarla macfarla added privacy private transactions non mainnet (private networks) not related to mainnet features - covers privacy, permissioning, IBFT2, QBFT labels Nov 22, 2023
@NickSneo NickSneo self-assigned this Nov 28, 2023
@NickSneo
Copy link
Contributor

NickSneo commented Jan 8, 2024

I can confirm this error, tested with Besu latest 23.10.3 and 23.4.1 along with latest web3js-quorum
Getting Error -
Error: Returned error: Flexible Privacy group does not exist.

While with Besu 22.7.7 able to create Flexible group using web3js-quorum -

FIND Privacy Group Result:
{
  privacyGroupId: 'nFhwXEBPKym+r/8z2fYNBHIevpNABo/JVBtA4WShCgw=',
  name: '',
  description: '',
  type: 'FLEXIBLE',
  members: [
    'BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+cHII3ZKBey3Bo=',
    'QfeDAys9MPDs2XHExtc84jKGHxZg/aj52DTh0vtA3Xc='
  ]
}

In Besu we have accpetance test for FlexiblePrivacyGroup which is passing for every run, and this uses web3j - https://github.com/hyperledger/besu/blob/main/acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/privacy/FlexiblePrivacyAcceptanceTest.java

Now, we need to check if this regression is from Besu side or Web3js-quorum side.

@NickSneo
Copy link
Contributor

NickSneo commented Jan 8, 2024

The issue is due to this breaking change - #4282

@NickSneo
Copy link
Contributor

Issue is fixed in this PR - Consensys/web3js-quorum#58

@NickSneo
Copy link
Contributor

Closing the issue as PR is merged into Web3js-Quorum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non mainnet (private networks) not related to mainnet features - covers privacy, permissioning, IBFT2, QBFT privacy private transactions
Projects
None yet
Development

No branches or pull requests

2 participants