- install Ckb (compile and install with the latest release version)
- install and start PostgreSQL
- create new database
mercury-dev, if it already exists, delete it first and then re-create it - create tables and indexes
psql -h localhost -U postgres -d mercury-dev -f devtools/create_table/create_table.sqlNote: only needs to be executed once at initialization and reinitialization.
cd integration
rm -rf ./dev_chain/dev/data ./free-spacecd integration
cargo runor
cd integration
cargo run -- -t test_generate_blocks