Skip to content

Commit 23c026e

Browse files
committed
fix: some details
1 parent 77e4f86 commit 23c026e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/dips/src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ use thegraph_core::alloy::primitives::{Address, ChainId};
1010
use tonic::{Request, Response, Status};
1111

1212
use crate::{
13+
dips_agreement_eip712_domain, dips_cancellation_eip712_domain,
1314
ipfs::IpfsFetcher,
1415
price::PriceCalculator,
1516
proto::indexer::graphprotocol::indexer::dips::{
@@ -20,7 +21,6 @@ use crate::{
2021
signers::SignerValidator,
2122
store::AgreementStore,
2223
validate_and_cancel_agreement, validate_and_create_agreement, PROTOCOL_VERSION,
23-
dips_agreement_eip712_domain, dips_cancellation_eip712_domain,
2424
};
2525

2626
#[derive(Debug)]

crates/service/src/service.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ pub async fn run() -> anyhow::Result<()> {
9898
config.blockchain.chain_id as u64,
9999
config.blockchain.receipts_verifier_address,
100100
);
101+
let chain_id = config.blockchain.chain_id as u64;
101102

102103
let host_and_port = config.service.host_and_port;
103104
let indexer_address = config.indexer.indexer_address;
@@ -159,7 +160,7 @@ pub async fn run() -> anyhow::Result<()> {
159160
ctx: Arc::new(ctx),
160161
expected_payee: indexer_address,
161162
allowed_payers: allowed_payers.clone(),
162-
chain_id: config.blockchain.chain_id,
163+
chain_id,
163164
};
164165

165166
info!("starting dips grpc server on {}", addr);

0 commit comments

Comments
 (0)