Open
Description
t=2025-03-24T23:49:00+0000 lvl=info msg="http: panic serving 192.168.97.1:65325: runtime error: integer divide by zero\ngoroutine 90 [running]:\nnet/http.(*conn).serve.func1()\n\t/usr/local/go/src/net/http/server.go:1903 +0xb0\npanic({0x114fa80?, 0x1fb2940?})\n\t/usr/local/go/src/runtime/panic.go:770 +0x124\ngithub.com/Layr-Labs/eigenda/core.RoundUpDivide[...](...)\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/core/utils.go:21\ngithub.com/Layr-Labs/eigenda/api/clients/v2.(*Accountant).SymbolsCharged(...)\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/accountant.go:155\ngithub.com/Layr-Labs/eigenda/api/clients/v2.(*Accountant).BlobPaymentInfo(0x4010000000000000?, {0x4010000000000000?, 0x400004e948?}, 0x4979dc?, {0x400ed88700?, 0x3ff00000159943ef?, 0x159943ef0004e958?}, 0x67e1ef6c?)\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/accountant.go:78 +0x660\ngithub.com/Layr-Labs/eigenda/api/clients/v2.(*Accountant).AccountBlob(0x400ed92310, {0x170fc18?, 0x400057a1c0?}, 0x182fe210477c7bef, 0x2?, {0x400ed88700?, 0x400004ea08?, 0xf?})\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/accountant.go:128 +0x48\ngithub.com/Layr-Labs/eigenda/api/clients/v2.(*disperserClient).DisperseBlob(0x4000680620, {0x170fc18, 0x400057a1c0}, {0x400ec1cc00, 0x200, 0x200}, 0x0, {0x400ed88700, 0x2, 0x20})\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/disperser_client.go:149 +0x264\ngithub.com/Layr-Labs/eigenda/api/clients/v2/payloaddispersal.(*PayloadDisperser).SendPayload(0x400069baa0, {0x170fb70, 0x400f17e120}, 0xf57abc?)\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/payloaddispersal/payload_disperser.go:85 +0x1f8\ngithub.com/Layr-Labs/eigenda-proxy/store/generated_key/v2.Store.Put.func1()\n\t/app/store/generated_key/v2/eigenda.go:78 +0x2c\ngithub.com/avast/retry-go/v4.DoWithData[...](0x400004f3c8?, {0x400004f3b0, 0x3, 0x0})\n\t/go/pkg/mod/github.com/avast/retry-go/[email protected]/retry.go:180 +0x550\ngithub.com/Layr-Labs/eigenda-proxy/store/generated_key/v2.Store.Put({0x3, {0x1718ce0, 0x4000138b18}, 0x400069baa0, {0x1704c20, 0x400f158d80}, {0x170c8b8, 0x400057ebd0}}, {0x170fb70, 0x400f17e120}, ...)\n\t/app/store/generated_key/v2/eigenda.go:76 +0x190\ngithub.com/Layr-Labs/eigenda-proxy/store.(*Manager).putEigenDAMode(0x400004f568?, {0x170fb70?, 0x400f17e120?}, {0x400ec1c000?, 0x400004f501?, 0x40f5a4?})\n\t/app/store/manager.go:182 +0x3c\ngithub.com/Layr-Labs/eigenda-proxy/store.(*Manager).Put(0x400f1b8cc0, {0x170fb70, 0x400f17e120}, {0x12f416b?, 0x400f0e5808?}, {0x0?, 0x1?, 0x400f17ff80?}, {0x400ec1c000, 0x133, ...})\n\t/app/store/manager.go:146 +0xb4\ngithub.com/Layr-Labs/eigenda-proxy/server.(*Server).handlePostShared(0x400f1d2a80, {0x170c7c8, 0x400ed4c030}, 0x4000001560, {0x0, 0x0, 0x0}, {{0x12f416b, 0x8}, 0x1})\n\t/app/server/handlers.go:202 +0x3b0\ngithub.com/Layr-Labs/eigenda-proxy/server.(*Server).handlePostStdCommitment(0x4000112300?, {0x170c7c8?, 0x400ed4c030?}, 0x4?)\n\t/app/server/handlers.go:142 +0x40\ngithub.com/Layr-Labs/eigenda-proxy/server.(*Server).RegisterRoutes.withMetrics.func8({0x170c7c8, 0x400ed4c018}, 0x4000001560)\n\t/app/server/middleware.go:50 +0x94\ngithub.com/Layr-Labs/eigenda-proxy/server.(*Server).RegisterRoutes.withLogging.func9({0x170cc80, 0x400f080000}, 0x4000001560)\n\t/app/server/middleware.go:84 +0x84\nnet/http.HandlerFunc.ServeHTTP(0x4000001200?, {0x170cc80?, 0x400f080000?}, 0x2?)\n\t/usr/local/go/src/net/http/server.go:2171 +0x38\ngithub.com/gorilla/mux.(*Router).ServeHTTP(0x4000492fc0, {0x170cc80, 0x400f080000}, 0x400f15ab40)\n\t/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 +0x194\nnet/http.serverHandler.ServeHTTP({0x170a7e0?}, {0x170cc80?, 0x400f080000?}, 0x6?)\n\t/usr/local/go/src/net/http/server.go:3142 +0xbc\nnet/http.(*conn).serve(0x400ec24750, {0x170fb70, 0x400f1f0960})\n\t/usr/local/go/src/net/http/server.go:2044 +0x508\ncreated by net/http.(*Server).Serve in goroutine 137\n\t/usr/local/go/src/net/http/server.go:3290 +0x3f0"
eigenda-proxy | Mar 24 23:49:10.403 INF server/handlers.go:191 Processing POST request commitment="" meta="{Mode:standard Version:1}"
eigenda-proxy | t=2025-03-24T23:49:11+0000 lvl=info msg="http: panic serving 192.168.97.1:49802: runtime error: integer divide by zero\ngoroutine 258 [running]:\nnet/http.(*conn).serve.func1()\n\t/usr/local/go/src/net/http/server.go:1903 +0xb0\npanic({0x114fa80?, 0x1fb2940?})\n\t/usr/local/go/src/runtime/panic.go:770 +0x124\ngithub.com/Layr-Labs/eigenda/core.RoundUpDivide[...](...)\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/core/utils.go:21\ngithub.com/Layr-Labs/eigenda/api/clients/v2.(*Accountant).SymbolsCharged(...)\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/accountant.go:155\ngithub.com/Layr-Labs/eigenda/api/clients/v2.(*Accountant).BlobPaymentInfo(0x4010000000000000?, {0x4010000000000000?, 0x4000796948?}, 0x4979dc?, {0x400ed88700?, 0x3ff0000011c3cf57?, 0x11c3cf5700796958?}, 0x67e1ef77?)\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/accountant.go:78 +0x660\ngithub.com/Layr-Labs/eigenda/api/clients/v2.(*Accountant).AccountBlob(0x400ed92310, {0x170fc18?, 0x400057e150?}, 0x182fe212d34db557, 0x2?, {0x400ed88700?, 0x4000796a08?, 0x561070?})\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/accountant.go:128 +0x48\ngithub.com/Layr-Labs/eigenda/api/clients/v2.(*disperserClient).DisperseBlob(0x4000680620, {0x170fc18, 0x400057e150}, {0x4010432a00, 0x200, 0x200}, 0x0, {0x400ed88700, 0x2, 0x20})\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/disperser_client.go:149 +0x264\ngithub.com/Layr-Labs/eigenda/api/clients/v2/payloaddispersal.(*PayloadDisperser).SendPayload(0x400069baa0, {0x170fb70, 0x400f096120}, 0xf57abc?)\n\t/go/pkg/mod/github.com/!layr-!labs/[email protected]/api/clients/v2/payloaddispersal/payload_disperser.go:85 +0x1f8\ngithub.com/Layr-Labs/eigenda-proxy/store/generated_key/v2.Store.Put.func1()\n\t/app/store/generated_key/v2/eigenda.go:78 +0x2c\ngithub.com/avast/retry-go/v4.DoWithData[...](0x40007973c8?, {0x40007973b0, 0x3, 0x0})\n\t/go/pkg/mod/github.com/avast/retry-go/[email protected]/retry.go:180 +0x550\ngithub.com/Layr-Labs/eigenda-proxy/store/generated_key/v2.Store.Put({0x3, {0x1718ce0, 0x4000138b18}, 0x400069baa0, {0x1704c20, 0x400f158d80}, {0x170c8b8, 0x400057ebd0}}, {0x170fb70, 0x400f096120}, ...)\n\t/app/store/generated_key/v2/eigenda.go:76 +0x190\ngithub.com/Layr-Labs/eigenda-proxy/store.(*Manager).putEigenDAMode(0x4000797568?, {0x170fb70?, 0x400f096120?}, {0x4010432000?, 0x4000797501?, 0x40f5a4?})\n\t/app/store/manager.go:182 +0x3c\ngithub.com/Layr-Labs/eigenda-proxy/store.(*Manager).Put(0x400f1b8cc0, {0x170fb70, 0x400f096120}, {0x12f416b?, 0x400e87f808?}, {0x0?, 0x1?, 0x400f097f80?}, {0x4010432000, 0x133, ...})\n\t/app/store/manager.go:146 +0xb4\ngithub.com/Layr-Labs/eigenda-proxy/server.(*Server).handlePostShared(0x400f1d2a80, {0x170c7c8, 0x400f0ccd50}, 0x400ed9a360, {0x0, 0x0, 0x0}, {{0x12f416b, 0x8}, 0x1})\n\t/app/server/handlers.go:202 +0x3b0\ngithub.com/Layr-Labs/eigenda-proxy/server.(*Server).handlePostStdCommitment(0x4000112300?, {0x170c7c8?, 0x400f0ccd50?}, 0x4?)\n\t/app/server/handlers.go:142 +0x40\ngithub.com/Layr-Labs/eigenda-proxy/server.(*Server).RegisterRoutes.withMetrics.func8({0x170c7c8, 0x400f0ccd38}, 0x400ed9a360)\n\t/app/server/middleware.go:50 +0x94\ngithub.com/Layr-Labs/eigenda-proxy/server.(*Server).RegisterRoutes.withLogging.func9({0x170cc80, 0x400014e000}, 0x400ed9a360)\n\t/app/server/middleware.go:84 +0x84\nnet/http.HandlerFunc.ServeHTTP(0x400ed9a240?, {0x170cc80?, 0x400014e000?}, 0x2?)\n\t/usr/local/go/src/net/http/server.go:2171 +0x38\ngithub.com/gorilla/mux.(*Router).ServeHTTP(0x4000492fc0, {0x170cc80, 0x400014e000}, 0x40000019e0)\n\t/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 +0x194\nnet/http.serverHandler.ServeHTTP({0x170a7e0?}, {0x170cc80?, 0x400014e000?}, 0x6?)\n\t/usr/local/go/src/net/http/server.go:3142 +0xbc\nnet/http.(*conn).serve(0x400f15c360, {0x170fb70, 0x400f1f0960})\n\t/usr/local/go/src/net/http/server.go:2044 +0x508\ncreated by net/http.(*Server).Serve in goroutine 137\n\t/usr/local/go/src/net/http/server.go:3290 +0x3f0"
Metadata
Metadata
Assignees
Labels
No labels