Skip to content

Commit d99f205

Browse files
committed
update doc for Ink part
1 parent 718bcfd commit d99f205

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

contract-tests/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
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
44
like token transfer, and all precompile contracts in Subtensor. It is
55
implemented in typescript, use both ethers and viem lib to interact with
66
contracts. 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
1014
commit. CI flow can get catch any failed test cases. The polkadot API get the
1115
latest metadata from the runtime, the case also can find out any incompatibility
1216
between runtime and precompile contracts.

0 commit comments

Comments
 (0)