ipld-eth-server/vendor/github.com/vulcanize/eth-block-extractor/test_helpers/fakes.go
2019-12-02 13:24:46 -06:00

15 lines
612 B
Go

package test_helpers
import (
"errors"
"github.com/ethereum/go-ethereum/common"
)
var (
FakeError = errors.New("failed")
FakeHash = common.HexToHash("0x123")
FakeString = "Test"
FakeTrieNodes = [][]byte{{1, 1, 1, 1, 1}, {2, 2, 2, 2, 2}, {3, 3, 3, 3, 3}}
FakeTrieNode = []byte{248, 68, 1, 128, 160, 6, 180, 135, 209, 92, 2, 139, 109, 245, 108, 62, 187, 155, 112, 134, 150, 94, 186, 58, 36, 8, 87, 166, 71, 250, 236, 226, 255, 19, 38, 159, 43, 160, 206, 51, 34, 13, 92, 127, 13, 9, 215, 92, 239, 247, 108, 5, 134, 60, 94, 125, 110, 128, 28, 112, 223, 231, 213, 212, 93, 76, 68, 232, 6, 84}
)