Skip to content

Commit

Permalink
tesseract messaging integration test fix #277 (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrishoLukamba authored Aug 26, 2024
1 parent 558e0b9 commit d8822ea
Show file tree
Hide file tree
Showing 6 changed files with 192 additions and 263 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ jobs:
# run: |
# cargo test -p ismp-solidity-tests -- --nocapture --ignored

- name: parachain messaging relayer integration tests
run: |
cargo test -p tesseract-integration-test --lib -- --ignored --test-threads=1
- name: Xcm integration tests
run: |
cargo test -p pallet-ismp-testsuite --lib xcm_integration_test --features runtime-benchmarks -- --nocapture --ignored
Expand All @@ -357,10 +361,7 @@ jobs:
- name: Binance Smart Chain integration tests
run: |
cargo test -p bsc-prover -- --nocapture --ignored
# - name: Parachain to Parachain ismp relayer messaging integration tests
# run: |
# cargo test -p tesseract-integration-test --lib -- --ignored --test-threads=1
check-solidity:
name: Check ismp-solidity
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions modules/utils/subxt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ pub mod signer {
client: &OnlineClient<T>,
signer: InMemorySigner<T>,
payload: Tx,
) -> Result<(), anyhow::Error>
) -> Result<T::Hash, anyhow::Error>
where
<T::ExtrinsicParams as ExtrinsicParams<T::Hash>>::OtherParams:
Default + Send + Sync + From<BaseExtrinsicParamsBuilder<T, PlainTip>>,
Expand All @@ -393,7 +393,7 @@ pub mod signer {
Err(err).context(format!("Error executing signed extrinsic {ext_hash:?}"))?
},
};
Ok(())
Ok(extrinsic.block_hash())
}
}

Expand Down
3 changes: 2 additions & 1 deletion tesseract/integration-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ edition = "2021"
tesseract-messaging = { path = "../messaging" }
tesseract-primitives = { path = "../primitives" }
tesseract-config = { path = "../config" }
tesseract-substrate = { path = "../substrate" }
tesseract-substrate = { path = "../substrate", features = ["testing"] }
tesseract = { path = "../relayer" }
substrate-state-machine = { workspace = true }
pallet-ismp-host-executive = { workspace = true }
pallet-hyperbridge = { workspace = true }
pallet-ismp-demo = {workspace = true}

sc-consensus-manual-seal = { workspace = true }
anyhow = "1.0.75"
Expand Down
Loading

0 comments on commit d8822ea

Please sign in to comment.