I would appreciate help on the following:
I'm trying to set up a crate depending on the Zandbox crate, to be able to query/call contracts I've published on Rinkeby (from a rust application instead of via the terminal), so that I can use it "alongside" the Rust SDK for zkSync.
I am stuck on dependencies issues however. A first, was the fact that zksync_eth_client didn't compile, because of the "metrics" version currently being set to "0.13.x". I forked zksync - https://github.com/ReggieRumsfeld/zksync - and override the dependency.
However, there is an other issue I can't get past; it seems to boil down to the zinc-types/franklin-crypto mod being dependent on two versions of the "num" crate. I'm getting E0277 errors for the fee and msg structs and a "mismatched types" error: expected struct
num::BigUint, found a different struct
num::BigUint - note: perhaps two different versions of crate
num_bigint are being used?
require (zksync::msg.sender == self.owner, "Only Owner is entitled!");
truffleor a system alike.
updateof the contract
simple_price_oracle v0.2.7with address 0xea9419fa3cf9c66ef250e474db596575986cad48 on network