Skip to content

Latest commit

 

History

History
18 lines (18 loc) · 538 Bytes

unittest.md

File metadata and controls

18 lines (18 loc) · 538 Bytes

Steps to run unit test

Copy xcall.json and centralized_connectoin.json from .types to .target/idl/

	cp types/xcall.json target/idl/
	cp types/centralized_connection.json target/idl

Initialized solana-test-validator (assumed it is previously installed)

	solana-test-validator -r

Deploy the xcall and centralized connection programs:

	solana program deploy xcall_so/xcall.so
	solana program deploy xcall_so/centralized_connection.so

Run the balanced test

	anchor test --skip-local-validator