-
Notifications
You must be signed in to change notification settings - Fork 57
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
Conversation
Signed-off-by: Philip-21 <[email protected]>
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"), |
There was a problem hiding this comment.
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"), |
There was a problem hiding this comment.
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"), |
There was a problem hiding this comment.
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"), |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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]>
Signed-off-by: Philip-21 <[email protected]>
Signed-off-by: Philip-21 <[email protected]>
Signed-off-by: Philip-21 <[email protected]>
Signed-off-by: Philip-21 <[email protected]>
Signed-off-by: Philip-21 <[email protected]>
Signed-off-by: Philip-21 <[email protected]>
@nguyer I have written some tests for the Blockchain Node providers, I made adjustments to the corrections you pointed out . |
Thanks! This looks great |
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