dymint icon indicating copy to clipboard operation
dymint copied to clipboard

seg fault

Open danwt opened this issue 9 months ago • 1 comments

Getting Celestia extended headers via RPC call[]  module=celestia
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x28 pc=0x106ff51a8]

goroutine 70 [running]:
github.com/dymensionxyz/dymint/da/celestia.(*DataAvailabilityLayerClient).getDataAvailabilityHeaders(0x14000bfe0f0, 0x149bd5)
	/Users/danwt/Documents/dym/d-dymint/da/celestia/celestia.go:641 +0x88

I think rpc can be nil here https://github.com/dymensionxyz/dymint/blob/61630eb458197abe2440a81426210000dff25d40/da/celestia/celestia.go#L641

danwt avatar May 02 '24 11:05 danwt

I lost the rest of the log

43e2d96

danwt avatar May 02 '24 11:05 danwt

bug fixed in https://github.com/dymensionxyz/dymint/pull/857

srene avatar Jun 05 '24 19:06 srene