Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
contract_ref
  • Loading branch information
ascjones committed Jan 30, 2023
commit db3aa12b826c48d9927ffe8503a72120c42b8c52
2 changes: 1 addition & 1 deletion crates/e2e/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ where
pub struct CallDryRunResult<E: Environment, V> {
/// The result of the dry run, contains debug messages
/// if there were any.
exec_result: ContractExecResult<E::Balance>,
pub exec_result: ContractExecResult<E::Balance>,
_marker: PhantomData<V>,
}

Expand Down
2 changes: 1 addition & 1 deletion examples/lang-err-integration-tests/contract-ref/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ mod contract_ref {
.await
.expect("Calling `flip` failed");
assert!(
flip_call_result.value.is_ok(),
flip_call_result.dry_run.exec_result.result.is_ok(),
"Messages now return a `Result`, which should be `Ok` here."
);

Expand Down