diff --git a/starknet/src/space/space.cairo b/starknet/src/space/space.cairo index bd8565e5..2af235c4 100644 --- a/starknet/src/space/space.cairo +++ b/starknet/src/space/space.cairo @@ -259,7 +259,7 @@ mod Space { proposal_validation_strategy.params.span(), user_proposal_validation_params.span() ); - assert(is_valid, 'Proposal is not valid'); + assert(is_valid, 'Proposal validation failed'); // The snapshot block timestamp is the start of the voting period let start_timestamp = info::get_block_timestamp().try_into().unwrap() diff --git a/starknet/src/tests/space/space.cairo b/starknet/src/tests/space/space.cairo index 58259d7a..c844b05f 100644 --- a/starknet/src/tests/space/space.cairo +++ b/starknet/src/tests/space/space.cairo @@ -446,7 +446,7 @@ mod tests { #[test] #[available_gas(10000000000)] - #[should_panic(expected: ('Proposal is not valid', 'ENTRYPOINT_FAILED'))] + #[should_panic(expected: ('Proposal validation failed', 'ENTRYPOINT_FAILED'))] fn propose_failed_validation() { let config = setup(); let (_, space) = deploy(@config);