glihm / starknet-abigen-rs

Exploratory work on abigen in rust for Starknet 🦀
Apache License 2.0
15 stars 1 forks source link

Make Provider Generic #23

Closed rkdud007 closed 1 year ago

rkdud007 commented 1 year ago
expected struct `std::sync::Arc<starknet::providers::AnyProvider>`
   found struct `std::sync::Arc<P>`

ContractA::new((*starknet_address), self.kakarot_contract.provider);

rkdud007 commented 1 year ago

ok we don't need to make both P and A generic, just need Provider at least