mirror of
https://github.com/luxfi/graph.git
synced 2026-09-24 00:26:07 +00:00
A pool reported thousands of dollars of volume over a list of trades that each said they were worth nothing. The value was already computed — the pass folds it into the pool total — and then dropped, because writing it back had once sent every row out as its own committed statement and a chain with real trade history never finished a pass. Behind one transaction fifty thousand rows take a quarter of a second, so the trades now carry the figures that add up to the total above them. Also swaps SQLite for the pure-Go build. The C driver ships its own copy of the amalgamation, and anything else in the binary carrying one collided with it at link time — 283 duplicate symbols, which took down every test in the repo on macOS. With that gone the suite runs again, and it immediately found two fixtures that never created their tables: the seeds were writing into nothing and reporting no error. Co-authored-by: Hanzo Dev <[email protected]>
53 lines
2.1 KiB
AMPL
53 lines
2.1 KiB
AMPL
module github.com/luxfi/graph
|
|
|
|
go 1.26.5
|
|
|
|
require (
|
|
github.com/hanzoai/replicate v0.6.0
|
|
github.com/hanzoai/sqlite v0.5.4
|
|
github.com/luxfi/age v1.4.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
filippo.io/hpke v0.4.0 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/go-cmp v0.6.0 // indirect
|
|
github.com/google/uuid v1.6.1-0.20241114170450-2d3c2a9cc518 // indirect
|
|
github.com/hablullah/go-hijri v1.0.2 // indirect
|
|
github.com/hablullah/go-juliandays v1.0.0 // indirect
|
|
github.com/hanzoai/csqlite v0.1.2 // indirect
|
|
github.com/hanzoai/sqlcipher v0.1.1 // indirect
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
|
github.com/jalaali/go-jalaali v0.0.0-20210801064154-80525e88d958 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/lmittmann/tint v1.1.3 // indirect
|
|
github.com/magefile/mage v1.14.0 // indirect
|
|
github.com/markusmobius/go-dateparser v1.2.4 // indirect
|
|
github.com/mattn/go-isatty v0.0.22 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.47 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.22 // indirect
|
|
github.com/prometheus/client_golang v1.17.0 // indirect
|
|
github.com/prometheus/client_model v0.5.0 // indirect
|
|
github.com/prometheus/common v0.45.0 // indirect
|
|
github.com/prometheus/procfs v0.12.0 // indirect
|
|
github.com/psanford/sqlite3vfs v0.0.0-20251127171934-4e34e03a991a // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/superfly/ltx v0.5.1 // indirect
|
|
github.com/tetratelabs/wazero v1.2.1 // indirect
|
|
github.com/wasilibs/go-re2 v1.3.0 // indirect
|
|
golang.org/x/crypto v0.54.0 // indirect
|
|
golang.org/x/sync v0.22.0 // indirect
|
|
golang.org/x/sys v0.47.0 // indirect
|
|
golang.org/x/text v0.40.0 // indirect
|
|
google.golang.org/protobuf v1.33.0 // indirect
|
|
modernc.org/libc v1.72.3 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
modernc.org/sqlite v1.51.0 // indirect
|
|
)
|