Skip to content

Commit

Permalink
Fix fuzztime and fmt error
Browse files Browse the repository at this point in the history
  • Loading branch information
ImTei committed Jan 16, 2025
1 parent 6790b93 commit a83fe20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test: build
.PHONY: test

fuzz-syscalls: build
go test -run NOTAREALTEST -v -fuzztime 1000s -fuzz=FuzzEverything ./rvgo/test --parallel 15
go test -run NOTAREALTEST -v -fuzztime 100s -fuzz=FuzzEverything ./rvgo/test --parallel 15
.PHONY: fuzz-syscalls

OP_PROGRAM_PATH ?= $(MONOREPO_ROOT)/op-program/bin-riscv/op-program-client-riscv.elf
Expand Down
1 change: 0 additions & 1 deletion rvgo/test/syscall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,6 @@ func StatePreimageWrite(t *testing.T, addr uint64, heap uint64, preimageOffset u
if preimageOffset >= uint64(len(preimageData)) {
t.SkipNow()
}
heap = uint64(0x7f_00_00_00_00_00)
if addr < heap {
// to avoid override code space
addr = heap + addr%(0xff_ff_ff_ff_ff_ff_ff_ff-heap)
Expand Down

0 comments on commit a83fe20

Please sign in to comment.