Skip to content

Commit

Permalink
rename testfiles for opstack
Browse files Browse the repository at this point in the history
  • Loading branch information
msf committed Jul 29, 2024
1 parent 9786d69 commit 49034df
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions client/jsonrpc/opstack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ import (
)

func TestOpStackBasic(t *testing.T) {
getBlockByNumberResponse := readFileForTest("testdata/opstack-eth_getBlockByNumber.json")
getBlockReceiptsResponse := readFileForTest("testdata/opstack-eth_getBlockReceipts.json")
debugtraceBlockByNumberResponse := readFileForTest("testdata/opstack-debug_traceBlockByNumber.json")
getBlockByNumberResponse := readFileForTest(
"testdata/opstack-MODE-block-0x7a549b-eth_getBlockByNumber.json")
getBlockReceiptsResponse := readFileForTest(
"testdata/opstack-MODE-block-0x7a549b-eth_getBlockReceipts.json")
debugtraceBlockByNumberResponse := readFileForTest(
"testdata/opstack-MODE-block-0x7a549b-debug_traceBlockByNumber.json")

var expectedPayload bytes.Buffer
expectedPayload.Write(getBlockByNumberResponse.Bytes())
Expand Down

0 comments on commit 49034df

Please sign in to comment.