Skip to content

Commit

Permalink
Add a compile_all test for uccb.
Browse files Browse the repository at this point in the history
  • Loading branch information
yaron-zilliqa committed Oct 14, 2024
1 parent 90975b6 commit 8276b6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion uccb/contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ libs = [
"../../vendor/openzeppelin-contracts/contracts",
"../../vendor/openzeppelin-contracts/lib"
]
test = 'test'
cache_path = 'cache-foundry'
via_ir = true
auto_detect_solc = true
Expand Down
6 changes: 4 additions & 2 deletions zilliqa/src/api/uccb.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
use crate::node::Node;
use std::sync::{Arc, Mutex};

use anyhow::{anyhow, Result};
use jsonrpsee::{types::Params, RpcModule};
use std::sync::{Arc, Mutex};

use crate::node::Node;

pub fn rpc_module(node: Arc<Mutex<Node>>) -> RpcModule<Arc<Mutex<Node>>> {
let module = super::declare_module!(
Expand Down
2 changes: 1 addition & 1 deletion zilliqa/src/bin/convert-key.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use std::{io, str::FromStr};

use alloy::signers::local::PrivateKeySigner;
use anyhow::Result;
use crypto_bigint::generic_array::GenericArray;
use serde::Deserialize;
use serde_json::json;
use zilliqa::crypto::{SecretKey, TransactionPublicKey};
use alloy::signers::local::PrivateKeySigner;

#[derive(Deserialize)]
struct Input {
Expand Down

0 comments on commit 8276b6c

Please sign in to comment.