Skip to content

Commit ed919d7

Browse files
authored
Merge pull request #342 from Concordium/cor_1941_use_base_upward
use base `upward`
2 parents c8b3a8a + b47f755 commit ed919d7

File tree

4 files changed

+4
-295
lines changed

4 files changed

+4
-295
lines changed

src/contract_client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ impl<Type> ContractInitBuilder<Type> {
451451
.await?
452452
.inner;
453453

454-
let data = match result.details.effects.known_or_else(|| {
454+
let data = match result.details.effects.known_or_else(|_unknown| {
455455
dry_run::DryRunError::CallError(tonic::Status::invalid_argument(
456456
"Unexpected response from dry-running a contract initialization.",
457457
))
@@ -580,7 +580,7 @@ impl ModuleDeployBuilder {
580580
.await?
581581
.inner;
582582

583-
let module_ref = match result.details.effects.known_or_else(|| {
583+
let module_ref = match result.details.effects.known_or_else(|_unknown| {
584584
dry_run::DryRunError::CallError(tonic::Status::invalid_argument(
585585
"Unexpected response from dry-running a module deployment.",
586586
))

src/v2/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ use crate::{
1919
},
2020
};
2121
use anyhow::Context;
22+
pub use concordium_base::common::upward::{self, Upward};
2223
use concordium_base::{
2324
base::{
2425
AccountIndex, BlockHeight, ChainParameterVersion0, ChainParameterVersion1,
@@ -51,13 +52,11 @@ pub use tonic::{
5152
transport::{Endpoint, Error},
5253
Code, Status,
5354
};
54-
pub use upward::Upward;
5555

5656
use self::dry_run::WithRemainingQuota;
5757

5858
mod conversions;
5959
pub mod dry_run;
60-
pub mod upward;
6160
#[path = "generated/mod.rs"]
6261
#[allow(
6362
clippy::large_enum_variant,

src/v2/upward.rs

Lines changed: 0 additions & 290 deletions
This file was deleted.

0 commit comments

Comments
 (0)