Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: add anvil support #43

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/rust/examples/maker/maker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ async fn run<P: JsonRpcClient + 'static>(
}

let chain_id: U256 = quote.chain_id.clone().unwrap().into();
if chain_id != U256::from(421613_u64) {
if chain_id != U256::from(421613_u64) || chain_id != U256::from(31337_u64) {
warn!("RFQ request was not on the testnet chain. Ignoring the request");
continue;
}
Expand Down Expand Up @@ -288,7 +288,7 @@ async fn run<P: JsonRpcClient + 'static>(
}

let chain_id: U256 = quote.chain_id.clone().unwrap().into();
if chain_id != U256::from(421613_u64) {
if chain_id != U256::from(421613_u64) || chain_id != U256::from(31337_u64) {
warn!("Soft Quote request was not on the testnet chain. Ignoring the request");
continue;
}
Expand Down
Loading