Skip to content

We should not check if caller of "respond" is a participant #272

We should not check if caller of "respond" is a participant

We should not check if caller of "respond" is a participant #272

name: Multichain Contract
on:
push:
branches:
- develop
pull_request:
paths:
- chain-signatures/contract/**
env:
RUSTFLAGS: -D warnings
jobs:
test:
name: Test
strategy:
matrix:
os: [ubuntu-22.04-4core]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v1
- name: Compile Contract
run: cd ./chain-signatures && cargo build -p mpc-contract --target wasm32-unknown-unknown --release
- name: Test Contract
run: cd ./chain-signatures && cargo test -p mpc-contract --target x86_64-unknown-linux-gnu --release
env:
RUST_LOG: INFO
RUST_BACKTRACE: 1