MCPcopy Create free account
hub / github.com/cowprotocol/services / valid_from

Function valid_from

crates/app-data/src/app_data.rs:665–673  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

663
664 #[test]
665 fn valid_from() {
666 assert_app_data!(
667 r#"{ "metadata": { "validFrom": 1700000000 } }"#,
668 ProtocolAppData {
669 execution_mode: ExecutionMode::ValidFrom(1_700_000_000),
670 ..Default::default()
671 },
672 );
673 }
674
675 #[test]
676 fn extracts_app_code() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected