Skip to content

Commit c408f63

Browse files
fix: add PublicKey import back to test module
- Add PublicKey to test module imports to fix compilation errors - test_guardian_address1() and test_guardian_address2() require PublicKey::from_secret_key() - Resolves error[E0433]: failed to resolve: use of undeclared type 'PublicKey' Co-Authored-By: ayush.suresh@dourolabs.xyz <byteSlayer31037@gmail.com>
1 parent ee56a8a commit c408f63

File tree

1 file changed

+1
-1
lines changed
  • target_chains/stylus/contracts/wormhole/src

1 file changed

+1
-1
lines changed

target_chains/stylus/contracts/wormhole/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ mod tests {
538538
use alloc::vec;
539539
use motsu::prelude::DefaultStorage;
540540
use core::str::FromStr;
541-
use libsecp256k1::{sign, Message, SecretKey};
541+
use libsecp256k1::{sign, Message, SecretKey, PublicKey};
542542
use stylus_sdk::alloy_primitives::keccak256;
543543
use base64::engine::general_purpose;
544544
use base64::Engine;

0 commit comments

Comments
 (0)