Skip to content

Commit

Permalink
blind guess
Browse files Browse the repository at this point in the history
  • Loading branch information
pmikolajczyk41 committed Apr 13, 2023
1 parent 1b7da96 commit d4faaa1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/e2e/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ where
scale_decode::DecodeAsType,
scale_encode::EncodeAsType,
)]
#[decode_as_type(trait_bounds = "E::AccountId: scale_decode::DecodeAsType")]
#[decode_as_type(trait_bounds = "")]
struct ContractInstantiatedEvent<E: Environment> {
/// Account id of the deployer.
pub deployer: E::AccountId,
Expand All @@ -346,7 +346,7 @@ where
scale_decode::DecodeAsType,
scale_encode::EncodeAsType,
)]
#[decode_as_type(trait_bounds = "E::Hash: scale_decode::DecodeAsType")]
#[decode_as_type(trait_bounds = "")]
struct CodeStoredEvent<E: Environment> {
/// Hash under which the contract code was stored.
pub code_hash: E::Hash,
Expand Down
1 change: 1 addition & 0 deletions crates/primitives/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use core::array::TryFromSliceError;
use derive_more::From;
use scale::{
alloc::vec::Vec,
Decode,
Encode,
};
Expand Down

0 comments on commit d4faaa1

Please sign in to comment.