We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ba2197 commit ea20e21Copy full SHA for ea20e21
crates/env/src/engine/on_chain/impls/pallet_contracts.rs
@@ -296,7 +296,7 @@ impl EnvBackend for EnvInstance {
296
where
297
R: alloy_rlp::Encodable,
298
{
299
- let mut scope = super::EncodeScope::from(&mut self.buffer[..]);
+ let mut scope = EncodeScope::from(&mut self.buffer[..]);
300
return_value.encode(&mut scope);
301
let len = scope.len();
302
ext::return_value(flags, &self.buffer[..][..len]);
crates/env/src/types.rs
@@ -31,10 +31,7 @@
31
//! there is no knowledge of the concrete types, the functionality is restricted to
32
//! the trait bounds on the `Environment` trait types.
33
34
-use crate::{
35
- arithmetic::AtLeast32BitUnsigned,
36
- Result,
37
-};
+use crate::arithmetic::AtLeast32BitUnsigned;
38
use ink_primitives::{
39
AccountId,
40
Clear,
0 commit comments