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

Replace tx_wrapper with eos-evm-miner for integration test. #21

Merged
merged 9 commits into from
Aug 10, 2023

Conversation

oschwaldp-oci
Copy link
Contributor

@oschwaldp-oci oschwaldp-oci commented Aug 8, 2023

Update CICD to bring in eos-evm-miner as a dependency and use it in an upgraded integration test that uses eos-evm-miner rather than TX-Wrapper.

CICD now checks out eos-evm-miner repo, runs install/build, and lets test know root location of the eos-evm-miner so it can launch a miner when needed. Environment is set up in test rather than writing out a .env file to avoid overwriting an existing .env file in the miner root directory.

Some process handling/cleanup done in nodeos_eos_evm_test.py to ensure processes spawned by the test script are cleaned up properly.

Deprecation -- TX-Wrapper is deprecated and is being removed herein

Resolves: #19

CICD will need to checkout eos-evm-miner repo, run install/build, and let test know root location of the eos-evm-miner so it can launch a miner when needed.  Environment is set up in test rather than writing out a .env file to avoid overwriting an existing .env file in the miner root directory.
eos-evm-miner currently relies on the eosio.evm account, so switch to using eosio.evm over evmevmevmevm.

Update miner configuration via setting private key, account name, rpc endpoint, and port for the test configuration.

Fix eos-evm-node and eos-evm-rpc and eos-evm-miner being spun up in process daemon so that their respective processes can be cleaned up correctly. Fixes orphaned test processes.

Add missing eos-evm-node argument ship-core-account now that account name has changed.
Removing peripherals/tx_wrapper is tx-wrapper has been deprecated in favor of eos-evm-miner.
@oschwaldp-oci oschwaldp-oci changed the title ** WORK IN PROGRESS** Replace tx_wrapper with eos-evm-miner for integration test. Replace tx_wrapper with eos-evm-miner for integration test. Aug 10, 2023
@oschwaldp-oci oschwaldp-oci self-assigned this Aug 10, 2023
@oschwaldp-oci oschwaldp-oci added the OCI Work exclusive to OCI team label Aug 10, 2023
@oschwaldp-oci oschwaldp-oci merged commit f99c60b into main Aug 10, 2023
6 checks passed
@oschwaldp-oci oschwaldp-oci deleted the gh-19-replace-tx-wrapper-with-eos-evm-miner branch August 10, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update integration test to use eos-evm-miner instead of tx-wrapper
3 participants