Closed ctindogaru closed 2 years ago
Closing this as I've just realised that if you're creating 2 SetStakingContract
proposals simultaneously, approve the first one and then approve the second one, the second one will succeed although it should not since the staking id has already been set in the first one.
Remove unnecessary overhead. The validation already happens here: https://github.com/near-daos/sputnik-dao-contract/blob/main/sputnikdao2/src/proposals.rs#L442-L445