Skip to content

Commit

Permalink
fix contract id errors
Browse files Browse the repository at this point in the history
  • Loading branch information
0xverin committed Oct 25, 2024
1 parent ef4aa69 commit 0c25688
Show file tree
Hide file tree
Showing 21 changed files with 333 additions and 987 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ ignition/deployments/chain-31337
# Remix
compiler_config.json
remix-compiler.config.js
vc-di-tests/integration-tests/.env.local
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"deploy-contract": "./scripts/run_deploy.sh",
"format": "prettier --write --plugin=prettier-plugin-solidity 'contracts/**/*.sol' && prettier --write .",
"check-format": "prettier --check --plugin=prettier-plugin-solidity 'contracts/**/*.sol' && prettier --check .",
"test": "npx hardhat test"
"test": "npx hardhat test",
"test-integration": "cd vc-di-tests/integration-tests && pnpm run test assertion_contracts.test.ts"
},
"devDependencies": {
"@litentry/chaindata": "^0.1.1",
Expand Down
8 changes: 8 additions & 0 deletions vc-di-tests/integration-tests/.env.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@ NODE_ENV = local
ENCLAVE_ENDPOINT = ws://127.0.0.1:2000
PARACHAIN_ENDPOINT = ws://127.0.0.1:9944
LITENTRY_CLI_DIR=/opt/litentry-cli

# API keys
ACHAINABLE_AUTH_KEY='49707747-d205-445f-91a9-3e8f7918087a'
ONEBLOCK_NOTION_KEY='Bearer secret_s0uk06ciGBE0UpdAegGIiwFrLr9gSJ7ROuKCY3b6NVE'
NODEREAL_API_KEY='52e0fa8afe46449187d8280902ca95ef'
GENIIDATA_API_KEY='ootlvnwf-0gms-on23-11hc-93l8ay0ny1wa'
MORALIS_API_KEY='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJub25jZSI6ImUzM2Y1MTA2LTZmMmItNDJiMy1hMWU5LWQyOTQ5MjE4N2E3ZSIsIm9yZ0lkIjoiMzc3ODk5IiwidXNlcklkIjoiMzg4MzQ0IiwidHlwZUlkIjoiODVkODEwZGQtYTdhYi00OTRjLTk5MTktZTdjNTFmYmM5NDE1IiwidHlwZSI6IlBST0pFQ1QiLCJpYXQiOjE3MDgzMzk5NDcsImV4cCI6NDg2NDA5OTk0N30.goUcapnrAtbdkL7Fe1M5Z42N0E3wHtumdKmYD2kNAiE'
MAGIC_CRAFT_API_KEY='dzb5swskv3nh0k6smc0nk1ikn6kmlas4'
8 changes: 8 additions & 0 deletions vc-di-tests/integration-tests/.env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ WORKER_ENDPOINT = ws://localhost:2000
NODE_ENDPOINT = ws://localhost:9944
BINARY_DIR=../../bin
LITENTRY_CLI_DIR=../../bin/litentry-cli

# API keys
ACHAINABLE_AUTH_KEY=''
ONEBLOCK_NOTION_KEY=''
NODEREAL_API_KEY=''
GENIIDATA_API_KEY=''
MORALIS_API_KEY=''
MAGIC_CRAFT_API_KEY=''
24 changes: 1 addition & 23 deletions vc-di-tests/integration-tests/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,6 @@
**/
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-non-null-assertion": ["off"],
"@typescript-eslint/no-var-requires": ["off"],

// explanation: https://typescript-eslint.io/rules/naming-convention/
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "typeLike",
"format": ["StrictPascalCase"]
},
{
"selector": "variable",
"modifiers": ["const"],
"format": ["strictCamelCase", "UPPER_CASE"]
},
{
"selector": "function",
"format": ["strictCamelCase", "StrictPascalCase"]
},
{
"selector": "parameter",
"format": ["strictCamelCase"]
}
]
"@typescript-eslint/no-var-requires": ["off"]
}
}
Loading

0 comments on commit 0c25688

Please sign in to comment.