Skip to content

Commit

Permalink
Fix query-events-tool (Snowfork#836)
Browse files Browse the repository at this point in the history
* fix query-events

* rustfmt

* fix docs

* new line

* test fix tarpaulin

* updated toolchain and fixed deps

* update nightly

* use latest nightly

* fix script

* fix script

* ignore snowbridge-query-events

* revert toolchain
  • Loading branch information
alistair-singh authored May 18, 2023
1 parent 5a6d1cf commit eb4e768
Show file tree
Hide file tree
Showing 13 changed files with 986 additions and 643 deletions.
1 change: 1 addition & 0 deletions .github/workflows/parachain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
--release
--verbose
--workspace
--exclude snowbridge-query-events
--features runtime-benchmarks
--avoid-cfg-tarpaulin
--coveralls ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand Down
12 changes: 12 additions & 0 deletions core/packages/test/scripts/build-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,24 @@ build_relayer()
cp $relay_bin "$output_bin_dir"
}

build_query_tool() {
pushd $root_dir/parachain
echo "Building query tool"
cargo build \
--manifest-path tools/query-events/Cargo.toml \
--release --features bridgehub-rococo-local \
--bin snowbridge-query-events
cp "target/release/snowbridge-query-events" "$output_bin_dir"
popd
}

install_binary() {
echo "Building and installing binaries."
mkdir -p $output_bin_dir
build_cumulus_from_source
build_relaychain
build_relayer
build_query_tool
}

if [ -z "${from_start_services:-}" ]; then
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit eb4e768

Please sign in to comment.