aboutsummaryrefslogtreecommitdiffstats
path: root/les/odr_test.go
diff options
context:
space:
mode:
authorZsolt Felfoldi <zsfelfoldi@gmail.com>2019-04-05 23:01:51 +0800
committerZsolt Felfoldi <zsfelfoldi@gmail.com>2019-04-08 19:17:24 +0800
commit5515f364ae1673c1bf5569c089b5853c90ea1655 (patch)
treec220d8e953d8f075cc39d4ceb0d01d658052bd4f /les/odr_test.go
parent3996bc1ad91665ad30036713fba11840a36dfff0 (diff)
downloadgo-tangerine-5515f364ae1673c1bf5569c089b5853c90ea1655.tar
go-tangerine-5515f364ae1673c1bf5569c089b5853c90ea1655.tar.gz
go-tangerine-5515f364ae1673c1bf5569c089b5853c90ea1655.tar.bz2
go-tangerine-5515f364ae1673c1bf5569c089b5853c90ea1655.tar.lz
go-tangerine-5515f364ae1673c1bf5569c089b5853c90ea1655.tar.xz
go-tangerine-5515f364ae1673c1bf5569c089b5853c90ea1655.tar.zst
go-tangerine-5515f364ae1673c1bf5569c089b5853c90ea1655.zip
les: removed les/1 protocol messages
Diffstat (limited to 'les/odr_test.go')
-rw-r--r--les/odr_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/les/odr_test.go b/les/odr_test.go
index ac81fbcf0..bc587a183 100644
--- a/les/odr_test.go
+++ b/les/odr_test.go
@@ -38,8 +38,6 @@ import (
type odrTestFn func(ctx context.Context, db ethdb.Database, config *params.ChainConfig, bc *core.BlockChain, lc *light.LightChain, bhash common.Hash) []byte
-func TestOdrGetBlockLes1(t *testing.T) { testOdr(t, 1, 1, odrGetBlock) }
-
func TestOdrGetBlockLes2(t *testing.T) { testOdr(t, 2, 1, odrGetBlock) }
func odrGetBlock(ctx context.Context, db ethdb.Database, config *params.ChainConfig, bc *core.BlockChain, lc *light.LightChain, bhash common.Hash) []byte {
@@ -56,8 +54,6 @@ func odrGetBlock(ctx context.Context, db ethdb.Database, config *params.ChainCon
return rlp
}
-func TestOdrGetReceiptsLes1(t *testing.T) { testOdr(t, 1, 1, odrGetReceipts) }
-
func TestOdrGetReceiptsLes2(t *testing.T) { testOdr(t, 2, 1, odrGetReceipts) }
func odrGetReceipts(ctx context.Context, db ethdb.Database, config *params.ChainConfig, bc *core.BlockChain, lc *light.LightChain, bhash common.Hash) []byte {
@@ -78,8 +74,6 @@ func odrGetReceipts(ctx context.Context, db ethdb.Database, config *params.Chain
return rlp
}
-func TestOdrAccountsLes1(t *testing.T) { testOdr(t, 1, 1, odrAccounts) }
-
func TestOdrAccountsLes2(t *testing.T) { testOdr(t, 2, 1, odrAccounts) }
func odrAccounts(ctx context.Context, db ethdb.Database, config *params.ChainConfig, bc *core.BlockChain, lc *light.LightChain, bhash common.Hash) []byte {
@@ -108,8 +102,6 @@ func odrAccounts(ctx context.Context, db ethdb.Database, config *params.ChainCon
return res
}
-func TestOdrContractCallLes1(t *testing.T) { testOdr(t, 1, 2, odrContractCall) }
-
func TestOdrContractCallLes2(t *testing.T) { testOdr(t, 2, 2, odrContractCall) }
type callmsg struct {