diff --git a/crates/json-oracle-encoder/src/lib.rs b/crates/json-oracle-encoder/src/lib.rs index e5f1be6..d6c6b81 100644 --- a/crates/json-oracle-encoder/src/lib.rs +++ b/crates/json-oracle-encoder/src/lib.rs @@ -11,8 +11,8 @@ struct Config { period: String, grace_period: String, supported_data_source_kinds: String, - network_subgraph_deloyment_id: String, - epoch_block_oracle_subgraph_deloyment_id: String, + network_subgraph_deployment_id: String, + epoch_block_oracle_subgraph_deployment_id: String, subgraph_availability_manager_contract: String, oracle_index: String, } @@ -38,8 +38,8 @@ pub fn json_to_calldata(json: serde_json::Value) -> anyhow::Result> { Token::String(data.config.period), Token::String(data.config.grace_period), Token::String(data.config.supported_data_source_kinds), - Token::String(data.config.network_subgraph_deloyment_id), - Token::String(data.config.epoch_block_oracle_subgraph_deloyment_id), + Token::String(data.config.network_subgraph_deployment_id), + Token::String(data.config.epoch_block_oracle_subgraph_deployment_id), Token::String(data.config.subgraph_availability_manager_contract), Token::String(data.config.oracle_index), ]), diff --git a/json-encoder-web/index.ts b/json-encoder-web/index.ts index dcf08dd..2f64e78 100644 --- a/json-encoder-web/index.ts +++ b/json-encoder-web/index.ts @@ -15,8 +15,8 @@ const samplePayload = `{ "period": "300", "grace_period": "0", "supported_data_source_kinds": "ethereum,ethereum/contract,file/ipfs,substreams,file/arweave", - "network_subgraph_deloyment_id": "QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY", - "epoch_block_oracle_subgraph_deloyment_id": "QmQEGDTb3xeykCXLdWx7pPX3qeeGMUvHmGWP4SpMkv5QJf", + "network_subgraph_deployment_id": "QmSWxvd8SaQK6qZKJ7xtfxCCGoRzGnoi2WNzmJYYJW9BXY", + "epoch_block_oracle_subgraph_deployment_id": "QmQEGDTb3xeykCXLdWx7pPX3qeeGMUvHmGWP4SpMkv5QJf", "subgraph_availability_manager_contract": "CONTRACT_ADDRESS", "oracle_index": "ORACLE_INDEX" }