Skip to content

Commit

Permalink
blockchain.go: updated GetExternalBlockTraceSet with proper iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorwick committed Jul 6, 2022
2 parents 57cae51 + b831c78 commit fa2ee14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions core/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ func MainnetPrimeGenesisBlock() *Genesis {
Config: params.MainnetPrimeChainConfig,
ParentHash: []common.Hash{common.Hash{}, common.Hash{}, common.Hash{}},
Number: []*big.Int{big.NewInt(0), big.NewInt(0), big.NewInt(0)},
Nonce: 59,
Nonce: 60,
ExtraData: [][]byte{hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa")},
GasLimit: []uint64{500000, 500000, 500000},
GasUsed: []uint64{0, 0, 0},
Expand All @@ -366,7 +366,7 @@ func MainnetRegionGenesisBlock(regionParams *params.ChainConfig) *Genesis {
Config: regionParams,
ParentHash: []common.Hash{common.Hash{}, common.Hash{}, common.Hash{}},
Number: []*big.Int{big.NewInt(0), big.NewInt(0), big.NewInt(0)},
Nonce: 59,
Nonce: 60,
ExtraData: [][]byte{hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa")},
GasLimit: []uint64{500000, 500000, 500000},
GasUsed: []uint64{0, 0, 0},
Expand All @@ -381,7 +381,7 @@ func MainnetZoneGenesisBlock(zoneParams *params.ChainConfig) *Genesis {
Config: zoneParams,
ParentHash: []common.Hash{common.Hash{}, common.Hash{}, common.Hash{}},
Number: []*big.Int{big.NewInt(0), big.NewInt(0), big.NewInt(0)},
Nonce: 59,
Nonce: 60,
ExtraData: [][]byte{hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa")},
GasLimit: []uint64{500000, 500000, 500000},
GasUsed: []uint64{0, 0, 0},
Expand Down
6 changes: 3 additions & 3 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import (

// Genesis hashes to enforce below configs on.
var (
MainnetPrimeGenesisHash = common.HexToHash("0x8dd9cfdf62bc5d7a0401d2b525a43ddde3f3392e41b443be1628057193812f0e")
MainnetRegionGenesisHash = common.HexToHash("0x8dd9cfdf62bc5d7a0401d2b525a43ddde3f3392e41b443be1628057193812f0e")
MainnetZoneGenesisHash = common.HexToHash("0x8dd9cfdf62bc5d7a0401d2b525a43ddde3f3392e41b443be1628057193812f0e")
MainnetPrimeGenesisHash = common.HexToHash("0x4b002e900adea19b2780353c4776e20ba02080b2477abea5b51f94616425b25d")
MainnetRegionGenesisHash = common.HexToHash("0x4b002e900adea19b2780353c4776e20ba02080b2477abea5b51f94616425b25d")
MainnetZoneGenesisHash = common.HexToHash("0x4b002e900adea19b2780353c4776e20ba02080b2477abea5b51f94616425b25d")
RopstenPrimeGenesisHash = common.HexToHash("0x9c0d89a5294e4635a49f6d4c9f9e1a361cb76bfffa71be2ff01a64f3c5dd0dcc")
RopstenRegionGenesisHash = common.HexToHash("0x9c0d89a5294e4635a49f6d4c9f9e1a361cb76bfffa71be2ff01a64f3c5dd0dcc")
RopstenZoneGenesisHash = common.HexToHash("0x9c0d89a5294e4635a49f6d4c9f9e1a361cb76bfffa71be2ff01a64f3c5dd0dcc")
Expand Down

0 comments on commit fa2ee14

Please sign in to comment.