From fbb48ce410c07969353c80ee7716520d164879a8 Mon Sep 17 00:00:00 2001 From: ron Date: Tue, 13 Jun 2023 11:35:03 +0800 Subject: [PATCH] Follow instruction for etherscan verification --- codecov.yml | 4 ++-- core/packages/contracts/{src => script}/DeployScript.sol | 0 core/packages/test/scripts/deploy-contracts.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename core/packages/contracts/{src => script}/DeployScript.sol (100%) diff --git a/codecov.yml b/codecov.yml index 17098d913d..17068576d8 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,10 +1,10 @@ ignore: - "core/packages/contracts/test/mocks" - "core/packages/contracts/src/utils" - # Forge's coverage analysis isn't able handle functions with internal linkage in libraries + # Forge's coverage analysis isn't able to handle functions with internal linkage in libraries - "core/packages/contracts/src/ScaleCodec.sol" - "core/packages/contracts/src/SubstrateTypes.sol" - "parachain/tools" - "parachain/pallets/ethereum-beacon-client/src/benchmarking" - "parachain/pallets/ethereum-beacon-client/src/weights.rs" - - "core/packages/contracts/src/DeployScript.sol" + - "core/packages/contracts/script/DeployScript.sol" diff --git a/core/packages/contracts/src/DeployScript.sol b/core/packages/contracts/script/DeployScript.sol similarity index 100% rename from core/packages/contracts/src/DeployScript.sol rename to core/packages/contracts/script/DeployScript.sol diff --git a/core/packages/test/scripts/deploy-contracts.sh b/core/packages/test/scripts/deploy-contracts.sh index 8ae7fabca2..f49f10bbde 100755 --- a/core/packages/test/scripts/deploy-contracts.sh +++ b/core/packages/test/scripts/deploy-contracts.sh @@ -13,13 +13,13 @@ deploy_contracts() --verify \ --etherscan-api-key $etherscan_api_key \ -vvv \ - src/DeployScript.sol:DeployScript + script/DeployScript.sol:DeployScript else forge script \ --rpc-url $eth_endpoint_http \ --broadcast \ -vvv \ - src/DeployScript.sol:DeployScript + script/DeployScript.sol:DeployScript fi node scripts/generateContractInfo.js "$output_dir/contracts.json" popd