Closed devwckd closed 3 weeks ago
@Supremesource or @saiintbrisson pls run benchmarks for me and fix the pallet calls if possible, I cant run them, thanks :D
Fix the ensures please. Also you need to check if the person calling both extrinsic is acutally a subnet owner of that netuid, you don't do this now
@Supremesource doesn't this work?
let params = Self::subnet_params(netuid);
ensure!(params.founder == key, Error::<T>::NotFounder);
Fix the ensures please. Also you need to check if the person calling both extrinsic is acutally a subnet owner of that netuid, you don't do this now
@Supremesource doesn't this work?
let params = Self::subnet_params(netuid); ensure!(params.founder == key, Error::<T>::NotFounder);
Oh, yeah, it does, I must have missed that
Pull Request Checklist
Before submitting this PR, please make sure:
cargo clippy
and addressed any warningsDescription
Please provide a brief description of the changes in this PR.
Related Issues
Please link any related issues here