build: github actions (#346)

* add workflows

* fix

* fix lint

* rpc tests

* build and format

* fix build errors

* remove dontcover

* update importer test

* more fixes

* lint

* split importer test

* fix

* remove tmp dir

* revert

* comment test import
This commit is contained in:
Federico Kunze
2020-06-26 18:26:55 -04:00
committed by GitHub
parent e9c494cf71
commit edf4357176
15 changed files with 353 additions and 194 deletions
+2 -3
View File
@@ -131,7 +131,7 @@ func createAndTestGenesis(t *testing.T, cms sdk.CommitMultiStore, ak auth.Accoun
}
}
// get balance of one of the genesis account having 200 ETH
// get balance of one of the genesis account having 400 ETH
b := stateDB.GetBalance(genInvestor)
require.Equal(t, "200000000000000000000", b.String())
@@ -206,8 +206,7 @@ func TestImportBlocks(t *testing.T) {
blockchainInput, err := os.Open(flagBlockchain)
require.Nil(t, err)
// nolint: gosec
defer blockchainInput.Close()
defer require.NoError(t, blockchainInput.Close())
// ethereum mainnet config
chainContext := core.NewChainContext()