Skip to content

Commit 1032b9d

Browse files
chore: move fixed_k_signer into the crypto module (#594)
* chore: move fixed_k_signer into the crypto module * fix format
1 parent 7157190 commit 1032b9d

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed
File renamed without changes.

common/src/crypto/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
pub(crate) mod fixed_k_signer;
12
pub(crate) mod kzg;

common/src/l2/execution_layer.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use super::{
22
bindings::{Bridge, LibSharedData, TaikoAnchor},
33
config::{GOLDEN_TOUCH_ADDRESS, GOLDEN_TOUCH_PRIVATE_KEY, TaikoConfig},
4-
fixed_k_signer_chainbound,
54
};
65
use crate::shared::alloy_tools;
76
use alloy::{
@@ -205,7 +204,7 @@ impl L2ExecutionLayer {
205204
}
206205

207206
fn sign_hash_deterministic(&self, hash: B256) -> Result<Signature, Error> {
208-
fixed_k_signer_chainbound::sign_hash_deterministic(GOLDEN_TOUCH_PRIVATE_KEY, hash)
207+
crate::crypto::fixed_k_signer::sign_hash_deterministic(GOLDEN_TOUCH_PRIVATE_KEY, hash)
209208
}
210209

211210
pub async fn get_transaction_by_hash(

common/src/l2/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
mod bindings;
22
pub mod config;
33
mod execution_layer;
4-
mod fixed_k_signer_chainbound;
54
pub mod operation_type;
65
pub mod preconf_blocks;
76
pub mod taiko;

0 commit comments

Comments
 (0)