This pull request introduces a set of test cases for the Ethereum Connector. These tests are currently contradictory in nature, as they are designed to cover various edge cases and potential error conditions, that is, varying results when called from packages/caliper-ethereum/lib/connectorFactory.js v/s that from packages/caliper-ethereum/lib/ethereum-connector.js
Given the complexity of these scenarios, this PR is opened as a draft. The intention is to invite feedback and discussion on the test cases and their expected outcomes. Once the testing has been completed thoroughly and all issues have been addressed, this PR will be marked ready for review.
Checklist
[x] A link to the issue/user story that the pull request relates to~ #1556
[ ] How to recreate the problem without the fix
[ ] Design of the fix
[ ] How to prove that the fix works
[ ] Automated tests that prove the fix keeps on working
[ ] Documentation - any JSDoc, website, or Stackoverflow answers?
Issue/User story
Steps to Reproduce
cd packages/caliper-ethereum && npm i && npm run dev
Adding Test Cases for Ethereum Connector
This pull request introduces a set of test cases for the Ethereum Connector. These tests are currently contradictory in nature, as they are designed to cover various edge cases and potential error conditions, that is, varying results when called from
packages/caliper-ethereum/lib/connectorFactory.js
v/s that frompackages/caliper-ethereum/lib/ethereum-connector.js
Given the complexity of these scenarios, this PR is opened as a draft. The intention is to invite feedback and discussion on the test cases and their expected outcomes. Once the testing has been completed thoroughly and all issues have been addressed, this PR will be marked ready for review.
Checklist
Issue/User story
Steps to Reproduce
cd packages/caliper-ethereum && npm i && npm run dev
Existing issues
Design of the fix
Validation of the fix
Automated Tests
What documentation has been provided for this pull request