Wrapper validator whose RPC calls all fail, so it's only usable with orders that don't specify any wrappers.
()
| 1382 | /// Wrapper validator whose RPC calls all fail, so it's only usable with |
| 1383 | /// orders that don't specify any wrappers. |
| 1384 | fn wrapper_validator() -> order_validation::wrappers::Validator { |
| 1385 | order_validation::wrappers::Validator::new( |
| 1386 | contracts::GPv2AllowListAuthentication::Instance::new( |
| 1387 | Address::repeat_byte(0xaa), |
| 1388 | ProviderBuilder::new() |
| 1389 | .connect_mocked_client(Asserter::new()) |
| 1390 | .erased(), |
| 1391 | ), |
| 1392 | Address::repeat_byte(0x90), |
| 1393 | ) |
| 1394 | } |
| 1395 | |
| 1396 | #[test] |
| 1397 | fn hash_app_data_keeps_full_document_for_simulation() { |