Skip to content

Commit

Permalink
Merge pull request #126 from getamis/downgrade-1.8.19
Browse files Browse the repository at this point in the history
Downgrade 1.8.19
  • Loading branch information
markya0616 authored Jan 16, 2019
2 parents 3ddf731 + b553417 commit 80b89ca
Show file tree
Hide file tree
Showing 91 changed files with 5,922 additions and 1,719 deletions.
10 changes: 5 additions & 5 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
[[override]]
name = "github.com/ethereum/go-ethereum"
source = "github.com/getamis/go-ethereum"
branch = "indexer-1.8.20"
branch = "indexer-1.8.19"

[[constraint]]
name = "github.com/getamis/sirius"
Expand Down
2 changes: 1 addition & 1 deletion common/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func AccumulateRewards(header *types.Header, uncles []*types.Header) (minerBaseR
if params.MainnetChainConfig.ByzantiumBlock.Cmp(header.Number) <= 0 {
minerBaseReward = ethash.ByzantiumBlockReward
}
if params.MainnetChainConfig.ConstantinopleBlock.Cmp(header.Number) <= 0 {
if params.MainnetChainConfig.ConstantinopleBlock != nil && params.MainnetChainConfig.ConstantinopleBlock.Cmp(header.Number) <= 0 {
minerBaseReward = ethash.ConstantinopleBlockReward
}

Expand Down
1 change: 1 addition & 0 deletions common/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
)

func TestAccumulateRewards(t *testing.T) {
t.Skip("skip this test because of constantinople postpone")
byzantiumBlock := big.NewInt(5862127)
constantinopleBlock := big.NewInt(7162127)
tests := []struct {
Expand Down
2 changes: 1 addition & 1 deletion vendor/github.com/ethereum/go-ethereum/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 12 additions & 7 deletions vendor/github.com/ethereum/go-ethereum/accounts/abi/argument.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 9 additions & 49 deletions vendor/github.com/ethereum/go-ethereum/accounts/abi/type.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions vendor/github.com/ethereum/go-ethereum/cmd/evm/runner.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions vendor/github.com/ethereum/go-ethereum/cmd/geth/config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions vendor/github.com/ethereum/go-ethereum/cmd/geth/main.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion vendor/github.com/ethereum/go-ethereum/cmd/geth/usage.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 80b89ca

Please sign in to comment.