Skip to content

Commit

Permalink
fix e2e by correctly copying binary
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Jan 9, 2023
1 parent ba68b11 commit 3f7f0f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/tests.e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ then
mkdir /tmp/subnet-evm-v${SUBNET_EVM_VERSION}
tar xzvf ${DOWNLOAD_PATH} -C /tmp/subnet-evm-v${SUBNET_EVM_VERSION}
# NOTE: We are copying the subnet-evm binary here to a plugin hardcoded as srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy which corresponds to the VM name `subnetevm` used as such in the test
cp /tmp/subnet-evm-v${SUBNET_EVM_VERSION}/subnet-evm /tmp/avalanchego-v${VERSION_2}/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy
mkdir -p ~/.avalanchego/plugins/
cp /tmp/subnet-evm-v${SUBNET_EVM_VERSION}/subnet-evm ~/.avalanchego/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy
find /tmp/subnet-evm-v${SUBNET_EVM_VERSION}/subnet-evm
fi
############################
Expand Down

0 comments on commit 3f7f0f7

Please sign in to comment.