Skip to content

Commit

Permalink
Move contract-sample to tester-contract
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Dec 15, 2023
1 parent 4093f05 commit f18bbf8
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/run-test-containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ gen_sgx_key() {
}

deploy_test_contract() {
cd tests/contract-sample/
cd tests/tester-contract/
yarn install
npx hardhat run --network localhost scripts/deploy.ts
cd -
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ function getAccounts() {
return accounts;
}

// This is a sample Hardhat task. To learn how to create your own go to
// https://hardhat.org/guides/create-task.html
task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
const accounts = await hre.ethers.getSigners();

Expand All @@ -42,9 +40,6 @@ task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
}
});

// You need to export an object to set up your config
// Go to https://hardhat.org/config/ to learn more

const config: HardhatUserConfig = {
solidity: "0.8.4",
networks: {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/utils/contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


DIR_PATH = Path(os.path.realpath(__file__)).parents[2].absolute()
TESTER_CONTRACT_PATH = os.path.join(DIR_PATH, 'tests', 'contract-sample', 'abi.json')
TESTER_CONTRACT_PATH = os.path.join(DIR_PATH, 'tests', 'tester-contract', 'abi.json')


def get_tester_abi():
Expand Down

0 comments on commit f18bbf8

Please sign in to comment.