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

tests created for the Ethereum Blockchain node providers #277

Merged
merged 10 commits into from
Jan 5, 2024

Conversation

Philip-21
Copy link
Contributor

@Philip-21 Philip-21 commented Dec 15, 2023

This is pr fixes for #7

@nguyer, @awrichar
New Unit tests have been written for the ethereum blockchain node providers, the Besu and geth in the Ethereum Blockchain.
These tests pass successfully

Signed-off-by: Philip-21 <[email protected]>
Signed-off-by: Philip-21 <[email protected]>
Stack: &types.Stack{
Name: "TestBesuProviderWithEthconnect",
Members: []*types.Organization{{OrgName: "Org1"}},
BlockchainProvider: fftypes.FFEnumValue("BlockchainProvider", "EthConnect"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be EthConnect here? EthConnect is a BlockchainConnector not a BlockchainProvider

Members: []*types.Organization{{OrgName: "Org1"}},
BlockchainProvider: fftypes.FFEnumValue("BlockchainProvider", "EthConnect"),
BlockchainConnector: fftypes.FFEnumValue("BlockchainConnector", "EthConnect"),
BlockchainNodeProvider: fftypes.FFEnumValue("BlockchainNodeProvider", "EthConnect"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be EthConnect here? EthConnect is a BlockchainConnector not a BlockchainNodeProvider

Stack: &types.Stack{
Members: []*types.Organization{{OrgName: "Org2"}, {OrgName: "org4"}},
Name: "TestBesuProviderWithEvmconnect",
BlockchainProvider: fftypes.FFEnumValue("BlockchainProvider", "Geth"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Besu here? I don't think this test case is doing anything with Geth?

Name: "TestBesuProviderWithEvmconnect",
BlockchainProvider: fftypes.FFEnumValue("BlockchainProvider", "Geth"),
BlockchainConnector: fftypes.FFEnumValue("BlockchainConnector", "EvmConnect"),
BlockchainNodeProvider: fftypes.FFEnumValue("BlockchainNodeProvider", "Geth"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Besu here? I don't think this test case is doing anything with Geth?

Copy link
Contributor Author

@Philip-21 Philip-21 Dec 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nguyer thanks for pointing these out i have made adjustments to the testcases, and placed the appropriate values for each field

Signed-off-by: Philip-21 <[email protected]>
@Philip-21 Philip-21 changed the title Besu tests created for the Ethereum firefly Blockchain Unit tests created for the Ethereum Blockchain node providrers Dec 27, 2023
@Philip-21 Philip-21 changed the title Unit tests created for the Ethereum Blockchain node providrers tests created for the Ethereum Blockchain node providrers Dec 27, 2023
@Philip-21 Philip-21 changed the title tests created for the Ethereum Blockchain node providrers tests created for the Ethereum Blockchain node providers Dec 27, 2023
@Philip-21
Copy link
Contributor Author

@nguyer I have written some tests for the Blockchain Node providers, I made adjustments to the corrections you pointed out .

@nguyer
Copy link
Contributor

nguyer commented Jan 5, 2024

Thanks! This looks great

@nguyer nguyer merged commit b041c90 into hyperledger:main Jan 5, 2024
12 checks passed
@Philip-21 Philip-21 deleted the eth-test branch January 5, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants