mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 18:37:26 +08:00
* experiment: reject bad peer info messages * v2.1.0.18 preview * add tagged sync * Add missing hypergraph changes * small tweaks to sync * allow local sync, use it for provers with workers * missing file * resolve build error * resolve sync issue, remove raw sync * resolve deletion promotion bug * resolve sync abstraction leak from tree deletion changes * rearrange prover sync * remove pruning from sync * restore removed sync flag * fix: sync, event stream deadlock, heuristic scoring of better shards * resolve hanging shutdown + pubsub proxy issue * further bugfixes: sync (restore old leaf sync), pubsub shutdown, merge events * fix: clean up rust ffi, background coverage events, and sync tweaks * fix: linking issue for channel, connectivity test aggression, sync regression, join tests * fix: disjoint sync, improper application of filter * resolve sync/reel/validation deadlock * adjust sync to handle no leaf edge cases, multi-path segment traversal * use simpler sync * faster, simpler sync with some debug extras * migration to recalculate * don't use batch * square up the roots * fix nil pointer * fix: seniority calculation, sync race condition, migration * make sync dumber * fix: tree deletion issue * fix: missing seniority merge request canonical serialization * address issues from previous commit test * stale workers should be cleared * remove missing gap check * rearrange collect, reduce sync logging noise * fix: the disjoint leaf/branch sync case * nuclear option on sync failures * v2.1.0.18, finalized
17 lines
714 B
Bash
Executable File
17 lines
714 B
Bash
Executable File
#!/bin/bash
|
|
set -euxo pipefail
|
|
|
|
# Run tests for the node package. Takes care of linking the native VDF.
|
|
# Assumes that the VDF library has been built by running the generate.sh script in the `../vdf` directory.
|
|
|
|
ROOT_DIR="${ROOT_DIR:-$( cd "$(dirname "$(realpath "$( dirname "${BASH_SOURCE[0]}" )")")" >/dev/null 2>&1 && pwd )}"
|
|
|
|
NODE_DIR="$ROOT_DIR/node"
|
|
BINARIES_DIR="$ROOT_DIR/target/release"
|
|
|
|
# Link the native VDF and execute tests
|
|
pushd "$NODE_DIR" > /dev/null
|
|
CGO_LDFLAGS="-L$BINARIES_DIR -L/usr/local/lib/ -L/opt/homebrew/Cellar/openssl@3/3.6.1/lib -lbls48581 -lverenc -lbulletproofs -lvdf -lchannel -lferret -lrpm -lstdc++ -ldl -lm -lflint -lgmp -lmpfr -lcrypto -lssl" \
|
|
CGO_ENABLED=1 \
|
|
go test "$@"
|