I was making parity-bridges-common compatible to the stable version of polkadot-v0.9.32
. I'm getting the error:
expected struct Weight , found integer.
Because earlier the weight in the frame-support was u64 but now it`s struct Weight
struct Weight
{
#[codec(compact)]
/// The weight of computational time used based on some reference hardware.
ref_time: u64,
#[codec(compact)]
/// The weight of storage space used by proof of validity.
proof_size: u64,
}
Can someone please guide me through this.