-
Notifications
You must be signed in to change notification settings - Fork 189
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #311 +/- ##
==========================================
Coverage ? 24.91%
==========================================
Files ? 11
Lines ? 578
Branches ? 0
==========================================
Hits ? 144
Misses ? 410
Partials ? 24 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @zramsay, LGTM except for one request.
cmd/utils/parse_test.go
Outdated
g := new(core.Genesis) | ||
if err := json.Unmarshal(defaultGenesisBlob, g); err != nil { | ||
log.Fatalf("parsing defaultGenesis: %v", err) | ||
} | ||
return g | ||
}() | ||
|
||
func bigString(s string) *big.Int { | ||
func bigString() *big.Int { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure we should change this, as it is there for convenience despite not using another string except "10000000000000000000000000000000000"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i just go by the linting suggestions. if you think it's better to // nolint
then we can
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep it how it is and add // nolint
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the change with the bigString
function. Otherwise LGTM
cmd/utils/parse_test.go
Outdated
g := new(core.Genesis) | ||
if err := json.Unmarshal(defaultGenesisBlob, g); err != nil { | ||
log.Fatalf("parsing defaultGenesis: %v", err) | ||
} | ||
return g | ||
}() | ||
|
||
func bigString(s string) *big.Int { | ||
func bigString() *big.Int { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep it how it is and add // nolint
.
b424c14
to
8a21433
Compare
done |
8a21433
to
d1f02e2
Compare
@zramsay The problem remains, that circle ci does not have enough memory to run the entire linter. Either we have to turn some of these off for now or we really need to upgrade circle. |
weird. I've had no problems running linter in other repos ... |
Ethermint is a really large codebase with its dependencies. It might be something else. @zramsay Can you investigate this and see if you can get CircleCi to pass because I think this PR is super helpful for code quality. |
a0214be
to
92fcd85
Compare
1e512f6
to
61d23fb
Compare
* linter: run it during CI * Break import cycle in ethereum package * Disable all linters and enable only unused
* linter: run it during CI * Break import cycle in ethereum package * Disable all linters and enable only unused
* linter: run it during CI * Break import cycle in ethereum package * Disable all linters and enable only unused
* linter: run it during CI * Break import cycle in ethereum package * Disable all linters and enable only unused
* linter: run it during CI * Break import cycle in ethereum package * Disable all linters and enable only unused
* linter: run it during CI * Break import cycle in ethereum package * Disable all linters and enable only unused
* vuepress * docs: vuepress setup and TODOs * doc scripts * update Makefile and gitignore * more docs updates * gitignore * metamask instructions * update image * updates * updates from call * docs: vuepress config and home.vue (cosmos#350) * update uncles return (cosmos#337) * x/evm: fix EndBlock consensus failure (cosmos#334) * add test for sending tx w/ 21000 gas * improve rpc transfer test * use ctx in EndBlock * UpdateAccounts and ClearStateObjects with passed in context * log ethereum address on error Co-authored-by: Federico Kunze <[email protected]> Co-authored-by: Federico Kunze <[email protected]> * update Ethermint color variables * add header and footer logo * tweak config.js * WIP custom homepage.vue * add layout to docs/README * update color variables * add eth logo black and white * tweak docs/README * update logo and logo-bw svg * bump 1.0.167 * homepage → home * add icon-code, icon-rocket * layout: home, remove configurable frontmatter: label, read, use * clean up config.js * bump 1.0.168 * fix missing comma from resolving conflicts * update sidebar, config nav, path * remove left whitespace on the header and footer logos * clean up home.vue, docs/README * update ethermint forum url in footer.links * comment out custom true to enable searchbar in subpages * remove external link icon for Guides * comments, revert custom true * clean up config.js, add specifications icon Co-authored-by: noot <[email protected]> Co-authored-by: Federico Kunze <[email protected]> Co-authored-by: Federico Kunze <[email protected]> * final touches Co-authored-by: Cyrus Goh <[email protected]> Co-authored-by: noot <[email protected]>
and address a few fixes