mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Merge branch 'master' of github.com:ethereum/go-ethereum
This commit is contained in:
commit
94e2d2a803
3 changed files with 5 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ const (
|
|||
GasExtStep uint64 = 20
|
||||
)
|
||||
|
||||
// calcGas returns the actual gas cost of the call.
|
||||
// callGas returns the actual gas cost of the call.
|
||||
//
|
||||
// The cost of gas was changed during the homestead price change HF.
|
||||
// As part of EIP 150 (TangerineWhistle), the returned gas is gas - base * 63 / 64.
|
||||
|
|
|
|||
|
|
@ -73,6 +73,9 @@ func TestDifficulty(t *testing.T) {
|
|||
dt.config("Constantinople", params.ChainConfig{
|
||||
ConstantinopleBlock: big.NewInt(0),
|
||||
})
|
||||
dt.config("EIP2384", params.ChainConfig{
|
||||
MuirGlacierBlock: big.NewInt(0),
|
||||
})
|
||||
dt.config("difficulty.json", mainnetChainConfig)
|
||||
|
||||
dt.walk(t, difficultyTestDir, func(t *testing.T, name string, test *DifficultyTest) {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit b5eb9900ee2147b40d3e681fe86efa4fd693959a
|
||||
Subproject commit 7497b116a019beb26215cbea4028df068dea06be
|
||||
Loading…
Reference in a new issue