Skip to content

Commit

Permalink
feat(bungee-hermes): viewProof & ethereum strategy
Browse files Browse the repository at this point in the history
* Views have new attribute viewProof
* This attribute has the roots of all state proofs and transaction
proofs in the view
* Added new endpoint to verify integrity of view proofs
* Created strategy for bungee-hermes to support the ethereum-connector
* Created new test for the strategy-ethereum, and altered the API test
to test the new viewProof endpoint
* Updated documentation to reflect new changes.
* Fixes in Fabric Strategy, stateProofs and error handling

Co-authored-by: André Augusto <[email protected]>
Co-authored-by: Rafael Belchior <[email protected]>

Signed-off-by: eduv09 <[email protected]>
  • Loading branch information
eduv09 authored and rafaelbelchiorbd committed May 16, 2024
1 parent 10d8b2f commit 947e93a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/cactus-plugin-bungee-hermes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ We welcome contributions to Hyperledger Cactus in many forms, and there’s alwa
Please review [CONTRIBUTING.md](https://github.com/hyperledger/cactus/blob/main/CONTRIBUTING.md "CONTRIBUTING.md") to get started.

## License
This distribution is published under the Apache License Version 2.0 found in the [LICENSE ](https://github.com/hyperledger/cactus/blob/main/LICENSE "LICENSE ")file.
This distribution is published under the Apache License Version 2.0 found in the [LICENSE ](https://github.com/hyperledger/cactus/blob/main/LICENSE "LICENSE ")file.
Original file line number Diff line number Diff line change
Expand Up @@ -448,4 +448,4 @@
}

}
}
}
49 changes: 36 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35443,6 +35443,42 @@ __metadata:
languageName: node
linkType: hard

"merge@npm:^1.2.0":
version: 1.2.1
resolution: "merge@npm:1.2.1"
checksum: 10/2298c4fdcf64561f320b92338681f7ffcafafb579a6e294066ae3e7bd10ae25df363903d2f028072733b9f79a1f75d2b999aef98ad5d73de13641da39cda0913
languageName: node
linkType: hard

"merkle-patricia-tree@npm:^2.1.2, merkle-patricia-tree@npm:^2.3.2":
version: 2.3.2
resolution: "merkle-patricia-tree@npm:2.3.2"
dependencies:
async: "npm:^1.4.2"
ethereumjs-util: "npm:^5.0.0"
level-ws: "npm:0.0.0"
levelup: "npm:^1.2.1"
memdown: "npm:^1.0.0"
readable-stream: "npm:^2.0.0"
rlp: "npm:^2.0.0"
semaphore: "npm:>=1.0.1"
checksum: 10/4188bd5b163719bd9c5da45ba356fac753a0f0ac0b9990923b5f064852e083334abd5e4d838dcd35ee50d884dad5c52adbd103387c89d20be3ec47b51784946a
languageName: node
linkType: hard

"merkletreejs@npm:0.3.11":
version: 0.3.11
resolution: "merkletreejs@npm:0.3.11"
dependencies:
bignumber.js: "npm:^9.0.1"
buffer-reverse: "npm:^1.0.1"
crypto-js: "npm:^4.2.0"
treeify: "npm:^1.1.0"
web3-utils: "npm:^1.3.4"
checksum: 10/a93520ef768648d1e4ebd175182bd3d304270b8eb0700df5be99395fb3ad8805407bdaf3231d13b1649e87de799aa06d71c616db047ad039025764eb23b02244
languageName: node
linkType: hard

"methods@npm:^1.1.2, methods@npm:~1.1.2":
version: 1.1.2
resolution: "methods@npm:1.1.2"
Expand Down Expand Up @@ -50561,19 +50597,6 @@ __metadata:
languageName: node
linkType: hard

"web3-utils@npm:^4.0.3, web3-utils@npm:^4.2.3":
version: 4.2.3
resolution: "web3-utils@npm:4.2.3"
dependencies:
ethereum-cryptography: "npm:^2.0.0"
eventemitter3: "npm:^5.0.1"
web3-errors: "npm:^1.1.4"
web3-types: "npm:^1.6.0"
web3-validator: "npm:^2.0.5"
checksum: 10/2a1a696ddd8f4318048913fd75af0f11599fa03ff731aeed72d1c7bc6577c99317bdc3529844e7ff1a74b18ec99a5e08f5695537f0d56f44e707477014ea2a11
languageName: node
linkType: hard

"web3-utils@npm:^4.0.7":
version: 4.0.7
resolution: "web3-utils@npm:4.0.7"
Expand Down

0 comments on commit 947e93a

Please sign in to comment.