We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98318f5 commit f5b25fcCopy full SHA for f5b25fc
core/parentchain/light-client/src/concurrent_access.rs
@@ -125,7 +125,7 @@ mod tests {
125
#[test]
126
fn execute_with_and_without_mut_in_single_thread_works() {
127
let validator_mock = ValidatorMock::default();
128
- let accessor = TestAccessor::new(validator_mock);
+ let accessor = TestAccessor::new(validator_mock, LightValidationStateSealMock);
129
130
let _read_result = accessor.execute_on_validator(|_v| Ok(())).unwrap();
131
let _write_result = accessor.execute_mut_on_validator(|_v| Ok(())).unwrap();
0 commit comments