Emmanuel T Odeke
Emmanuel T Odeke
A nicer option would be to use a field say "nonce" which is generated randomly and that should solve this problem without requiring locks and tracking instance counts.
Sounds good and thank you for filing this request @johnsaigle, I shall work on it.
@kirbyquerby we could even purposefully just detect the pattern where a .(types.Dec) was cast from an interface{} value and from that ensure that firstly .IsNil() was invoked.
* missing Unlock when you have a mutex.Lock() for example ```go mu.Lock() defer mu.Lock() ``` * an explicitly requested pass say by a comment before a function/method, that ensures that...
@ebuchman we've got a fix #5 for this huge problem https://github.com/cosmos/cosmos-sdk/issues/10188 fixed by PR https://github.com/cosmos/cosmos-sdk/pull/10189. I think we might get utility for the entire cosmos-sdk by releasing some of these.
@ebuchman I've documented our rules in https://github.com/informalsystems/gosec/pull/6
Howdy @ec-m @dave @griesemer! Thank you for filing, and investigating this bug, @ec-m. I'd say please go for it, please mail that change; @griesemer's plate is heavily stacked, but with...
One thing that we could incorporate is the ability for validators to make a secure call to RoughTime https://blog.cloudflare.com/roughtime or even gossip as much together about the latest time on...
I have created a package https://github.com/orijtech/rtset which I can gladly donate to the Cosmos community (I just needed to stand it up at some location) but importing it and using...
Howdy my good ole folks @ngsilverman @indragiek! Just chiming in, with a question and perhaps a remedy. Can we perhaps check for program counters and/or function pointers to detect loops?...