mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-03 23:02:55 +00:00
core: 5 ether block reward
This commit is contained in:
parent
16a3a4303f
commit
8c0619d29c
2 changed files with 9 additions and 1 deletions
|
|
@ -93,5 +93,5 @@ func ExampleGenerateChain() {
|
||||||
// last block: #5
|
// last block: #5
|
||||||
// balance of addr1: 989000
|
// balance of addr1: 989000
|
||||||
// balance of addr2: 10000
|
// balance of addr2: 10000
|
||||||
// balance of addr3: 5906250000000001000
|
// balance of addr3: 19687500000000001000
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,18 @@
|
||||||
package tests
|
package tests
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"math/big"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/ethereum/go-ethereum/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
// XXX remove me when block tests have been updated
|
||||||
|
core.BlockReward = big.NewInt(1.5e+18)
|
||||||
|
}
|
||||||
|
|
||||||
func TestBcValidBlockTests(t *testing.T) {
|
func TestBcValidBlockTests(t *testing.T) {
|
||||||
err := RunBlockTest(filepath.Join(blockTestDir, "bcValidBlockTest.json"), BlockSkipTests)
|
err := RunBlockTest(filepath.Join(blockTestDir, "bcValidBlockTest.json"), BlockSkipTests)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue