Skip to content

Commit

Permalink
fix: use fixed rpc and update Error test
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jun 12, 2024
1 parent b4723c7 commit ae9169f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ path = "cmd/soroban-cli"
[workspace.dependencies.soroban-rpc]
package = "stellar-rpc-client"
version = "21.3.0"
git = "https://github.com/ahalabs/soroban-rpc"
rev = "f61d65dff57a7ffd5b37278490204a0e1bbf9b65"

[workspace.dependencies.stellar-xdr]
version = "21.1.0"
Expand Down
4 changes: 2 additions & 2 deletions cmd/crates/soroban-test/tests/it/integration/hello_world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ async fn invoke_auth_with_different_test_account_fail(sandbox: &TestEnv, id: &st
.await;
let e = res.unwrap_err();
assert!(
matches!(e, contract::invoke::Error::Rpc(_)),
"Expected rpc error got {e:?}"
matches!(e, contract::invoke::Error::Config(_)),
"Expected config error got {e:?}"
);
}

Expand Down

0 comments on commit ae9169f

Please sign in to comment.