Skip to content

Commit

Permalink
update test cases to use new dm.log from leap-boot (#86)
Browse files Browse the repository at this point in the history
* update dmlog on test cases

* increase test timeout

* update golden.json, enable strict mode

* cleanup
  • Loading branch information
fschoell authored Sep 15, 2023
1 parent 5cba10d commit b08d3a7
Show file tree
Hide file tree
Showing 7 changed files with 2,800,640 additions and 58,381 deletions.
2 changes: 1 addition & 1 deletion bin/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ usage() {
echo " -h Display help about this script"
}

main "$@"
main "$@"
7 changes: 3 additions & 4 deletions codec/consolereader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ func TestParseFromFile(t *testing.T) {
// readerOptions []ConsoleReaderOption
}{
// {"full", "testdata/deep-mind.dmlog", nil /*nil*/},
{"full-3.1.x", "testdata/deep-mind-3.1.x.dmlog", nil /*nil*/},
// {"full-3.1.x", "testdata/deep-mind-3.1.x.dmlog", nil /*nil*/},
{"dmlog", "testdata/dm.log", nil /*nil*/},
// {"max-console-log", "testdata/deep-mind.dmlog", blockWithConsole /*[]ConsoleReaderOption{LimitConsoleLength(10)}*/},
}

Expand Down Expand Up @@ -238,9 +239,7 @@ func testReaderConsoleReader(helperFunc func(), lines chan string, closer func()
globalStats: newConsoleReaderStats(),
currentBlock: &pbantelope.Block{},
currentTrace: &pbantelope.TransactionTrace{},
abiDecoder: newABIDecoder(),
// TODO re-enable this line whenever we have a dmlog for testing with valid only ABIs
// abiDecoder: newABIDecoderInStrictMode(),
abiDecoder: newABIDecoderInStrictMode(),
},
logger: zlogTest,
}
Expand Down
2,115 changes: 0 additions & 2,115 deletions codec/testdata/deep-mind.dmlog

This file was deleted.

Loading

0 comments on commit b08d3a7

Please sign in to comment.