diff --git a/massa-execution-worker/src/tests/interface.rs b/massa-execution-worker/src/tests/interface.rs index fd167f6ab9..bd528917a9 100644 --- a/massa-execution-worker/src/tests/interface.rs +++ b/massa-execution-worker/src/tests/interface.rs @@ -39,8 +39,11 @@ fn test_evm_signature_verify() { // build original public key let private_key = libsecp256k1::SecretKey::parse_slice(&private_key_).unwrap(); let public_key = libsecp256k1::PublicKey::from_secret_key(&private_key); - - let result = interface.evm_signature_verify(message_, &signature_, &public_key.serialize()); + let public_key_bytes = libsecp256k1::PublicKey::from_secret_key(&private_key).serialize(); + + // println!("public_key: {:?}", public_key.serialize()); + + let result = interface.evm_signature_verify(message_, &signature_, &public_key_bytes[0..65]); assert!(result.is_ok()); // Invalid v diff --git a/massa-execution-worker/src/tests/scenarios_mandatories.rs b/massa-execution-worker/src/tests/scenarios_mandatories.rs index 43c36528cf..77828fb77f 100644 --- a/massa-execution-worker/src/tests/scenarios_mandatories.rs +++ b/massa-execution-worker/src/tests/scenarios_mandatories.rs @@ -3364,7 +3364,7 @@ fn execution_trace_nested() { SCRuntimeAbiTraceValue { name: "from_address".to_string(), value: SCRuntimeAbiTraceType::String( - "AS1Bc3kZ6LhPLJvXV4vcVJLFRExRFbkPWD7rCg9aAdQ1NGzRwgnu".to_string() + "AS1aEhosr1ebJJZ7cEMpSVKbY6xp1p4DdXabGb8fdkKKJ6WphGnR".to_string() ) }, SCRuntimeAbiTraceValue {