Skip to content

Use test_config file to setup a test blockchain for integration tests#335

Merged
elizabethengelman merged 3 commits intostagingfrom
vdb-1654-cleanup-integration-test-setup
Oct 7, 2020
Merged

Use test_config file to setup a test blockchain for integration tests#335
elizabethengelman merged 3 commits intostagingfrom
vdb-1654-cleanup-integration-test-setup

Conversation

@elizabethengelman
Copy link
Copy Markdown
Contributor

Made some changes based on comments in #328: #328 (comment). Totally up for making some more improvements too!

@elizabethengelman elizabethengelman force-pushed the vdb-1654-cleanup-integration-test-setup branch from 03e4d43 to 657cfad Compare October 5, 2020 20:24
return client.NewRpcClient(raw, ipc), ethclient.NewClient(raw), nil
}

func getBlockChain(rpcClient client.RpcClient, ethClient *ethclient.Client) (core.BlockChain, error) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why return an error here if this function can never error?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

nice catch! i'll update that

Copy link
Copy Markdown
Contributor

@paytonrules paytonrules left a comment

Choose a reason for hiding this comment

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

Just one small comment.

@elizabethengelman elizabethengelman force-pushed the vdb-1654-cleanup-integration-test-setup branch from 657cfad to 07515ef Compare October 6, 2020 22:01
@elizabethengelman elizabethengelman merged commit 4165c76 into staging Oct 7, 2020
@elizabethengelman elizabethengelman deleted the vdb-1654-cleanup-integration-test-setup branch October 7, 2020 14:12
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.

3 participants