docs: add reward mechanism #416
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: babylonlabs/rollup-bsn-contracts/wasm-tests-full | |
on: | |
pull_request: | |
branches: | |
- '**' | |
env: | |
CARGO_TERM_COLOR: always | |
WORKSPACE: "/home/runner/work/rollup-bsn-contracts/rollup-bsn-contracts" | |
jobs: | |
wasm-build-check-integration-full: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Build optimised Wasm binaries | |
run: "./scripts/optimizer.sh" | |
- name: List optimised Wasm binaries | |
run: bash -c "ls $WORKSPACE/artifacts/*.wasm" | |
- name: Install cosmwasm-check | |
run: cargo install --locked --debug --version ^2.0 cosmwasm-check | |
- name: Check the Wasm binaries' validity | |
run: bash -c "cosmwasm-check --available-capabilities cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3,cosmwasm_1_4,cosmwasm_2_0,iterator,staking,stargate,babylon $WORKSPACE/artifacts/*.wasm" | |
- name: Integration tests based on CosmWasm | |
run: cargo test --test integration | |
- name: Install Golang | |
uses: actions/[email protected] | |
with: | |
go-version: 1.23.10 | |
- name: E2E tests | |
run: ./scripts/e2e_test.sh | |
- uses: actions/[email protected] | |
with: | |
path: |- | |
artifacts/finality.wasm |