Suhas Aggarwal
Suhas Aggarwal
``` govet linter reporting a copied mutex ----------------------------------------------------- evm/loomethdb.go:126:29: Dump passes lock by value: log.Logger contains sync.Mutex (govet) func (b *batch) Dump(logger log.Logger) { ^ evm/loomethdb.go:225:16: call of b.batch.Dump copies...
Some discussion in this context - https://github.com/golang/go/issues/13675
integration_tests/ethcoin_evm_test.go:254: G105: Use of math/big.Int.Exp function should be audited for modulus == 0 (gosec) ret.Exp(ret, big.NewInt(n), nil) migrations/migration_test.go:64: G105: Use of math/big.Int.Exp function should be audited for modulus == 0...
https://securego.io/docs/rules/g101.html - Generates a false positive,warning can be suppressed cmd/loom/gateway/query_cmds.go:150: G101: Potential hardcoded credentials (gosec) ``` const queryUnclaimedTokensCmdExample = ` # Show unclaimed LOOM in the DAppChain Gateway deposited by...
PR for the same which was merged earlier - https://github.com/loomnetwork/loomchain/pull/1057