Skip to content

Commit

Permalink
update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
fschoell committed Jun 18, 2024
1 parent 9e11977 commit e11c380
Show file tree
Hide file tree
Showing 5 changed files with 104,347 additions and 104,108 deletions.
3 changes: 0 additions & 3 deletions codec/antelope/eos_to_proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ func BlockHeaderExtensionsToDEOS(in []*eos.Extension) ([]*pbantelope.BlockHeader
res := make([]*pbantelope.BlockHeaderExtension, 0, len(in))
for _, extension := range in {

extJson, _ := json.Marshal(extension)
fmt.Println(string(extJson))

ext, err := extension.AsBlockHeaderExtension("EOS")
if err != nil {
return nil, fmt.Errorf("unable to convert to block header extension: %w", err)
Expand Down
4 changes: 1 addition & 3 deletions codec/consolereader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ func TestParseFromFile(t *testing.T) {
// includeBlock func(block *pbantelope.Block) bool
// readerOptions []ConsoleReaderOption
}{
// {"full", "testdata/deep-mind.dmlog", /*nil nil*/},
{"full-3.1.x", "testdata/deep-mind-3.1.x.dmlog", false /*nil, nil*/},
{"full-5.0.x", "testdata/deep-mind-5.0.x.dmlog", false /*nil, nil*/},
{"dmlog", "testdata/dm.log", true /*nil, nil*/},
{"full-spring-1.0.x", "testdata/deep-mind-spring-1.0.x.dmlog", false /*nil, nil*/},
// {"max-console-log", "testdata/deep-mind.dmlog", blockWithConsole /*[]ConsoleReaderOption{LimitConsoleLength(10)}*/},
{"full-spring-1.0.x-pre-savanna", "testdata/deep-mind-spring-1.0.x-pre-savanna.dmlog", false /*nil, nil*/},
}

for _, test := range tests {
Expand Down
File renamed without changes.
Loading

0 comments on commit e11c380

Please sign in to comment.