File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# type-test
22
3- The evm -tests folder includes all typescript code to test the basic EVM function
3+ The contract -tests folder includes all typescript code to test the basic EVM function
44like token transfer, and all precompile contracts in Subtensor. It is
55implemented in typescript, use both ethers and viem lib to interact with
66contracts. The polkadot API is used to call extrinsic, get storage in Subtensor
77. The developers can use it to verify the code change in precompile contracts.
88
9- It is also included in the CI process, all test cases are executed for new
9+ The Ink contract tests also are included in the contract-tests folder.
10+ There is an Ink project in the bittensor folder, which include all functions defined
11+ in the runtime extension. The test file for it is wasm.contract.test.ts.
12+
13+ The whole test process is also included in the CI, all test cases are executed for new
1014commit. CI flow can get catch any failed test cases. The polkadot API get the
1115latest metadata from the runtime, the case also can find out any incompatibility
1216between runtime and precompile contracts.
You can’t perform that action at this time.
0 commit comments