Skip to content

Commit

Permalink
request funds and add dbg statement
Browse files Browse the repository at this point in the history
  • Loading branch information
UMR1352 committed Nov 28, 2024
1 parent 153f083 commit 3450676
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/iota-rebase-sandbox/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ runs:
rm -rf ~/.iota || true
# Start the network
iota start --with-faucet &
# Request more funds just in case
iota client faucet
2 changes: 2 additions & 0 deletions identity_iota_core/tests/e2e/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ lazy_static! {
}

pub async fn get_client() -> anyhow::Result<TestClient> {
{
let client = IotaClientBuilder::default().build_localnet().await?;
let package_id = PACKAGE_ID.get_or_try_init(|| init(&client)).await.copied()?;
let address = get_active_address().await?;
Expand All @@ -89,6 +90,7 @@ pub async fn get_client() -> anyhow::Result<TestClient> {
address,
storage,
})
}.inspect_err(|e: &anyhow::Error| {dbg!(e); dbg!(e.source());})

Check failure on line 93 in identity_iota_core/tests/e2e/common.rs

View workflow job for this annotation

GitHub Actions / clippy

current MSRV (Minimum Supported Rust Version) is `1.65.0` but this item is stable since `1.76.0`

error: current MSRV (Minimum Supported Rust Version) is `1.65.0` but this item is stable since `1.76.0` --> identity_iota_core/tests/e2e/common.rs:93:5 | 93 | }.inspect_err(|e: &anyhow::Error| {dbg!(e); dbg!(e.source());}) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv = note: `-D clippy::incompatible-msrv` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::incompatible_msrv)]`
}

async fn init(iota_client: &IotaClient) -> anyhow::Result<ObjectID> {
Expand Down

0 comments on commit 3450676

Please sign in to comment.