Commit Graph

27 Commits

Author SHA1 Message Date
Martin HS 34858f7ec6
go: pass blobs by ref instead of value (#393) 2024-03-06 15:40:53 -06:00
Justin Traglia d637761a2e
Use official trusted setup (#377) 2023-10-18 13:31:55 -05:00
Justin Traglia 7b500394f0
Remove go bindings example (#341) 2023-08-16 00:08:54 +03:00
Justin Traglia 9d85ed8b19
Upgrade blst to v0.3.11 (#330)
* Upgrade blst to v0.3.11

* Update blst headers in Go bindings
2023-08-10 12:53:42 +01:00
Justin Traglia 5019e3a08d
[Go] Make UnmarshalText funcs safer (#306)
* [Go] Make UnmarshalText funcs safer

* Run apt update in C# tests
2023-05-25 14:40:21 +03:00
Justin Traglia 3adec442de
Switch to big-endian (#305) 2023-05-24 08:44:05 -05:00
Justin Traglia b9ae77d6d2
Update c-kzg-4844 version in Go bindings example (#303) 2023-05-12 17:24:15 +03:00
Justin Traglia 64af10e37b
[Go] Clean things up a bit (#282) 2023-04-10 08:03:36 -05:00
Justin Traglia fe857cb3b9
Update blst and remove hacks (#281) 2023-04-07 07:58:17 -05:00
Justin Traglia 928fd9d9b7
[Go] Allow minimal preset (#283) 2023-04-07 07:57:48 -05:00
Justin Traglia ae2db332a5
[Go] Use BYTES_PER_G* instead of 48/96 (#284) 2023-04-07 07:57:27 -05:00
Justin Traglia 6b9b636c1b
Update Go bindings example (#273) 2023-03-31 13:38:35 +09:00
Justin Traglia f942864765
Replace CKZGRet with error in go bindings (#252) 2023-03-29 19:33:15 -05:00
Justin Traglia c448e9bfcc
Fix minor memleak in Go bindings (#241)
* Fix minor memleak in Go bindings

* Move fclose back to after nil check

* Move it to correct spot, ugh
2023-03-24 22:50:15 +09:00
Justin Traglia 861371629e
Rename CKzgRet to CKZGRet for consistency (#240) 2023-03-22 19:38:14 +02:00
Justin Traglia ee218752c0
Add example for go bindings (#238)
* Add example for go bindings

* Remove clean cmd & do go mod tidy
2023-03-22 12:28:42 +02:00
Justin Traglia 5580f355ae
Add ref test count checks for all bindings (#211) 2023-03-15 16:39:19 +02:00
Justin Traglia db2fa8dcdb
Run each reference test individually in Go (#180)
* Run each reference test individually in Go

* Fix other merge conflict issues
2023-03-08 16:14:39 +02:00
Justin Traglia 9e72862198
Allow invalid length inputs in go tests (#175)
* Allow invalid length inputs in go tests

* Revert output type to original
2023-03-08 15:30:09 +02:00
Justin Traglia b71746df74
Update Compute*KZGProof in go bindings (#181) 2023-03-08 13:45:54 +02:00
Justin Traglia aaaacf7432
Update go bindings to support YAML ref tests (#163)
* Update go bindings to support YAML reference tests

* Remove refs to inputValue/claimedValue

* Do not panic if given different length lists
2023-03-06 12:04:29 +02:00
Justin Traglia a231d5354b
Update go bindings (#142)
* Update go bindings

* Fix some nits
2023-02-20 16:01:31 +00:00
Justin Traglia 5c1128e380
Add profiling (#124)
* Start to add profiling

* Add include flags for macos

* Add profiling funcs for the other funcs

* Add profiling readme

* Move sentence

* Add warning section

* Make run_profiler phony

* Delete extra empty lines

* Add line about box size

* No more dropped nodes/edges

* Remove function focus

* Add sha256 benchmark

* Benchmark sha256 with different sizes

* Clean things up a little
2023-02-10 20:33:32 +00:00
Justin Traglia 5a3e294beb
Update go get instructions (#125) 2023-02-10 08:01:30 +00:00
Justin Traglia 3ec2e9cdc2
Update go get command in instructions (#90) 2023-01-27 10:30:01 +00:00
Justin Traglia 877e6a43d3
Move go.mod & go.sum to repo root (#88)
* Move go.mod & go.sum to repo root

* Add note to README
2023-01-26 22:42:56 +00:00
Justin Traglia 71dd9574d6
Add go bindings (#77)
* Add go bindings

* Use Bytes32 type

* Update blst package

* Add binding for compute_kzg_proof

* Use bytes-only input (will fail)

* Fix go bindings tests

* Use better blobs for benchmarks

* Move rand* funcs to helpers & add comment

* Add headers check
2023-01-26 17:04:24 +00:00