Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Contract] attach deposit on block submission #59

Merged
merged 15 commits into from
Sep 3, 2024
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --manifest-path ./contract/Cargo.toml --all-targets -- -D warnings -D clippy::pedantic -D clippy::as_conversions
args: --manifest-path ./contract/Cargo.toml --all-targets -- -D warnings -D clippy::pedantic -D clippy::as_conversions -A clippy::must_use_candidate

- name: Run tests
run: |
Expand Down
1 change: 1 addition & 0 deletions btc-types/src/contract_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use crate::{hash::H256, header::Header};
#[derive(Clone, Debug, BorshDeserialize, BorshSerialize, Serialize, Deserialize)]
pub struct InitArgs {
pub genesis_block: Header,
pub genesis_block_hash: H256,
pub genesis_block_height: u64,
pub skip_pow_verification: bool,
pub gc_threshold: u64,
Expand Down
Loading
Loading