From f701947502ae8d20d8860a3dd4fdde896dcdd8ca Mon Sep 17 00:00:00 2001 From: malik Date: Thu, 28 Nov 2024 10:40:11 +0100 Subject: [PATCH] fix --- examples/addmod.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/addmod.rs b/examples/addmod.rs index 590422c34..438ae672a 100644 --- a/examples/addmod.rs +++ b/examples/addmod.rs @@ -3,10 +3,7 @@ #![cfg_attr(target_arch = "wasm32", no_main)] extern crate zink; -use zink::{ - primitives::{numeric::Numeric, U256}, - Asm, -}; +use zink::primitives::{numeric::Numeric, U256}; #[zink::external] pub fn addmod_i32(a: i32, b: i32, n: i32) -> i32 { @@ -39,6 +36,8 @@ fn main() {} #[test] fn test() -> anyhow::Result<()> { use zint::{Bytes32 as _, Contract}; + use zink::primitives::Asm; + // Test for i32 let mut contract = Contract::search("addmod")?.compile()?;