Skip to content

Commit

Permalink
Merge pull request #170 from UniqueNetwork/feature/schema-2.0
Browse files Browse the repository at this point in the history
Feature/schema 2.0
  • Loading branch information
ashkuc authored Jun 19, 2024
2 parents 9699474 + 144641b commit c61e987
Show file tree
Hide file tree
Showing 31 changed files with 10,406 additions and 9,328 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions .husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "ts-node",
"type": "node",
"request": "launch",
"args": ["${relativeFile}"],
"runtimeArgs": ["-r", "ts-node/register"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": "Hardhat individual test",
"type": "node",
"request": "launch",
"console": "integratedTerminal",
"runtimeExecutable": "yarn",
"runtimeArgs": ["testhh", "${file}"]
}
]
}
7 changes: 6 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { HardhatUserConfig, task } from 'hardhat/config';
import '@nomicfoundation/hardhat-toolbox';
import { HardhatUserConfig, task } from 'hardhat/config';
import { loadConfig } from './packages/contracts/scripts';
import { buildVersion } from './packages/contracts/tasks';
import testConfig from './packages/contracts/test/utils/testConfig';

const appConfig = loadConfig();

Expand All @@ -24,6 +25,10 @@ const config: HardhatUserConfig = {
url: appConfig.opal.rpcUrl,
accounts: appConfig.accounts,
},
test: {
url: testConfig.ethRpcUrl,
accounts: testConfig.ethPrivateKeys,
}
},
mocha: {
timeout: 100000000,
Expand Down
Loading

0 comments on commit c61e987

Please sign in to comment.